[thelist] not sure if this went through -- if so sorry for re post

Fortune Elkins fortune_elkins at summithq.com
Fri Jun 15 19:24:29 CDT 2001


hiya dwayne!

this is a beautiful thing -- thank you!<Grin>

does your "this" work also in Netscape 6 and NEtscape 4.76? if so, then i'm
golden!

many, many thanks,

fortune


-----Original Message-----
From: dwayne [mailto:dwayne at iconys.com]
Sent: Friday, June 15, 2001 2:22 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] not sure if this went through -- if so sorry for
repost


oops - i didn't read that closely enough. you have the popUp() function in 
the parent page calling focus() on itself. and rudy's right, 
<BODY onLoad="self.focus">
needs the () after it.

for what it's worth, this is the code i've been using, all in the page 
calling the popup:

<script language="JavaScript1.1">

<!--
// AOL detect
// some AOL browsers have trouble with pop up windows
var aol = false;
if (navigator.userAgent.indexOf("AOL") != -1) {
        aol = true;
}

var pop_win;
function popIt() {
    if (!aol) {
        pop_win=window.open('/page.html',
        'display',
        'scrollbars,width=400,height=450');
                if (!pop_win.opener) {
                        pop_win.opener=window;
                }
                setTimeout('pop_win.focus()', 500);
        } else {
                top.location='page_low.html';
        }

}
//-->
</script>

and triggering it with:
<a href="/page.html" onclick="popIt(); return false;">

not sure if it's the best way, but it should get you going tonight.


- dwayne

---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.





More information about the thelist mailing list