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
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
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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.