56 users online (1 members and 55 guests)  


  Results 1 to 7 of 7

Related

  1. Rollover images with text area    Forum: Javascript Forum
    Replies: 0
  2. Different rollover images and text showing    Forum: Javascript Forum
    Replies: 0
  3. Need Help With Javascript Rollover Images Pronto!    Forum: Javascript Forum
    Replies: 11
  4. Pre-Loading Rollover Javascript Images...    Forum: Javascript Forum
    Replies: 6
  1. #1
    Mithrawyn's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2003
    Posts
    4

    rollover images as links

    Is it even possible? I've tried a few codes that looked like what i wanted, but nothing seems to work. I'm trying to use an image for a link, and want to have the image change to a different image when the mouse is dragged over it. This is so that I can make my links in Ilythiiri (dark elven langauge) and then when the mouse hovers over the link, the english translation appears. The best I've been able to come up with is this:

    Code:
    <A HREF="http://www.geocities.com/darkempirerising/mithrawyn/guild.html"><IMG SRC="http://www.geocities.com/darkempirerising/mithrawyn/graphic/affiliations_drow.jpg" BORDER="0"></A><BR><A
    ONMOUSEOVER='return rollOn( "drow_guild" );' ONMOUSEOUT='return rollOff( "drow_guild" );'><IMG BORDER="0" SRC="http://www.geocities.com/darkempirerising/mithrawyn/graphic/affiliations_common.jpg" NAME="img_destiny" ID="img_destiny" ONLOAD='ldImg( this, "http://www.geocities.com/darkempirerising/mithrawyn/graphic/affiliations_drow.jpg");'></A>

    Perhaps I am doing something wrong? This is my first attempt with rollover images, so it's all new to me.


    Mithrawyn Somtaaw
    "Natha bwael velve zhah natha Ilythiiri's alurl abbil."

  2. #2
    Enigma's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Nov 2000
    Posts
    426
    http://www.htmlgoodies.com/tutors/imageflip.html

    http://www.bignosebird.com/js/mouse.shtml

  3. #3
    Mithrawyn's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2003
    Posts
    4
    Many thanks Enigma, that www.bignosebird.com site did the trick.

  4. #4
    Enigma's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Nov 2000
    Posts
    426
    You'rew welcome.

  5. #5
    Mithrawyn's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2003
    Posts
    4

    Angry

    I don't get it. The code is perfect, but the images won't flip for some reason.

    Here's the full website so far: www.geocities.com/darkempirerising/mithrawyn/index.html

  6. #6
    Enigma's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Nov 2000
    Posts
    426
    Try taking out the space between document and [n]. I'm getting some Javascript errors.

  7. #7
    Mithrawyn's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2003
    Posts
    4
    It worked fine when i copied it from the website, but when i place my own tags in it, it suddenly doesn't work anymore.



Tags for this Thread