Welcome to TalkGraphics.com
Results 1 to 2 of 2

Thread: body onload

  1. #1
    Join Date
    May 2009
    Posts
    9

    Default body onload

    I have a function that I want to activate when the page loads using <body onload=function();>

    Is there a way to add the 'onload' to the body within XWD ?

    Thanks

  2. #2
    Join Date
    May 2009
    Posts
    9

    Default Re: body onload

    Eventually found the answer to my problem

    Instead of <body onload=function();>

    I added

    window.onload=function();

    within the <head>......<script language='javascript'></script> after the function is defined.

    I know how to add things in the <head> in XWD by simply naming an object '<head>' on the page.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

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