Results 1 to 4 of 4

Thread: How to swap image with hyperlink

  1. #1
    Join Date
    Dec 2008
    Posts
    51

    How to swap image with hyperlink

    I would like to create a small slideshow of around 3 images (120x120px) which will automatically fade between images at a set interval but when I click on picture 1, picture 2 switches to a new picture (picture 3). Is there anyway I can add a hyperlink to picture 3? I don't know how to add a hyperlink to it if I can't open its' properties inspector.There is one way i can to this is to add a hyperlink to the picture outside of dreamweaver and then insert it into the swap image behavior? What say? is it proper?

  2. #2
    Join Date
    Dec 2008
    Posts
    183

    Re: How to swap image with hyperlink

    Remove the script trying to disable right-click. It accomplishes nothing except to annoy visitors who use any of the many functions of the right-click menu, and have to work around it, Unless you need to use the HyperLink control, I would make it a regular <a href=""> tag and put your image in an <img src=""> tag. You can accomplish a mouseover and get rid of the border like this:
    Code:
    <a href="someLink.aspx"><img src="menu_faq_normal.gif" style="border:none" onmouseover=>

  3. #3
    Join Date
    Jan 2009
    Posts
    143

    Re: How to swap image with hyperlink

    I would suggest the Flash media player flowplayer at flowplayer.org. but whatever you have suggested from that your image won't work when people disable javascript, something every one of us who looked at the page did with one or two clicks depending on their browser. For the type of rollovers you are using for your menus you don't even need to use javascript. For that Maybe someone else knows of an image slideshow extension that allows for different hyperlinks on each image.

  4. #4
    Join Date
    Jan 2009
    Posts
    99

    Re: How to swap image with hyperlink

    The swap image behavior does just only swaps an image only by dynamically change the source of the image that is loaded into a certain spot on your page. if you must use javascript that uses onload in the body you can put it in the DWT or you can change it to using windows.onload in the script element. (The SRC of the IMG tag.) You are wanting to, at the same time, dynamically change the HREF of the surrounding A tag. You would have to code some JavaScript to do that.

Similar Threads

  1. hyperlink With Webcreator
    By Mannat in forum Technology & Internet
    Replies: 2
    Last Post: 22-10-2009, 07:07 PM
  2. How to wrap div tag with Hyperlink?
    By azianai in forum Software Development
    Replies: 3
    Last Post: 24-07-2009, 09:39 PM
  3. To add hyperlink to an email
    By Bilal in forum Technology & Internet
    Replies: 4
    Last Post: 26-03-2009, 03:39 PM
  4. How to do hyperlink????
    By Ralph Lauren in forum Technology & Internet
    Replies: 3
    Last Post: 24-03-2009, 10:05 AM
  5. To add Hyperlink in a Powerpoint
    By Computer_Freak in forum Tips & Tweaks
    Replies: 3
    Last Post: 23-03-2009, 12:41 PM

Tags for this Thread

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
  •  
Page generated in 1,714,061,402.44326 seconds with 17 queries