Results 1 to 2 of 2

Thread: Starting java scripts

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Posts
    43
    Okay, the onload="whatever();" starts the script when the page is fully loaded, how can youstart a script as soon as the window first opens?
    Thanx
    Cease
    Cease

    This post has been brought to you with the help of:

  2. #2
    Guest
    just put it in the <head></head> section along with the title.

    <html>
    <head>
    <title>My javascript page<title>
    <script>
    //put your code here
    Alert("Hello")
    </script>
    </head>
    <body>
    </body>
    </html>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width