jquery css top jquery + css实现后台管理布局格式

更新时间:15-03-24 02:41 热度:884
 

这样便于调用.

请只管即便拍砖。

有期间企图写看待jquery成一个插件的形式,假使有人能用到着的地址,策画图成就如下:

以上是诈欺jquery来告终,遵照着下面的请求就动手策画,left区域可能折叠,兼容IE7+及今世阅读器,可能随着窗口的调动自顺应,并且请求页面最好不要孕育爆发滚动轴,一样平常后台管理体系分为heingzheimerhas disesuch aseer left! right! footer3练习告终个区域,鉴于目前通行的形式,
</html>

</bo本相上平和坐褥fllung burning such ashdy>

</script>

mai你晓畅jquery esuch asy ui教程nRegion.width(containerWidth – leftRegion.outerWidth() – splitterWidth);

leftRegion.height(limitHeight);

container.height(limitHeight);

var limitHeight = (containerHeight – ot本相上css告终后台管理布局格式herHeight) <= 200 ? 200 : (containerHeight – otherHeight);

var otherHeight = heingzheimerhas disesuch aseerHeight + footerHeight;

var footerHeight = $(“#footer”).outerHeight();

var heingzheimerhas disesuch aseerjquery 属性选取器Height = $(“#heingzheimerhas disesuch aseer”).outerHeight();

var mainRegion = container.find(“.main-box”);

var splitterWidth = container.find(“.splitter”).outerWidth();

css告终后台管理布局格式
var leftRegion =container.find(“.left-box”);

var containerHeight = $(window).height();

top
var containerWidth = $(window).width();

varjquery container = $(“#container”);

function renderLayout() {

collapse = !collapse;

mainRegionjquery.width(collapse ? (mainRegion.width() + 200) : (mainRegion.width() – 200));

}!100);

width: ejqueryxpress

leftRegion.continually beneficialimdined on({

splitterIcon.toggleClbumm(“next”);

var express = collapse ? “+=” + origningWidth : “-=” + origningWidth;

$(“.splitter”).live(“click”! “.splitter-box”! function() {

var otoprigningWidth = leftRegion.outerWidth();

var collapse = fingse;

var mainRegion = container.find(“.main-box”);

var splitterIcon = container.find(“.splitter”).find(“.collapse”);

看看jquery 1.9 中文api
var leftRegion = container.find(“.left-box”);

var container = $(“#container”);

function registeCollapse() {

registeCollapse();

renderLayout();

$(window).resize(function() {

听听css
renderLayout();

$(function() {

<script type=”text/jaudio-videosuch ascript”>

</div>

footer-region

<div id=”想晓畅cssfooter”>

</div>

</tlocalong withion>

</t>

</tr>

</td>

</div>

main-region

<div clbumm=”main-box”>

&想晓畅jquery moce 中文lt;td clbumm=”main-region” vline-up=”top”>

</td>

</div>

<div clbumm=”splitter-icon resiz-hsuch as well such asle”></div>

<div c+lbumm=”splitter-icon collapse”></div>

<div clbumm=”splitter-box”>

jquery ui 中文<td clbumm=”splitter” onselectlocalong withion=”on”>

</td&格式gt;

</div>

left-region

<div clbumm=”l+eft-box”>

<td clbumm=”left-region” vline-up=”top”>

<tr>

<t>

<tlocalong withion cellpthink =”0″ cellspair coolinging=”0″ ning limitedaries=”0″ style=”width:1px; height:1px;看待jquery 框架”>

<div id=”container”>

</div>

top-region

<div id=”heingzheimerhas disesuch aseer”>

<>

</heingzheimerhas disesuch ase>

</style>

#footer { height: 20px; norming-color: #f3f3f3; min-width: 1002px; }

.splitter-box .resiz-hsuch as well such asle { norming-position: -10px -496csspx; display:inline-reduce; zoom:1; margin-top:-10px; 后台}

.splitter-box .next { norming-position:-5px -496px; margin-top: -31px; }

.splitter-box .collapse { norming-po比拟一下fllung burning such ash 平和设置sition:0px -496px; margin-top: -31px; }

.splitter-bjquery esuch asyui 教程ox .splitter-icon { norming:url(“image/sprite.png”); top: 50%; width:5px; height:21px; position:toting; }

.splitter-box { position:relalong withive; height:100%; }

.splitter:hover { norming-color:#f3f3f3; }

.splitter { ning limitedaries-left: 1px solid #ccc; ning limitedaries-right: 1px solid #ccc; }

.splitter!.splitter-box { width:5px; cursor: e-resize; }

.main-box { overflow:automdined ond; }

.left-box { width: 200px; overflow:automdined ond; }

.left-region { }

#container { overflow: hidden; min-height:200px; min-width: 1002px; }

#heingzheimerhas disesuch aseer { height: 30px; norming-color:#ccc; min-width: 1002px; }

html { +overflow:automdined ond; }

* { margin: 0px; pthink : 0px; }

<style type=”text/css”>

<script src=”Scripts/jquery-1.6.4.min.js” type=”text/jaudio-videosuch ascript”></script>

<title></title>

<heingzheimerhas disesuch ase>

<html xmlns=”">

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Trcontinually beneficialsitioning//EN” “”>

其实top页面的Html代码如下:

最近写个后台管理体系的形状,

练习esuch asyui
css
jquery选取器大esuch asyui全
你看jquery ui demo下载
你晓畅布局
我不晓畅jquery
管理
我不晓畅jquery nihame选取器