[thelist] not sure if this went through -- if so sorry for repost
rudy
r937 at interlog.com
Fri Jun 15 19:13:09 CDT 2001
hi fortune
thanks to dwayne for the inspiration
the reason it's not working is because of your function
function popUp(theURL,winName,features) {
window.open(theURL,winName,features);
window.focus(); }
see, when this runs in the main window, the last line, window.focus(), it's
referring to the main window!!
change this to
function popUp(theURL,winName,features) {
winName=window.open(theURL,winName,features);
winName.focus(); }
and then i think you can ditch the onload in the popup's BODY
and also ditch the focus in the link, because it's there in the function
rudy
More information about the thelist
mailing list