Results 1 to 4 of 4

Thread: Pixelating Slideshow Script

  1. #1
    Join Date
    Jan 2010
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy Pixelating Slideshow Script

    1) Script Title: Pixelating Slideshow Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/pixelate.htm

    3) Describe problem: When an image is clicked and the user is redirected it is on the same page and not on a new page. I want the user to be redirected to a new page. I've inserted target="_blank" at several points in the code but I cannot get it to work. I'm sure there must be a simple way of ensuring that the link will open in a new window. I'll be very grateful for all help.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Change:
    Code:
    function gotoshow(){
    window.location=slidelinks[whichlink]
    }
    To:
    Code:
    function gotoshow(){
    window.open(slidelinks[whichlink]);
    }
    Jeremy | jfein.net

  3. #3
    Join Date
    Jan 2010
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Talking Book Flip Slideshow

    Nile,
    Many thanks for the reply. I altered the code as you suggested and it worked perfectly. I wanted to do the same for Book Flip Slideshow. url: http://www.dynamicdrive.com/dynamicindex14/bookflip.htm
    I tried altering 'location' to 'open' in:
    function B_LdLnk()
    { if(this.lnk)window.location.href=this.lnk
    }
    but I couldn't get it to work. Maybe my syntax wasn't correct. I wonder if you might have a solution? Again many thanks for your solution.

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Try:
    Code:
    if(this.lnk)window.open(this.lnk);
    Jeremy | jfein.net

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
  •