|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am having problems targeting a specific frame in the opener window from a popup window. I can load into the entire window but can't target a frame other than the one the popup spawned from. Any ideas?
From opener: <SCRIPT LANGUAGE="JavaScript"> <!-- var loaddelay = null var timer = 0 var timelength = 15000 function newsAlert(url, name) { popup = window.open('','News_Flash',"width=350,height=250"); popup.location.href="news/news_flash_popup.htm"; if (popup.opener == null) popup.opener = window; popup.opener.name= "original"; timer=setTimeout('newsAlert()',timelength); } --> </SCRIPT> From popup: <SCRIPT LANGUAGE="JavaScript"> <!-- function docLoad(url) { opener.location = url; } --> </SCRIPT> <A HREF="#" onClick="docLoad('a_document.html')">A Document</A></P> |
|
#2
|
|||
|
|||
|
The following reference should work:
opener.parent.Framename ------------------ Ramon Litjens Boradoli Web Design (www.boradoli.nl) |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Targeting frames in opener from remote window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|