B
Brian Shannon
I have a javascript function that is executed when a link button is clicked:
If Not (Page.IsClientScriptBlockRegistered("PopupWindow")) Then
Page.RegisterClientScriptBlock("PopupWindow", Script)
End if
Script is a variable that is filled from calling a function that filles in
all the assigned variables
for the new window to open.
My problem is that I can't keep the window on top. It opens on top but when
my .aspx page finishes refreshing then the .aspx pages opens on top of my
pop up window. How can I keep my pop window on top.
I am not very knowledgeable with javascript and luckily got this function to
work after a lot of help on the newsgroups.
Is there a modal window I should use? I currently use window.open("link",
variables)
The window list instructions if the user needs them for an intranet
application.
Thanks
If Not (Page.IsClientScriptBlockRegistered("PopupWindow")) Then
Page.RegisterClientScriptBlock("PopupWindow", Script)
End if
Script is a variable that is filled from calling a function that filles in
all the assigned variables
for the new window to open.
My problem is that I can't keep the window on top. It opens on top but when
my .aspx page finishes refreshing then the .aspx pages opens on top of my
pop up window. How can I keep my pop window on top.
I am not very knowledgeable with javascript and luckily got this function to
work after a lot of help on the newsgroups.
Is there a modal window I should use? I currently use window.open("link",
variables)
The window list instructions if the user needs them for an intranet
application.
Thanks