Dreamweaver swap image link question.

Discussion in 'Whatever' started by SaintOfSpinners, Jan 28, 2010.

  1. SaintOfSpinners

    SaintOfSpinners Side Dealer

    Joined:
    Jul 20, 2007
    Messages:
    2,017
    Location:
    Los Angeles
    Instagram:
    monkwgun
    Dreamweaver swap image link question.
    Hi,

    I am rebuilding my site and have an issue. I want to use mouse over to swap image and then onclick of that swapped image to link to external page. I prefer to use an image map on the swapped image because the image as an href keeps giving me a line down the left side (because the page images are left aligned????) .

    So my questions are...can I map the swapped image? Can I use an onClick on the swapped image to link from behaviors? If yes to either then how? I know how to map trhe main/top image buut cannot find a way to map the swapped image.

    Using dreamweaver.

    Thank you.
     
  2. aquaphase

    aquaphase Toy Prince

    Joined:
    Jul 11, 2008
    Messages:
    498
    Location:
    Assasination City
    Name:
    Justin
    Instagram:
    aquaphase
    Dreamweaver swap image link question.
    yes, you can. What you'll have to do is put the map reference on the image being changed to. It may take some additional javascript in with the standard MM_rollover function, but it's totally doable.
     
  3. SaintOfSpinners

    SaintOfSpinners Side Dealer

    Joined:
    Jul 20, 2007
    Messages:
    2,017
    Location:
    Los Angeles
    Instagram:
    monkwgun
    Dreamweaver swap image link question.
    very cool thanks. Now, since DW shows the ability to make the map refrence only on the main image where can I do this? Is there a way I can show that swapped image to map it? I should have time to spend on this sunday but I am also anxous to get to it.
     

Share This Page