Webpage special effect rolling link effect

Source: Internet
Author: User
Tip: you can modify some code before running

<html><head><title>Scroll link</title><body background="02.jpg"><table align="center"> <table align="center" bgcolor=#FFFF00 border=1 bordercolordark=#000000 bordercolorlight=#006666 cellspacing=0 width="200" bordercolor="#FFFFFF"><td height="11" align="center" width="300"> <script language=JavaScript>Var index = 6 link = new Array (5); text = new Array (5); link [0] = '# 'link [1] = '#'<!--链接的url-->Link [2] = '#'<!--链接的url-->Link [3] = '#'<!--链接的url-->Link [4] = '#'<!--链接的url-->Link [5] = '#'<!--链接的url-->Text [0] = 'Link of friendship 'text [1] = 'netease website'<!--链接的内容-->Text [2] = 'sohu website'<!--链接的内容-->Text [3] = 'Yahoo website'<!--链接的内容-->Text [4] = 'Taobao website'<!--链接的内容-->Text [5] = 'sina website'<!--链接的内容-->Document. write ("<marquee scrollamount='1' scrolldelay='60' direction= 'up'width='100' id=table height='100' onmouseover=table.stop() onmouseout=table.start()>"); For (I = 0; I<index;i++){ document.write ("<font color=#003399>"); <!--滚动条的内容,包含每一个链接-->Document. write (text [I] +"</font></a><br>");<!--链接的内容-->} Document. write ("</marquee>")</script> </td> </tr> </table> </td> </tr> <tr align=middle> <td height="2"></td> </tr> </table></body></html><!--本例程实现了滚动链接--><!--滚动条滚动的简单做法--><!--链接的使用-->
Tip: you can modify some code before running
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.