| Welcome to WebmasterWorld Guest from 126.96.36.199 |
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
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?
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