...

View Full Version : onLoad Script W/O Body Tag



SmArTaSs
06-14-2003, 11:58 PM
I Need Help! I Need To Make A Body OnLoad Tag, But I Don't Want A Body Tag. Here Is How My Body Tag Is Now:

:confused: <BODY onLoad="clock();scrollit(100)" bgcolor="#03092B" topmargin="1" leftmargin="1" link="#03092B" vlink="#03092B" alink="#03092B" text="#FFFFFF">

I Want The onLoad="scrollit(100)" To Work, But Without Having A Body Tag (Don't Ask Why - It's A LONG Story). When The Window Opens, I Want That Command To Be Followed Through. Any Ideas?

Thnx For Any Help,
-Matt

scriptkeeper
06-15-2003, 12:29 AM
window.onload=function doThis(){

//stuff to do

}

SmArTaSs
06-15-2003, 12:58 AM
Thnx!!!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum