Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Adding Dinamically some HTML onload

Thread Tools

Adding Dinamically some HTML onload
Posts: n/a

Hi guys,

Now that I have moved most of the javascript code and handlers
in the ONLOAD handler, I am thinking that would be the case
to move there also the style and HTML that is used only

This is the scheme of my HTML page. Here I indicate the syle and
code I could
generate ONLOAD.

What do you think is the most appropriate way to generate this code
(some is in the head and some in the body) ?


------------------ HTML -----------------------------------


<style type="text/css" media="screen">
<!--some "static" styles here ... -->




<!--some "static" html here ... -->

<form name="form1" method="get" action="ReportProcessor.aspx">
<input type="hidden" name="hiddenFieldName" id="hiddenFieldID"/>

<div id="menuActions" style="position:absolute; display:none">
<table >
<td bgcolor="#eeaa66" style="width: 15px"> </td>
<td id="menuItemContainer"></td>



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
onload -->* no onload marco Javascript 7 06-24-2006 08:39 PM
Why doesn't frameset onload event get called when each of the frames has an onload? Javascript 5 05-15-2005 01:58 PM
base.OnLoad called, OnLoad not executed Fabio R. ASP .Net 0 03-25-2005 01:21 PM
Datagrid - Funny problem - Dinamically Adding RadioButton Luiz Vianna ASP .Net Web Controls 1 03-07-2005 05:31 AM
window.onload and body.onload differences David Otton Javascript 2 11-04-2004 04:34 PM