Fourth Note:
How to make an a tag do not jump:<!DOCTYPE HTML Public "-//w3c//dtd XHTML 1.1//en" "Http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><HTMLxmlns= "http://www.w3.org/1999/xhtml"Xml:lang= "en"><Head> <Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" /> <title>Image Gallery</title> </Head><Body> <H1>Snapshots</H1> <ul> <Li> <ahref= "Http://www.baidu.com"title= "A Fireworks display"onclick= "return false;">Click to jump</a>//implementation does not jump </Li> <Li> <ahref= "Images/fireworks.jpg"title= "A Fireworks display"onclick= "Showpic (this); return false;">Fireworks</a> </Li> </ul> <imgID= "Placeholder"src= "Images/placeholder.gif"alt= "My Image gallery" /></Body></HTML>
<a href= "http://www.baidu.com" title= "a fireworks display" onclick= "return false;" > Click Jump </a>//implementation does not jump
Javascript+dom Programming Art "Reading notes"