Results 1 to 2 of 2

Thread: A problem with <body onLoad>

  1. #1
    Join Date
    Aug 2011
    Posts
    14
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default A problem with <body onLoad>

    I used a javascrip as http://www.dynamicdrive.com/dynamicindex6/clock2.htm and http://www.dynamicdrive.com/dynamici...eloadslide.htm in the same html and I had a problem with <body onLoad="show_clock()"> and <body onLoad="StartSlideShow()"> one of them run well. Please help me to run two javascrips in the same html. Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There could also be other problems. But if it's only a conflict of the body onload:

    Code:
    <body onLoad="show_clock(); StartSlideShow();">
    will fix it.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •