Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

Adding Dinamically some HTML onload

 
 
pamelafluente@libero.it
Guest
Posts: n/a
 
      09-27-2006

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
dinamically.

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
onload
(some is in the head and some in the body) ?

-P

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

<html>
<head>

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


.menuItemStyle{
background:#ddeeff;border-width:1px;border-style:inset;font-family:Arial;font-size:11px
}


</style>



</head>
<body>


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



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

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



</body>
</html>

--------------------------------------------------------------

 
Reply With Quote
 
 
 
Reply

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? adnanx82@gmail.com 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



Advertisments