[thelist] javascript help

Alberto Domingo alberto.domingo at uah.es
Mon Jun 27 11:08:32 CDT 2011


Hi Bob,

This could do what you describe:


<html>
<head>
</head>
<body onload="if(!window.opener) 
document.location.href='http://lists.evolt.org'">
Popup contents
</body>
</html>


The same code can be included in a script tag anywhere in the head or 
the body.

Alberto


At 10:35 26/06/2011, you wrote:
>Would someone be so kind as to give me a hand with a simple javascript?
>
>What I need is a js that checks to see if a pop-up window has been 
>opened as a pop-up or not, and if not, write a link.
>
>i.e - if opener is null, then write http:///www.mulink.com, else do nothing.
>--
>
>* * Please support the community that supports you.  * *
>http://evolt.org/help_support_evolt/
>
>For unsubscribe and other options, including the Tip Harvester
>and archives of thelist go to: http://lists.evolt.org
>Workers of the Web, evolt !



More information about the thelist mailing list