MyBB Community Forums

Full Version: Two onload codes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, i have two onload codes, they go in the body tag

e.g.

<body (onload code here)> </body>

here are the two codes, a java script command, and a DHTML command.

onLoad="scrollit(100)"

and

onload="dynAnimation()" language="Javascript1.2"

how can i put the two so they dont stop eachother from working (i.e. merge them)

thanks
<body onload="scrollIt(100); dynAnimation();">