Jump to content

Image Hover Text


natasha_thomas

Recommended Posts

oei,

 

Doe you mean if you hover over an image to show the text "more info" or if you hover over text to show the image?

 

Anyway i think you mean the first in that case you can use the title attribute;

 

<img src="myimage.jpg" alt="image is gone" title="more info...?" />

 

If you were to mouse over this image a small pop-up would show more info..?

 

You can also style the title

 

another way would be this: http://www.communitymx.com/content/article.cfm?page=1&cid=4E2C0

Link to comment
https://forums.phpfreaks.com/topic/229883-image-hover-text/#findComment-1184104
Share on other sites

ah that is indeed something different. That's why it's always good to be more precise.

well the easiest way to do this is with javascript. I would post this in the javascript section.

Pretty much what happens if i can see it correct is that on mouse over the image a <span> becomes visible and on mouseout it displays none again.

Link to comment
https://forums.phpfreaks.com/topic/229883-image-hover-text/#findComment-1184156
Share on other sites

ah that is indeed something different. That's why it's always good to be more precise.

well the easiest way to do this is with javascript. I would post this in the javascript section.

Pretty much what happens if i can see it correct is that on mouse over the image a <span> becomes visible and on mouseout it displays none again.

 

Hi,

 

have u posted this topic in Javascript section? can you please give me the link?

 

Cheers

N

Link to comment
https://forums.phpfreaks.com/topic/229883-image-hover-text/#findComment-1184319
Share on other sites

oh sorry i meant: if I were you I would post it in the javascript section. sorry for the confusion

 

You could this with css, but that is loads more complicated.

 

hihihi, i guesses its what you meant, but asked away just to dust off the confusion.

 

Alright i will post in JS Section.

 

Cheers

NT

 

Link to comment
https://forums.phpfreaks.com/topic/229883-image-hover-text/#findComment-1184368
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.