Results 1 to 4 of 4

Thread: Image carousel slideshow

  1. #1
    Join Date
    Apr 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image carousel slideshow

    I am working on using the carousel slideshow for my site. How can I make it so when an image on the carousel is clicked it will open in a NEW window?

    I have tried a bunch of things, and I can't get it to work right.

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.

    We should be able to sort this one out for you.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    May 2005
    Location
    Iowa
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Have you tried adding the attribute target="_blank" to the image tag? That should work.

    Cheers,
    TechhieTim

  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

    Using target="_blank" will not work in this case. The code in the script that controls link behavior is this:
    Code:
    function C_LdLnk(){if(this.lnk)window.location.href=this.lnk}
    As a result, all links in the script open in the current window. Without making more extensive modifications to allow us to choose which links to do what with, we can change this so that all links in the script open a new window like so:
    Code:
    function C_LdLnk(){if(this.lnk)window.open(this.lnk)}
    - 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
  •