Hi,
When a user comes at my site I start a popup window with the next code. The session("loaded" is to open the popup window only once at the first hit). :
My site has 3 frames. <body <%call PopUp%> ..... is in the mainframe.
Now I want to make a link in the popup window that startups a page in the mainframe in the ORIGINAL browser and automattically make the popup window disappear.
Please help!
Erik
here is my code
----------------------------------------------------------
----------------------------------------------------------
When a user comes at my site I start a popup window with the next code. The session("loaded" is to open the popup window only once at the first hit). :
My site has 3 frames. <body <%call PopUp%> ..... is in the mainframe.
Now I want to make a link in the popup window that startups a page in the mainframe in the ORIGINAL browser and automattically make the popup window disappear.
Please help!
Erik
here is my code
----------------------------------------------------------
Code:
<body <%call PopUp%> .....
function PopUp()
if session("loaded") <> 1 then
Response.Write("onLoad=""window.open('../homepage/popup_vac.asp', 'popup_vac', 'top=200,left=100,height=300,width=300');""")
session("loaded") = 1
end if
end function