![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JS
iteye_9924
这个作者很懒,什么都没留下…
展开
-
JS--单条新闻向上滚动代码
[b]JS--单条新闻向上滚动代码[/b] ul,li{margin:0;padding:0} #scrollDiv{width:300px;height:25px;line-height:25px;border:#ccc 0px solid;overflow:hidden} #scrollDiv li{height:25px;padding-left:10...原创 2014-04-23 17:29:59 · 342 阅读 · 0 评论 -
怎样在自己网站首页上放一张图片,然后几秒左右自己跳转到主页上面
要在自己网站首页放一张图片,然后点击或自动跳转到网站首页 function goto(){ window.location.href='"你的首页地址"; }原创 2014-06-11 09:54:12 · 807 阅读 · 0 评论 -
导航子菜单下拉隐藏====JS
function menuFix() { var sfEls = document.getElementById("nav").getElementsByTagName("li"); for (var i=0; i0? " ": "") + "sfhover";} sfEls[i].onMouseDown=function() { this.className+=(this.class...原创 2014-06-25 19:32:57 · 273 阅读 · 0 评论 -
网站时间日期,解决2014显示为114的问题
today=new Date(); var day; var date; var hello; var wel; hour=new Date().getHours() if(hour < 6)hello='凌晨好' else if(hour < 9)hello='早上好' else if(hour < 12)hello='上午好' else if(hour < 14)hello='...2014-07-29 15:54:26 · 97 阅读 · 0 评论 -
网站日期(UTF)
function Year_Month(){ var now = new Date(); var yy = now.getYear(); var mm = now.getMonth(); var mmm=new Array(); mmm[0]="1"; mmm[1]="2"; mmm[2]="3"; mmm[3]="3"; mmm[4]="5"; ...2014-07-31 10:36:54 · 164 阅读 · 0 评论 -
JS实现悬空动态
/*********************************************** * Cool DHTML tooltip script- ?Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Vis...2014-11-11 15:31:56 · 141 阅读 · 0 评论