Results 1 to 2 of 2

Thread: Swiss Army Image slide show - goto page at end

  1. #1
    Join Date
    May 2008
    Location
    Somerset, UK
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Swiss Army Image slide show - goto page at end

    Hi

    I'm not sure if this is the right place to post this query, but instead of the slide show stopping at the end I would like to automatically return to the referring URL, or any URL that I can hard code into the script.

    Any idea how I could achieve this?

    Thanks

    Eric

  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

    Quote Originally Posted by quantum503 View Post
    Hi

    I'm not sure if this is the right place to post this query, but instead of the slide show stopping at the end I would like to automatically return to the referring URL, or any URL that I can hard code into the script.

    Any idea how I could achieve this?

    Thanks

    Eric
    Just for your information, the proper way to 'piggyback' on an old thread is to start a new thread and link to the old one:

    http://www.dynamicdrive.com/forums/s...ad.php?t=18370

    I've done that for you by moving your post to this new thread and providing the above link. Now, in post #4 of that old thread, we have several additions, including this one:

    Code:
    if(this.once&&this.nextimgidx==0&&!this.goagain){
    var but=this.go('gostp'+this.issid)? this.go('gostp'+this.issid) : '';
    this.gostop(but);
    this.goagain=1
    return;
    }
    this.goagain=0
    If you make all of the additions in that post and do this one we are talking about here like this:

    Code:
    if(this.once&&this.nextimgidx==0&&!this.goagain){
    var but=this.go('gostp'+this.issid)? this.go('gostp'+this.issid) : '';
    this.gostop(but);
    history.go(-1);
    return;
    }
    this.goagain=0
    Instead of stopping, it will return to the previous page.
    - John
    ________________________

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

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

    quantum503 (05-20-2008)

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
  •