欢迎访问 水平网    今天是:2017年11月22日 注册 | 登录 | 订阅 | 收藏
推荐代码
热点代码

onmouseover延时处理

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

快速实现鼠标移上的浮动层显示

只需要包含一个js文件然后在你要实现鼠标移上显示浮动层的标签上加上属性 title="body=[这里是浮动层的内容]"就可以了还可以加入header属性 title="body=[这里是浮动层的内容],header=[标题内容]"
类别:JavaScript,阅读:608,更新:2014-05-10

向上单行滚动的消息代码

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

数字倒计时效果

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

打开自定义弹出窗口

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

自动调整图片高度、大小

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

自动调整DIV高度大小AutoSizeDIV

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

一个不错的AJAXRequest

/*** Copyright 2006-2008 xujiwei** Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at** http://www.apache.org/licenses/LICENSE-2.0** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.* See the License for the specific language ...
类别:JavaScript,阅读:510,更新:2014-05-10

XML DOM 加载函数

测试代码<script type="text/javascript">xmlDoc = loadXMLDoc("books.xml");document.write("xmlDoc is loaded, ready for use");</script>
类别:JavaScript,阅读:644,更新:2014-05-10

精美实用的FLASH四图轮显广告代码

类别:JavaScript,阅读:485,更新: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,阅读:716,更新:2014-05-10

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

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