共 3 篇文章 |
|
This is the official documentation for jQuery UI, jQuery''s visual controls. jQuery UI features a wide range of core interaction plugins as well as many UI widgets.Please visit these pages for downloading UI and many demos.Just look at the dependencies listed for each item and include the appropriate files, or... 阅109 转1 评0 公众公开 10-05-03 23:15 |
//浏览器当前窗口可视区域宽度alert($(document).width());//浏览器当前窗口文档对象宽度alert($(document.body).width());//浏览器当前窗口文档body的高度alert($(document.body).outerWidth(true));//浏览器当前窗口文档body的总宽度 包括border padding margin} 阅6127 转25 评0 公众公开 10-04-25 12:13 |
传统javascript对css的操作相当繁琐,比如<div id="a" style="background:blue">css</div>取它的background语法是:document.getElementById("a").style.background而jQuery对css更方便的操作:$("#a").background();$("#a").background("red")说明如下$("#a&qu... 阅1288 转4 评0 公众公开 10-04-25 12:13 |