javascript clashes with DHTML

by mkdesai(at)powersurfer.net

 Date:  Mon, 12 Jun 2000 22:47:49 +0530
 To:  "list" <hwg-basics(at)hwg.org>
  todo: View Thread, Original
guys,
    help!!

i have inserted a DHTML animation in one of the pages so the body tag
became:
 <BODY onLoad="initAnimation()">


i then wanted to insert another javascript which also needs to be included
in the <body> tag i.e.
<body onLoad="makesnake()"
style="width:100%;overflow-x:hidden;overflow-y:scroll">



both work fine individually. but i cant have 2 body tags. how do i combine
them?

THIS  <body onLoad="initAnimation()" onLoad="makesnake()"
style="width:100%;overflow-x:hidden;overflow-y:scroll">  DOESNT WORK.

obviously the onload tag is to be used only once by including bith
initanimation and makesnake together. the question is how???

thanks.

Y@sh  Des@i

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA