效果如下:这个插件的要点之处就在JQuery-1.4.2.js的发布添加的新函数data的应用,所以jquery库一定要是1.4.2的版本 另一方面就是css的编写,setInterval和setTimeout的用法,前者是每隔多长时间执行一次,后者是多长时间执行一次; 关于setTimeout的用法 有二种形式 1 setTimeout(code,interval) 中的code是字符串 2 setTimeout(func,interval,args) 中的func是函数 实现代码
jquery slidepictrue
*{ margin:0px; padding:0px; list-style:none; }
body{ font-size:12px; color:white}
#imageShow { position:relative;z-index:3;overflow:hidden;width:586px;height:150px }
#imageShow #imageSwitch { position:absolute;right:0px;bottom:0px;padding-left:50px;z-index:4;
background-color:#C08A93;filter:Alpha(opacity=70); opacity:0.7;}
#imageShow #imageSwitch li{ float:left;border-left:1px solid white;height:14px;width:30px;
text-align:center;line-height:14px;}
1
2
3
4
5
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]
推荐阅读
网页前台通过js非法字符过滤代码(骂人的话等等)
代码一:keypress事件时使用 复制代码 代码如下: /****************************************************/ //功能:过滤非法字符 //说明:keypress事件时使用 //作者:XXXXXXX //日期:2010年5月7日 /************>>>详细阅读
本文标题:jquery picswitch图片焦点图展示效果
地址:http://www.17bianji.com/kaifa2/JS/26320.html
1/2 1