Gossamer Forum
Home : Products : DBMan : Installation :

"Back" to previous page

Quote Reply
"Back" to previous page
Hi. I've set up 2 different config and html.pl files so when I search, I can click on the small picture and have it return a detail page with a larger picture and a longer description. How can I have a link created on the new page to return me to the same original search page, say items 11-20. I know I caj just click the Back button, but I want to get a bit more elegant.

Wonderful script by the way. I used it on my first site recently and the check is in the mail. REALLY! Smile
Quote Reply
Re: "Back" to previous page In reply to
I don't know if it would work for DBMan, but I understand there's a java command (or something -- I don't do java! Smile ) that will take the user back to wherever he was before the current page. Maybe some of the java experts here will have a better answer.


------------------
JPD





Quote Reply
Re: "Back" to previous page In reply to
You can do:

<a href="javascript:history.go(-1)">Go Back</a>

I think there's a couple ways to do it. Not so great on Javascript either. =)

Cheers,

Alex
Quote Reply
Re: "Back" to previous page In reply to
Thanks Alex. That may help me with some other projects I'm working on too. Smile

I presume -2 will take you back 2 pages?
Quote Reply
Re: "Back" to previous page In reply to
Hi budley,

Try using the global variable
$ENV{'QUERY_STRING'}

It works for me...
Cheers

-JO