Click to See Complete Forum and Search --> : Body tag and Onload


Janna
07-28-2003, 05:56 PM
Can I add two onload attribute to one body tag? If so, how?
Thank you

<body bgcolor="#E6E6DC" onLoad="show_pic()" ONLOAD="preloadImages();" >

pyro
07-28-2003, 05:59 PM
Yes, like this:

<body onload="functionOne(); functionTwo();">

Janna
07-29-2003, 09:32 AM
Thanks! I thought I'd tried that, but will do it again. Janna

pyro
07-29-2003, 10:09 AM
You're welcome... :)