- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
网页代码设计技巧系列之-----图片和链接变化(向左移)
脚本说明:把如下代码加入body区域中script language=JavaScript1.2///////configure the below four variables to change the style of the slider/////////set the scrollerwidth and scrollerheight to the width/height of the LARGEST image in your slideshow!var scrollerwidth=100pxvar scrollerheight=106pxvar scrollerbgcolor=white//3000 miliseconds=3 secondsvar pausebetweenimages=3000//configure the below variable to change the images used in the slideshow. If you wish the images to be clickable, simply wrap the images with the appropriate a tagvar slideimages=new Array()slideimages[0]=a href=img src=PE01805A.gif border=0/aslideimages[1]=img src=PE01803A.gifslideimages[2]=img src=TN00411A.gifslideimages[3]=a href=img src=PE02054A.gif border=0/aslideimages[4]=img src=cake.gif//extend this list///////Do not edit pass this line///////////////////////var ie=document.allvar dom=document.getElementByIdif (slideimages.length1)i=2elsei=0function move1(whichlayer){tlayer=eval(whichlayer)if (tlayer.left0tlayer.left=5){tlayer.left=0setTimeout(move1(tlayer),pausebetweenimages)setTimeout(move2(document.main.document.second),pausebetweenimages)return}if (tlayer.left=tlayer.document.width*-1){tlayer.left-=5setTimeout(move1(tlayer),50)}else{tlayer.left=parseInt(scrollerwidth)+5tlayer.document.write(slideimages[i])tlayer.document.close()if (i==slideimages.length-1)i=0elsei++}}function move2(whichlayer){tlayer2=eval(whichlayer)if (tlayer2.left0tlayer2.left=5){tlayer2.left=0setTimeout(move2(tlayer2),pausebetweenimages)setTimeout(move1(document.main.document.first),pausebetweenimages)return}if (tlayer2.left=tlayer2.document.width*-1){tlayer2.left-=5setTimeout(move2(tlayer2),50)}else{tlayer2.left=parseInt(scrollerwidth)+5tlayer2.document.write(slideimages[i])tlayer2.document.close()if (i==slideimages.length-1)i=0elsei++}}function move3(whichdiv){tdiv=eval(whichdiv)if (parseInt(tdiv.style.left)0parseInt(tdiv.style.left)=5){tdiv.style.left=0+px
您可能关注的文档
最近下载
- 海尔集团资本运营案例研究.pptx VIP
- 幼儿园课件:绘本《太阳想吃冰淇淋》.pptx
- 锅炉安全操作培训记录.docx VIP
- 流感样病例暴发疫情处置指南(2022版).docx VIP
- 李坚贞忠之士贞.pptx VIP
- SL 670-2015 水利水电建设工程验收技术鉴定导则.docx VIP
- 红光机器厂实训报告总结与反思.pptx VIP
- 人工智能技术在乳腺癌风险分层管理和治疗策略中的应用相关试题及答案.doc VIP
- MBN_LV_124-1_2013-03 12V车载电子系统电气要求和测试.pdf VIP
- SJT 11364-2014 电子电气产品有害物质限制使用标识要求.pdf VIP
原创力文档


文档评论(0)