欢迎访问 水平网    今天是:2018年06月18日 注册 | 登录 | 订阅 | 收藏
>> 搜索:JS
推荐代码
热点代码

PHP解析 JSON 数据

类别:PHP,阅读:2076,更新:2014-06-29

JS制作的弹出层效果

调用实例:window.onload = function(){example1 = new EasyWindow("测试窗口2" ,"这里是自定义:<br /><input type='text' />输入文字" ,"common")example2 = new EasyWindow("测试窗口1" ,"http://www.baidu.com" ,"url" ,{left:"300px" ,top:"100px" ,width:"750px" ,height:"600px" ,background:"images/gray.gif"});example3 = new EasyWindow("测试窗口3" ,"http://www.google.cn" ,"url" ,{left:"400px" ,top:"200px" ,width:"750px" ,he...
类别:JavaScript,阅读:1685,更新:2014-05-10

JS实现的滑动TAB,很简单

类别:JavaScript,阅读:2091,更新:2014-05-10

CSS+JS的图片幻灯效果

下面是一段PHP引用的例子:$sql = "select id,title,imageurl,content from tableName where isimage=1 order by id desc limit 6";$re = mysql_query($sql);if(mysql_num_rows($re) > 0){$slider_piclist = '';$slider_txt = '';$slider_btn = '';$i = 1;$slider_class = 'current';while($rs = mysql_fetch_array($re)){if($i > 1){$slider_class = 'normal';}$slider_piclist .= '<li><a href="/article.php?id='.$rs[0].'"><img alt="'.$rs[1].'" src="'.$rs[2].'" border="0"></a></li>';$slider_txt .= '<li class="'.$slider_class.'...
类别:JavaScript,阅读:967,更新:2014-05-10

图片局部放大特效JS广告代码

类别:JavaScript,阅读:858,更新:2014-05-10

非常漂亮的可拖动的JS日历代码

Style-able and semantic XHTMLI have tried to make Calendar as semantic as possible–with proper usage of CAPTION, THEAD, TBODY, TH and TD elements–and lots of CSS styling hooks. View the Calendar stylesheet for examples of the CSS; see the Styling Your Calendar section in the Manual for references to the XHTML. myCal1 = new Calendar({ date1: 'd/m/Y' }, { direction: 1, tweak: { x: 6, y: 0 }});myCal2 = new Calendar({ date2: 'd/m/Y' }, { classes: ['dashboard'], direction: 1 });myCal3 = new Calendar({ date3: 'd/m/Y' }, { classes: ['...
类别:JavaScript,阅读:902,更新:2014-05-10

prototype.js支持下写的tab标签切换

实例见本站首页,需要prototype.js支持
类别:JavaScript,阅读:795,更新:2014-05-09

Javascript+css做的slider,需要prototype.js支持

 示例见本站首页吧!
类别:JavaScript,阅读:963,更新:2014-05-09

Javascript中动态的引用一个JS文件

类别:JavaScript,阅读:885,更新:2014-05-03

JS制作的弹出层效果

调用实例:window.onload = function(){example1 = new EasyWindow("测试窗口2" ,"这里是自定义:<br /><input type='text' />输入文字" ,"common")example2 = new EasyWindow("测试窗口1" ,"http://www.baidu.com" ,"url" ,{left:"300px" ,top:"100px" ,width:"750px" ,height:"600px" ,background:"images/gray.gif"});example3 = new EasyWindow("测试窗口3" ,"http://www.google.cn" ,"url" ,{left:"400px" ,top:"200px" ,width:"750px" ,he...
类别:JavaScript,阅读:823,更新:2014-04-19

一段控制多选框的JS

使用方法:1、点击多选的多选框加上一个属性 rel=”M”2、点击多选的多选框id属性 和 被选择的多选框 name属性相同例:<input id="xiedaima" type="checkbox" rel="M" />全选<input type="checkbox" name="xiedaima" />选项1<input type="checkbox" name="xiedaima" />选项2<input type="checkbox" name="xiedaima" />选项3...
类别:JavaScript,阅读:673,更新:2014-04-19

Div+CSS+JS树型菜单,后台常用特效

类别:DIV+CSS,阅读:812,更新:2014-04-19