Welcome to WebmasterWorld Guest from 54.242.105.196

Forum Moderators: incrediBILL

onclick change image to another one

onclick change image to another one

   
3:17 pm on Oct 18, 2001 (gmt 0)

10+ Year Member



i need an onclick to change a jpg to another onclicking itself. something like:

<img src=map_pieces\3.jpg onmouseover="this.style.background='url(3.jpg)'">

can any1 help plz?

5:42 pm on Oct 18, 2001 (gmt 0)

WebmasterWorld Senior Member mivox is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I could be wrong, but if you find a "mouseover" image change script, you should be able to substitute "onClick" for the "onMouseover" attribute in the <img> tag...
 

Featured Threads

Hot Threads This Week

Hot Threads This Month