Results 1 to 5 of 5

Thread: conveyor belt slideshow

  1. #1
    Join Date
    Jul 2005
    Location
    newcastle
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default conveyor belt slideshow

    hello, i have recently used the script to create the conveyor belt slide show in my site, it works great, however i would like the selected image to be opened in a new window and do not know how to do this as i would normally used the 'behaviors' option to 'open browser window' but the images are only in the code view and not the design view, so alittle stuck. Any suggestions?

    link:
    http://www.criterion.pwp.blueyonder.co.uk/images.htm
    Last edited by bonzai; 07-04-2005 at 10:03 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You really have to edit the script with a text editor, here are some instructions from a previous post:

    The way this script is set up, using the target="_blank" would be easier (from the demo code, changes in red):
    Code:
    leftrightslide[0]='<a href="http://" target="_blank"><img src="dynamicbook1.gif" border=1></a>'
    but, you could use:
    Code:
    leftrightslide[0]='<a href="#" onclick="javascript:window.open(\'http://\');return false"><img src="dynamicbook1.gif" border=1></a>'
    Even more details can be found here:

    http://www.dynamicdrive.com/forums/s...ead.php?t=3197
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2005
    Location
    newcastle
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks, the first option didnt work but the second might, just alittle confused.

    My line is:
    leftrightslide[0]='<a href="http://www.criterion.pwp.blueyonder.co.uk/adam01.htm"><img src="adam0tn.jpg" border=1></a>'

    and the new is:

    leftrightslide[0]='<a href="#" onclick="javascript:window.open(\'http://\');return false"><img src="dynamicbook1.gif" border=1></a>'

    what does '#' mean? so i just put my image page after "javascript:window.open(

    Yes/no

    i always get this bit wrong!

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This didn't work?
    Code:
    leftrightslide[0]='<a href="http://www.criterion.pwp.blueyonder.co.uk/adam01.htm" target="_blank"><img src="adam0tn.jpg" border=1></a>'
    Give this a shot too:
    Code:
    leftrightslide[0]='<a href="http://www.criterion.pwp.blueyonder.co.uk/adam01.htm" onclick="window.open(this.href);return false"><img src="adam0tn.jpg" border=1></a>'
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jul 2005
    Location
    newcastle
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    got it working now mate, thanks very much.

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
  •