homepage Welcome to WebmasterWorld Guest from 54.196.197.153
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved