
无标题文档 #focus_m{position:relative; width:420px; height:384px; background:#133775} .f_img_roll{width:350px; height:300px; position:relative;} .f_img_roll img{position:absolute; left:0; top:0; width:350px; height:300px;} .f_img_tree{position:absolute; width:75px; height:300px; right:3px; top:0;} .f_img_tree div{position:absolute; z-index:300; top:3px; right:0; width:75px; height:47px; backgroun...
by chencs - BSD文档中心 - 2008-11-17 09:54:42 阅读(1130) 回复(0)
method: adRotator.initialize(容器名id); method: adRotator.add(图片地址[,文字项][,链接地址]) method: adRotator.play(); 运行代码框 New Document set time ' _html += '' _html += ''; _html += ''; _html += (_t[_c]?('' + (_c+1) + '. ' + _t[_c] + ''):''); _html += ''; _html += ""; _html += ''; for(var i=0; i' + (i>8?(i+1):('0'+(i+1)))+ ' '; _html += ""; getRef(_o).innerHTML = _html; ...
1.显示系统当前日期 效果:2006年3月21日 22:12:54 星期二 document.write(new Date().toLocaleDateString()+" 星期"+"日一二三四五六".split("")[new Date().getDay()]) 2.显示系统当前日期 today=new Date(); function date(){ this.length=date.arguments.length for(var i=0;i ", today.getYear(),"年",today.getMonth()+1,"月",today.getDate(),"日", ...
js特效文字逐个显示 最近上网看到一个js特效,让文字逐个在网页上显示,就像手动一个一个输入这些文字一样.把相关的代码copy过来,在本地运行,发现这些js只在IE在有效,其它浏览器都没有效果,于是本人在此基础上作些改进,让此效果在所有浏览器都有此效果. 以下是网上js特效源码:[code]