
Originally Posted by
quantum503
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.
Bookmarks