ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Back to search results

August 30, 2007 8:41pm

Subscribe [0]
  • #1 / Aug 30, 2007 8:41pm

    Is there a way to return back to the search results?

  • #2 / Aug 30, 2007 8:47pm

    Sue Crocker

    26054 posts

    Here’s a quick and dirty javascript solution:

    <FORM>
    <INPUT TYPE="button" VALUE="Get Back, Jack!" onClick="history.go(-1)">
    </FORM>

    Borrowed a site found through googling for javascript back button.

  • #3 / Aug 30, 2007 8:55pm

    How do you implement this? The search results page sends you right to your template with your entry. How to you only make this button appear only when your searching?

  • #4 / Aug 30, 2007 8:56pm

    Sue Crocker

    26054 posts

    You didn’t say you wanted it only to show if the referrer was from search. 😊

    I’ll have to go look that up. 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases