homepage Welcome to WebmasterWorld Guest from 23.20.34.25
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
onclick change image to another one
onclick change image to another one
parjinder




msg:568447
 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?

 

mivox




msg:568448
 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...

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved