Hello,
I've a problem I hava a page with different popup windows,
when I hit a link the first one pops up and with the first open i would like
to hit the second link in the parent page so the second links pops up a
window in
the first popup. The way I have it now is working but with each link the
size
of the popup window should be different but that doesnt happen how can I
solve that problem?
this is my code:
function NewWindow(mypag e, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops =
'height='+h+',w idth='+w+',top= '+wint+',left=' +winl+',scrollb ars='+scroll+', r
esizable'
win = window.open(myp age, myname, winprops)
if (parseInt(navig ator.appVersion ) >= 4) { win.window.focu s(); }
}
the first link:
<a href="#"
onClick="NewWin dow('info_banke tquiz.html','na me','488','255' );return
false;">info</a>
the second link:
<a href="#"
onClick="NewWin dow('info_consu menten.html','n ame','488','405 ');return
false;">info</a>
I hope that somebody can help me
Greetings Willem
I've a problem I hava a page with different popup windows,
when I hit a link the first one pops up and with the first open i would like
to hit the second link in the parent page so the second links pops up a
window in
the first popup. The way I have it now is working but with each link the
size
of the popup window should be different but that doesnt happen how can I
solve that problem?
this is my code:
function NewWindow(mypag e, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops =
'height='+h+',w idth='+w+',top= '+wint+',left=' +winl+',scrollb ars='+scroll+', r
esizable'
win = window.open(myp age, myname, winprops)
if (parseInt(navig ator.appVersion ) >= 4) { win.window.focu s(); }
}
the first link:
<a href="#"
onClick="NewWin dow('info_banke tquiz.html','na me','488','255' );return
false;">info</a>
the second link:
<a href="#"
onClick="NewWin dow('info_consu menten.html','n ame','488','405 ');return
false;">info</a>
I hope that somebody can help me
Greetings Willem
Comment