Dynamic subtitles
Code: Add in where needed
< marquee Onmouseover=this.stop () Onmouseout=this.start () > Welcome to JavaScript Tutorial Web
Features: When you point the mouse to the caption when the caption stops and has links, move the mouse pointer subtitle and scrolling, using the above code can be achieved.
Extension: Dynamic caption has a property "direction", it is to control the caption scrolling direction, the "direction" attribute changed to "Up", you can achieve upward scrolling, and should be changed to "down" when the scroll down, then "left" and "right" Nature is left and right. Www.hljmlyfcyy.com
Auto Refresh
Code: Adding between and between pages
< meta httpequiv= "refresh" content= "15;url=cesi.htm" >
Explanation: If your homepage has a welcome page, you want it to appear on your homepage after 15 seconds, you can use the above code, the time can be changed to the time you want.
Close window
① button mode
Code: Join in where you need to be
< INPUT onclick=window.close () Type=button value= Close window >
Explanation: The result of this code is to close the current page with a button.
② by Link
Code: Join in where you need to be
< a href= "#" onclick= "Javascipt:window.close (); return false;" > Close Window
Explanation: The result of this code is to close the current page with a link.
③ timed off
Code: Adding between and between pages
< script language= "JavaScript" >www.hrbfc120.com
Explanation: After adding this code, the webpage automatically shuts down after 3 seconds of opening (3000 for 3000 milliseconds or 3 seconds).
Anti-continuation arrangement
Code: Add in where needed
< BDO dir= "RTL" > Anti-cont
Features: What do you do when you need to put a paragraph in the opposite order? Do you want to do it one by one? Just use the above code, you can do it.
Underline the Web page
Code: Adding between and between pages
< Style type= "Text/css" >
Description: Many friends think that the underline under the link is very annoying, add the above code, when the visitor points to the link is underlined, usually not.
JavaScript Web effects 5