Need MouseHover HTML Code

Started on the old forum in November 2011 · view the original in the archive · old links redirect here

#html

2 replies · 288 views · started 15 years ago · 1 min read

3 participants
freakads Newbie · 4 posts #1

Hello Friends, Yesterday when i was checking some mousehover code without Javascript. I found this code

<a onmouseover="document.NAME.src='Your IMAGE 2nd'" onmouseout ="document.NAME.src='Your IMAGE'"> External image (may be gone)</a>

When i tried this code in my webpage.. it worked fine. It changed the images whenever I move cursor on that image. But When i upload it through FTP. This code is not working. For better understanding you guyz can check my website - www . briskaid . com I have used this code for all 8 images but its not working on internet. If I manually check it works.

Any suggestions?? or Anything else is there? If any javascript is there please let me know

Mysterio Lead · 630 posts #2

For me is strange if it works localy but not in live server, because html is html. Maybe you have big images and they took a bit to load.

mysterio.al - programming is a functional art

kei_ki7 Senior · 431 posts #3

Its working with your site, Mysterio3 is right, it took a bit to load the image.

I suggest you to make a invisible images for those hover so that it will load when body loads, or you can use 1 image that has 2 images combined.

Did I help you? You can help me too Your donations will help me finance my studies.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close