摘要: 自写:js轮播图 鼠标划过下方按钮,继续下一个 定时器关闭后再开启一般都会按照原来的路线继续走,不会因为你点了3而下个就会是4 $(".focus-rad>ul>li").hover( function(){ $(this).css({"background-color":"red","opacit 阅读全文
posted @ 2017-06-10 14:48 不浪_垚 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 主要用的两个方法是mouseover mouseout $("#id").mouseover(function(){}).mouseout(function(){}); 阅读全文
posted @ 2017-06-10 10:01 不浪_垚 阅读(4360) 评论(0) 推荐(0) 编辑
摘要: $(function(){ var g_index = 0; function slide_index(){ g_index = g_index + 1; if(g_index>2){ g_index = 0; } $(".group-"+g_index).show().siblings(".rig 阅读全文
posted @ 2017-06-09 14:15 不浪_垚 阅读(148) 评论(0) 推荐(0) 编辑
摘要: var g_index = 0; function slide_index(){ g_index = g_index + 1; if(g_index>2){ g_index = 0; } $(".group-"+g_index).show().siblings(".right-group").hid 阅读全文
posted @ 2017-06-09 14:04 不浪_垚 阅读(150) 评论(0) 推荐(0) 编辑
摘要: <html> <script type="text/javascript" src="./jquery.min.js"></script> <body><style type="text/css">.banner{ height:365px; overflow:hidden;}.banner ul{ 阅读全文
posted @ 2017-06-09 14:03 不浪_垚 阅读(685) 评论(0) 推荐(0) 编辑
摘要: 刚来,第一篇 阅读全文
posted @ 2017-03-03 20:37 不浪_垚 阅读(82) 评论(0) 推荐(0) 编辑