Welcome to WebmasterWorld Guest from 54.166.191.112

Forum Moderators: incrediBILL

Message Too Old, No Replies

onclick change image to another one

onclick change image to another one

     

parjinder

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

Inactive Member
Account Expired

 
 


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)

Senior Member

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

joined:Dec 6, 2000
posts:3928
votes: 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...
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members