[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's New



I'm talking about the Back button on Netscape.  If you put a forced link on
page 1 to page 2, and the user clicks the Back button, you are bounced back
to page 2.  The script in page 1 needs to be smart enough to know that
you're coming from page 2, and back you up one more in the history list.  A
"back" button on the screen won't help here, since people can still use the
Back button -- or Back command -- to navigate (which is what I tend to do).

I agree that a "what's new page" in general works best with something like
frames, which case a back button there makes sense (though it's not as
needed, I wouldn't think, since you can just have a static frame of "what's
new").  

-- Gordon

At 01:11 PM 3/7/96 -0400, you wrote:
>
>Not sure exactly what you are saying, but if it is a "BACK" button to use in
>frames (or non-frames), try this:
>
>BACK.HTML
>
><html>
><SCRIPT LANGUAGE="JavaScript">
>
>function backframe2()
>	{
>	parent.frames[2].history.go(-2)
>	}
>
>document.writeln(backframe2())
></SCRIPT>
></html>
>
>(Note, I use frames[2].history so that my "display frame" backs up one.  My
>BACK button sits in another frame, so I have to specify which frame to
>BackUp the href for.)
>----------------------------------------------------------
>
>Then simply link a BACK icon to it with
>
><A HREF="back.html" TARGET="display"> 
><img border=0 src="/icons/back.gif" align=top></A> 
>
>Is this pretty clear?
>
>Stew Pressnall
>cquest@cquest.com
>
>
>--------------------------------------------------------------------
>For help about the list, please send a message to 'majordomo@obscure.org'
>with the message body 'help'. To unsubscribe, send a message to
>'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
>List archives and pointer to FAQ: http://www.obscure.org/javascript/
>
>

--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/