| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|onclick change image to another one|
onclick change image to another one
| 3:17 pm on Oct 18, 2001 (gmt 0)|
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)|
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...
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved