Click to See Complete Forum and Search --> : Target Frame in a Javascript


cavnet
02-24-2003, 04:03 PM
I have downloaded a keyword script for my HS web site, but the pages loaded from it load in a different frame than I want them to... How do I tell the links to load in the mainFrame? The script, btw, is a javascripts.com under navigation. It's called the Caldara Keyword Script. Thank you for your assistance.

:confused:

dzzie
02-24-2003, 04:25 PM
top.window.frameName.location.href = "http://

if the frames are nested then you may have to
do something like

top.window.parentFrameName.childFrameName.location.href=

to get a quick overview of the framelayout and nesting
you can use somehting like my frame analyzer...to test
and debug script commands on the fly, check out the
javascript console...both are freely available in the
"Sleuth browser extensions" package from here:

http://sandsprite.com/Sleuth/

cavnet
02-25-2003, 03:54 PM
Dzzie, you are a god among web developers. Thank you so much!!!

:D