Have an "onload" function. The script would look at the document's referrer. If the documents are named in a logical way, for example "page1", "page2", then you can do a substr on the name, get the number, and tell which direction you came from.
If you're running fullscreen, then what back button are you pressing? If you have built your own navigation buttons, then you can handle this with a querystring variable.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
Well, there you go. Have the back button append a querystring variable, and have all your "onload" scripts check for the presence of that variable, and act accordingly.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
I tend not to worry too much about these issues. If a user uses shortcuts around my navigation, I assume they know what they are doing, and what results they'll get. If there are any complaints, I simply demonstrate that the issue has been addressed in the site's navigational elements. Done.
I also realize that most users quickly tire of "sexy interface effects", and while I pass no judgment on fading/layers or gendv's courseware system, it's not an effect I'd use, personally. If an effect is getting in the way of usablity, then do away with the effect.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37