swich picture in jscript work in ie and netscapeby<head> <script language="JavaScript" TYPE="text/javascript"> <!-- function swap(img, url) { if (document.images) { document.images['dafuk'].src=url; return true; } } function loadimages() { this[1] = new Image(); this[1].src="botton1_on.jpg"; this[2] = new Image(); this[2].src="botton1_off.jpg"; } if (document.images) { loadimages(); } //--> </script> </head> <BODY> <DIV ALIGN="center"> <a HREF="avirot" onMouseOver="swap('dafuk','botton1_on.jpg')" OnMouseOut="swap('dafuk','botton1_off.jpg')"> <img SRC="botton1_off.jpg" NAME="dafuk" WIDTH="84" HEIGHT="148"> </a> </div> </body> </html> dafuk is the name of the pic 2 swich Goto Forum Home |
| Find more forums on Internet | Create your own forum at Network54 |
| Copyright © 1999-2013 Network54. All rights reserved. Terms of Use Privacy Statement |