Click here to Skip to main content
15,909,030 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Please help me change the image. Its not working.

HTML
<span class=z onclick="openNav()">      <img src="http://www.fumefxtraining.com/images/clickhere.png" class=SideButton height=45px width=66px></span>


What I have tried:

HTML
<span class=z onclick="openNav()">      <img src="http://www.fumefxtraining.com/images/clickhere.png" class=SideButton height=45px width=66px></span>
Posted
Updated 4-Mar-17 6:55am
v2
Comments
[no name] 23-Feb-17 14:57pm    
It might seem, at times, that we can read minds to know what people are talking about, but I can assure you that we cannot read minds. So, with that firmly in mind, what on earth are you talking about?
j snooze 23-Feb-17 17:46pm    
In a situation such as this I would recommend changing your code so that the image does start changing when you mouse over it, unless you don't want it to, then I think whatever you have is spot on and needs nothing more.

Google is your friend...

1. With no Javascript: change the image on mouse over - Google Search[^]

2. With Javascript: change image on mouseover javascript - Google Search[^]
 
Share this answer
 
Check this thread, different ways to achieve
Changing image on hover with CSS/HTML [^]
 
Share this answer
 
Without your code it is impossible to guess what is your error.

This site is good at web tutorials:
W3Schools Online Web Tutorials[^]
 
Share this answer
 
Here is another example using CSS, I just noticed that my response was deleted yesterday because you posted the same question twice, and you re-post it again today. Please don't do that.

How do I change the image onmouseover and back onmouseout[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900