Why is this small Javascript not working ?

Discussion in 'HTML' started by Arthur Connor, Aug 27, 2003.

  1. 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
     
    Arthur Connor, Aug 27, 2003
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Q2hyaXM=?=

    upload not working with small files? <4KB?

    =?Utf-8?B?Q2hyaXM=?=, Mar 2, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    419
    =?Utf-8?B?Q2hyaXM=?=
    Mar 2, 2005
  2. Horace Nunley

    why why why does function not work

    Horace Nunley, Sep 27, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    736
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Sep 27, 2006
  3. Mr. SweatyFinger

    why why why why why

    Mr. SweatyFinger, Nov 28, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    1,386
    Mark Rae
    Dec 21, 2006
  4. Mr. SweatyFinger
    Replies:
    2
    Views:
    2,853
    Smokey Grindel
    Dec 2, 2006
  5. Skybuck Flying
    Replies:
    16
    Views:
    946
    tragomaskhalos
    Aug 25, 2007
  6. Replies:
    1
    Views:
    191
    cwdjrxyz
    Jul 7, 2006
  7. Replies:
    1
    Views:
    183
  8. Brian Kendig
    Replies:
    1
    Views:
    324
    Geoff Stearns
    Mar 17, 2007
Loading...