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

backing a framed URL into the top window



i have a set of framed pages where all of the frames but one are
navigational frames and the other is a large viewing frame named="main"

when an icon image is clicked in one of the nav frames, the URL of the
main frame changes accordingly.  all seems well, except the 'OUT' nav
icon which pops the current URL in the main frame into the top (parent
for the frameset) window for full window/no frames viewing (and bookmarking
which is the real reason i want the 'OUT' in the first placce).

i tried -

<a href="javascript:parent.main.history.go(0)" target="_top"><img
src="graphics/breakout.gif" border=0  height=44 width =44 ></a>

but it just reloads the URL into the main frame again.  i tried -

<a href="javascript:parent.main.history.go(0)" target="parent"><img
src="graphics/breakout.gif" border=0  height=44 width =44 ></a>

and it opened another window title "javascript:parent.main.history.go(0)"
then gave me a javascript error "main has no properties".  i tried -

<a href="javascript:parent.main.location.href" target="_top"><img
src="graphics/breakout.gif" border=0  height=44 width =44 ></a>

and got poped back to an unframed window title
"javascript:parent.main.location.href"
which has written in text on the page the URL of the page i want to load
into the window.

the website is at http://www.iquest.net/~plantone/index.html


i would really appreciate it if anyone could help me 'out' with this one.

thx... Stan

--------------------------------------------------------------------
This message came from the mailing list javascript. For help using the
mailing list software, 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'.