JavaScript merry-go Effect Link hint _ text effects

Source: Internet
Author: User
<title> merry-go effect link hint </title> <center> mouse to let go ~ </center> <div id= "Prem_hint" class= "Prem_hint" > Cloud Habitat Community Script Learning Class website </div> <script language= "JavaScript" > window.onerror = null; var bname = navigator.appname; var bver = parseint (navigator.appversion); var NS4 = (Bname = = "Netscape" && bver >= 4); var IE4 = (Bname = = "Microsoft Internet Explorer" && bver >= 4); var NS3 = (Bname = = "Netscape" && bver < 4); var IE3 = (Bname = = "Microsoft Internet Explorer" && bver < 4); var scroll_length = 150; var time_length = 50; var begin_pos = 200; var i; var J; if (NS4 | | IE4) {if (navigator.appname = = "Netscape") {layerstyleref= "layer."; Layerref= "Document.layers"; Styleswitch= ""; }else{layerstyleref= "Layer.style." Layerref= "document.all"; Styleswitch= ". Style"; }} function Scroll (layername) {if NS4 | | IE4) {if (NS4 | | IE4) {if (i< (begin_pos+scroll_length)) {eval (layerref+ ' ["] +layernAme+ ' "] ' + styleswitch+ '. visibility=" visible "); Eval (layerref+ ' ["' +layername+ '"] ' + styleswitch+ '. left= "' +i+ '"); i++; j + +; if (i==j) {settimeout ("Scroll ('" +layername+ ")", time_length); }}} function Stopscroll (layername) {i=begin_pos+scroll_length; Eval (layerref+ ' ["' +layername+ '"] ' + styleswitch+ '. left= "' +i+ '"); Hidelayer (LayerName); function Reset () {i=begin_pos; J=i; } function Hidelayer (layername) {if NS4 | | IE4) {eval (layerref+ ' ["' +layername+ '"] ' + styleswitch+ '. visibility= "hidden"); }} </script>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]

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.