Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q499

irt.org | About | Feedback | 1539 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q499

Sent by
Albert Grant on July 26, 2000 at 15:06:52:

Worth:
Very worth reading

Length:
Just right

Technical:
Not technical enough

Comments:
I had one problem with this- when I returned to the referring URL it was still in the hiddem frame. This sent me on a long quest to solve that issue. The solution was:

Include the following code in each page you want the folks to go back from:

<script language="JavaScript">
<!--
if (top.document.referrer != '')
document.writeln('<a href="' + top.document.referrer + '" target="_top">Go back to where you started</a>');
//-->
</script>

-Or-
You could always put it in a "blank.html" file so it would always be at the bottom of the screen, but that would eat up some valuable viewing space. (my site as an example below). In this case you would have to define the "rows" in the "frameset" statement in index.html to be less than 100% (I used 93%).

For an example go to: http://www.southriver.com/refsites.html and click the link to "Web-Busters" - Then click on the "Go back..." link. It will bring you back to the URL where you entered the Web-Busters site from. Please bear in mind that this only works if they entered your site by clicking on a link.

Interesting lesson.

</script>

-Or-
You could always put it in a "blank.html" file so it would always be at the bottom of the screen, but that would eat up some valuable viewing space. (my site as an example below). In this case you would have to define the "rows" in the "frameset" statement in index.html to be less than 100% (I used 93%).

My main challenge was setting the "target" property.
For an example go to: http://www.southriver.com/refsites.html and click the link to "Web-Busters" - Then click on the "Go back..." link. It will bring you back to the URL where you entered the Web-Busters site from. Please bear in mind that this only works if they entered your site by clicking on a link.

Interesting lesson.

Regards,
Al



Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.