Pop up window script …

My headache about the report has gone for now and I have found out the reason behind the inconsistent results of the report. In addition, I have goggled for the pop up window script and implement it to run with the report so that it will alert the users who login to the system.

The scripts are as follow. It will be easier for me to find the scripts in my blog rather than google for it again when I need it.

Have the following javascript at your header section.

<SCRIPT TYPE=”text/javascript”>
<!–
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == ’string’)
href=mylink;
else
href=mylink.href;
window.open(href, windowname, ‘width=600, height=400, resizable= yes, scrollbars=yes’);
return false;
}
//–>
</SCRIPT>

To call automatically pop up the window, enter the code below in the body section.

<font class=”header”><BODY onLoad=”popup(‘http://myi4u.me’, ‘ad’)”></font>

Leave a Reply

Your email address will not be published. Required fields are marked *