D
dalerguy_home
Hi,
Designed a site with layers. Each layer has a different bk_image...
One of the layers 'Gallery' has links to picture galleries. Each link
will open a popup window with a slideshow view script to brower the
pics. Below is the popup window script.
<!-- popup window -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops =
'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll
+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// End -->
</script> <!-- end popup window -->
reference in body to call script:
<a href="galone.htm" onclick="NewWindow
(this.href,'name','450','450','no');return false;">Test 2002</a>
OK when I click a link to view the pics then closing the popup window
bringing me back to the main page, the background images on each layer
disappear. I have to click reload to reload the images.
Seems like i need to reload the page automaticlly upon closing the popup
windows. How do I do that?
Any help would be great... thanks
-- Frustrated Dalerguy
Designed a site with layers. Each layer has a different bk_image...
One of the layers 'Gallery' has links to picture galleries. Each link
will open a popup window with a slideshow view script to brower the
pics. Below is the popup window script.
<!-- popup window -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops =
'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll
+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// End -->
</script> <!-- end popup window -->
reference in body to call script:
<a href="galone.htm" onclick="NewWindow
(this.href,'name','450','450','no');return false;">Test 2002</a>
OK when I click a link to view the pics then closing the popup window
bringing me back to the main page, the background images on each layer
disappear. I have to click reload to reload the images.
Seems like i need to reload the page automaticlly upon closing the popup
windows. How do I do that?
Any help would be great... thanks
-- Frustrated Dalerguy