T
Terry Liittschwager
I've set up a small website www.mckenzieriverproblems.org to help
resolve a problem my wife and I are having, but I can't pop up images
entirely correctly. For example, in the third paragraph of the
initial page, I have four links to images. If I click on any one of
them, the appropriate image comes up, and I can click on the other
successively and they will work as long as I don't dismiss the popup
window. However, if I dismiss the popup window, then clicking on any
of the links produces nothing.
The script I'm using, copied from another site, is:
var newwindow = ''
function popitup(url) {
if (newwindow.location && !newwindow.closed) {
newwindow.location.href = url;
newwindow.focus(); }
else {
newwindow=window.open(url,'htmlname','width=520,height=395,resizable=1');}
}
function tidy() {
if (newwindow.location && !newwindow.closed) {
newwindow.close(); }
}
The link references are like:
<a href="javascriptopitup('images_v/eweb1.jpg')">first</a>
Interestingly, everything works right if I run the site off my local
computer files.
Any and all comments or suggestions are welcome.
Terry L.
resolve a problem my wife and I are having, but I can't pop up images
entirely correctly. For example, in the third paragraph of the
initial page, I have four links to images. If I click on any one of
them, the appropriate image comes up, and I can click on the other
successively and they will work as long as I don't dismiss the popup
window. However, if I dismiss the popup window, then clicking on any
of the links produces nothing.
The script I'm using, copied from another site, is:
var newwindow = ''
function popitup(url) {
if (newwindow.location && !newwindow.closed) {
newwindow.location.href = url;
newwindow.focus(); }
else {
newwindow=window.open(url,'htmlname','width=520,height=395,resizable=1');}
}
function tidy() {
if (newwindow.location && !newwindow.closed) {
newwindow.close(); }
}
The link references are like:
<a href="javascriptopitup('images_v/eweb1.jpg')">first</a>
Interestingly, everything works right if I run the site off my local
computer files.
Any and all comments or suggestions are welcome.
Terry L.