10 2013 档案
摘要:1.给导航栏添加鼠标移上去的时候变换背景颜色的方法。1 $(function () {2 $(".nav li").mouseover(function () { 3 $(this).css("background", "url(images/nav_bg1.jpg) repeat-x");4 }).mouseout(function () {5 $(this).css("background", "url(images/nav_bg.jpg) repeat-x");6 ...
阅读全文
摘要:JQuery是JavaScript的一种封装库,它能够简化我们的开发,屏蔽浏览器之间的差异。1. $(document).ready 1 1.View Code 2.常用的两个方法。 1 View Code 3.选择器 1 View Code 4.样式操作,设置属性 1 View Code
阅读全文

浙公网安备 33010602011771号