Posted by: prajapatinilesh | September 20, 2007

Source Include In Js

Source Code of included header file (JS-IncludeT.js):
<!–
document.writeln(‘<center>’);
document.writeln(‘<h2>Top: This was included by js</h2>’);
document.writeln(‘</center>’);
// –>

Source Code of included footer file (JS-IncludeB.js):
<!–
document.writeln(‘<center>’);
document.writeln(‘<h2>Bottom: This was included by js</h2>’);
document.writeln(‘</center>’);
// –>

Source Code of main page:

<table width=”100%” border=”0″ cellpadding=”0″ cellspacing=”0″>
<tr>
<td width=”100%” height=”42″ valign=”top” bgcolor=”#66CCFF”>
<script language=”JavaScript” src=”JS-IncludeT.js”></script>
</td>
</tr>
<tr>
<td valign=”top” height=”49″ bgcolor=”#FFFFFF”>
<script language=”JavaScript” src=”JS-IncludeB.js”></script>
</td>
</tr>
<tr><td height=”175″></td></tr>
</table>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: