View Full Version : A problem with <body onLoad>

10-25-2011, 01:57 AM
I used a javascrip as http://www.dynamicdrive.com/dynamicindex6/clock2.htm and http://www.dynamicdrive.com/dynamicindex14/preloadslide.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

10-25-2011, 03:48 AM
There could also be other problems. But if it's only a conflict of the body onload:

<body onLoad="show_clock(); StartSlideShow();">

will fix it.