Why is this small Javascript not working ?

A

Arthur Connor

Below you will find the first lines of my HTML page.
Why doesn't popup a dialog window ?
I click the Html page which is on my hard disc. A IE 5.5 browser window opens
but not a dialog window inside.

<HTML>
<HEAD>
<TITLE>Test page</TITLE>
<script LANGUAGE="JavaScript">
<!--
function popitup(percent){
popup = window.open("","popDialog","height=160,width=300,scrollbars=no");
popup.document.write("HELLO"+percent);
//popup.document.close();
}
// -->
<script>
</HEAD>
<BODY onLoad="popitup(0)">
.....

Arty
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top