Results 1 to 2 of 2

Thread: Replacing Image With Text Rollover

  1. #1
    Join Date
    Mar 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Replacing Image With Text Rollover

    Hi,

    I'm trying to create an image rollover where the image is replaced by text. I've managed to do this by placing an image over the top of text and having this image hide when rolled over revealing the text using divs, however I need to have clickable links in the text also. Is there a way of doing this with javascript?

    EN

  2. #2
    Join Date
    Mar 2010
    Posts
    14
    Thanks
    1
    Thanked 5 Times in 5 Posts

    Default

    One hack would be to call a script that responds to the events of mouseOver and mouseOut which rewrite the innerHTML attributes of the code in your div. I don't know if it's a preferable way of doing that, but that's how I'd tackle it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •