View Full Version : REdirecting + Iframes???
pukey
11-07-2002, 08:58 PM
i am trying to get a page to redirect to another. which is fine, but the code needs to come from a page in an Iframe. the problem is i dont want the new page to appear in the Iframe but as the whole page in the browser.
how can i do this???
the code im using ATM, but isnt working is:
window.location="http://yahoo.com"
cheers
Luke
chrismiceli
11-07-2002, 10:49 PM
i don't know if anything else would work, you can try parent.locate = "www.yahoo.com", not sure if that is any different, but you could make an ivisible link on the other page, not the iframe and in the iframe do this
document.links[name].clicked = true
try that
glenngv
11-08-2002, 06:21 AM
there is no such method as .locate :D
try:
top.location="http://www.yahoo.com";
pukey
11-08-2002, 10:23 AM
top.location got it working!
Thanks For taking time to reply.
Thanks Very Much!
:thumbsup:
chrismiceli
11-08-2002, 01:21 PM
sorry typo
parent.locate
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.