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

To: cc2k

Thanks - I may have to go that way but you know way more than I - Is there a parameter using either the “button onClick=” or the
“a onClick=” to load a straight url (http://www.mysite.com)?


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


To: Tunehead54
See my previous post.

You could also do a <button onclick="window.open('/index.html','_top','')">Home</button>

But in Post 17 I outlined a way to make your index.html check itself when it loads and make certain that is isn't being loaded in a frame. I think that is the better approach. You could use the window.open function on your button to avoid the second loading of the window in the "_top" window, but I would definitely add the onLoad event to unframe yourself, should anyone try to load your main frameset in another frame.

18 posted on 11/03/2009 4:11:14 PM PST by cc2k (I have donated to David Harmer, have you? [check my recent reply posts])
[ Post Reply | Private Reply | To 16 | 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