Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: cc2k
Yes Thanks! - As I said my back button works - I just thought the same form of statement could be used to do the home page reload. The direct A href statement works - I just have to use a "Form" to make a Home button - copy it and use it as the gif button - seemed kind of like cheating. ;-)

PS: I'm cheating anyway - I'm a jscript/cgi/.net newbie just trying to make a few things work! At least with straight html I don't have to cover instances where java is not enabled! ;-)

15 posted on 11/03/2009 3:44:12 PM PST by Tunehead54 (Nothing funny here ;-)
[ Post Reply | Private Reply | To 13 | View Replies ]


To: Tunehead54
Perhaps a better question is, why would your frameset page ever be loaded inside a frame? You might just want to fix that page so that it forces itself into the _top window when loaded.

There are a lot of ways to do this. None are particularly elegant. One method is to use the "onLoad" event on the body tag. It has been a while. Seems like it goes something like this (my javascript might be a bit rusty here)


<body onLoad="if (self != top) { window.open('/index.html','_top','') }">
That will prevent your frameset document from being "framed". Note, change the 'index.html' in the window.open to whatever the document is that contains your frameset.
17 posted on 11/03/2009 4:06:00 PM PST by cc2k (I have donated to David Harmer, have you? [check my recent reply posts])
[ Post Reply | Private Reply | To 15 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson