PDA

View Full Version : HOw can I make the popit menu open a new window



ryancmartin
07-05-2005, 03:11 PM
I have a script i want to call:

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(); }
}

from the links i have in my popit menu, how can i do it, right now it is going my new popup window but the parent window is going there as well. Can I make the parent window inactive while clicking on the link

jscheuer1
07-05-2005, 08:13 PM
odihd;v
odihd;v

patelekta
05-24-2011, 10:18 PM
I am having the same requirement did you find any solution?

jscheuer1
05-24-2011, 11:47 PM
Warning: Please include a link to the DD script(s) in question in your post. See this post (http://www.dynamicdrive.com/forums/showpost.php?p=7) for more information.