Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Returning to that last page



******    message to minivend-users from Chris Rapier <rapier@psc.edu>     ******



Ryan Hertz wrote:

> It is in there somewhere, but we might as well put it in the archive again. :-)
> 
> I put this at the top of each of my flypages:
> 
> [set lastproduct][item-code][/set]
> [set mv_put_session]Yes[/set]
> 
> and then in my basket page:
> 
> <A HREF="[area href="[scratch lastproduct]"]"><IMG SRC="prev.gif" BORDER=0
> ALT="( PREV }"></A>
> 
> If you wanted someone to return to any other page you could [set
> lastproduct] to any page name.

okay, I can see how this would work for flypages but I don't see how it
would return you to the last 'results' page. However, I decided to be a
cheap bastard and just use this:
On the results page I 
[set jumpback]-1[/set]

On the flypage (which you get to from the results page) I 
[set jumpback]-2[/set]

On the basket page I have
<INPUT TYPE=button VALUE="Continue Shopping"
onClick="history.go([scratch jumpback])">

Which takes me back to the last results page I was looking at. Of
course, this is kind of fragile but I'm relatively confident that the
users will, 99% of the time, follow these two routes.

Chris
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: