Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onload() not working

Status
Not open for further replies.

samosa

Technical User
Jul 15, 2005
38
IT
can anyone please look at this body of an html and tell why the onload() function called onload="rotate()" is not working?
Thanks in advance.

<body bgcolor=&quot;#FFFFFF&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; onload=&quot;init();&quot; onResize=&quot;if (isNS4) nsResizeHandler();&quot;; onload=&quot;MM_preloadImages('<img src=images/recip2.jpg>n_icon1on.gif', '<img src=images/recip2.jpg>n_icon2on.gif')&quot;; onload=&quot;rotate()&quot;>
 
Only use one onload event!!
<body bgcolor=&quot;#FFFFFF&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; onload=&quot;init();
MM_preloadImages('<img src=images/recip2.jpg>n_icon1on.gif', '<img src=images/recip2.jpg>n_icon2on.gif'); rotate()&quot;
onResize=&quot;if (isNS4); nsResizeHandler()&quot;> [bomb]
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
admin@onpntwebdesigns.com
 
Great stuff onpnt!
Thank you indeed!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top