Results 1 to 6 of 6

Thread: DHTML Slide Show Script

  1. #1
    Join Date
    Nov 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML Slide Show Script

    1) Script Title: DHTML Slide Show Script


    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...dhtmlslide.htm

    3) Describe problem: the links are open in current window and I want links to be open in new window

  2. #2
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    81
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Find the following line in the part that needs to be inserted in the BODY of the page :
    Code:
    document.write('<a href="javascript:transport()">')
    and add the text in red to it :
    Code:
    document.write('<a target="_blank" href="javascript:transport()">')

  3. #3
    Join Date
    Nov 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    this method is not working the new window is opened but it is blank it cannot open the url.

  4. #4
    Join Date
    Nov 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    this method is not working the new window is opened but it is blank it cannot open the url.

  5. #5
    Join Date
    Dec 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Same problem - open new window on slideshow..

    Hi using the same slideshow - I think... DHTML slideshow script

    I can't open new windows when my visitor's click on an image. I used Rohan's fix above and encountered the same problem as the original poster.

    my fix looks like this:

    <script>
    if (linkornot==1)
    document.write('<a target="_blank" href="javascript:transport()">')
    document.write('<img src="'+photos[0]+'" name="photoslider" style="filter:revealTrans(duration=2,transition=23)" border=0>')
    if (linkornot==1)
    document.write('</a>')
    </script>

    I added the "_blank" fix that rohan suggested. It does open a new window but it is not linked. I get a window with the url: "javascript:transport()" and an error message that an object is expected.

    Would really like to fix this. My site is built around the slideshow and I don't want to lose visitors when they click a picture... Thanks!!!

  6. #6
    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

    Quote Originally Posted by mybedhead View Post
    Hi using the same slideshow - I think... DHTML slideshow script

    I can't open new windows when my visitor's click on an image. I used Rohan's fix above and encountered the same problem as the original poster.
    Please don't post the same question in two places. The above solution will not work anyway, at least not as far as I can tell by looking at it briefly. Your answer is here:

    http://www.dynamicdrive.com/forums/s...3&postcount=27
    - John
    ________________________

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

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
  •