Results 1 to 3 of 3

Thread: DHTML Slideshow (Manual) - Open link in new page

  1. #1
    Join Date
    May 2010
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default DHTML Slideshow (Manual) - Open link in new page

    1) Script Title: DHTML Slide Show Script

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

    3) Describe problem:
    I wish to have the links open in a new page. Using the script as it is at the moment, all links open in the same page, which is not what I require.

    I am afraid I know nothing of Javascript and even this seemingly minor problem is beyond me for which I apologise.

    Regards.
    MarcL

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Try finding the below line inside the script:

    Code:
    window.location=photoslink[which]
    and change that to:

    Code:
    window.open(photoslink[which])
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    MarcLodge (05-26-2010)

  4. #3
    Join Date
    May 2010
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Many, many thanks

    ddadmin, your suggested change worked like a dream and the really useful script now does EXACTLY what I want it to do.

    Heartfelt thanks are sent to you.

    Regards,
    Marc L

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
  •