hwg-basics archives | Jun 2000 | new search | results | previous | next |
javascript clashes with DHTMLby mkdesai(at)powersurfer.net |
|
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