KidsLovePC Contact Us
  Home   PHP  Graphics ASP  JavaScript   J2EE  HTML  JAVA   Swing   Webtip  Forums  Lyric  Free sheet music  Ringtones

Best books about Javasript

Try move mouse over the following list. Images will show dynamiclly.

      Mouse over the above words


How to do it? It use "document.getElementById" to get collection in file and swap its image. Put the following script anywhere in your web page.


Save the above images,including that hidden space holder image( or any images you choose) to your web page site. Then add the following code to your images.

<li><a href="images/pig.gif" onmouseover="return swaptextimage(this)" title="Honk! Honk!">pig</a></li>
<li><a href="images/dog.gif" onmouseover="return swaptextimage(this)" title="Won! Won!">dog</a></li>
<li><a href="images/bird.gif" onmouseover="return swaptextimage(this)" title="Tweak! Tweak!">bird</a>&nbsp;&nbsp;
<p id="sound" >Mouse over the above words</p>
<img id="animal" src="images/whitespace.gif" />

This code swaps text and image at the same time..




Best books about ASP & ASP.Net from Amazon
JavaScript Bible, Fifth Edition (Paperback) JavaScript & DHTML Cookbook (Paperback) JavaScript: The Definitive Guide (Paperback) Beginning JavaScript Second Edition (Paperback) JavaScript: The Complete Reference, Second Edition (Paperback)


Printer Inkjet A Z lyricsLearn ChineseHome|PHP|Swing|HTML|JavaScript|ASP|JAVA|Forum|WebTip|Contact Us
Copyright © All rights reserved(new). Privacy|Copyright
designed by

Please help us cover the web site maintenance fee.
barcode scanner Thermal Printer credit card machine bar code printer