下面这段代码是一个头文件,怎样嵌入主文件。相当于导航条
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
<!-- saved from url=(0031)http://www.doteck.com ;-->
<HTML><HEAD><TITLE>doteck</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META
content=" At Ciplex we believe that a quality product is derived through Los Angeles professional design web, the imagination of the creative, and the expertise of the development team"
name=description>
<META
content="Web Site Design Los Angeles, Web Design Lgnos Angeles, Los Angeles Web Site Design, Los Angeles Web Design, Web Site Design Los Angeles, Website Design Los Angeles, Los Angeles Website Design, Web Design In Los Angeles, Web Design Company Los Angeles, Ecommerce Web Design Los Angeles, Ecommerce Web Site Design Los Angeles, Los Angeles Professional Web Design"
name=keywords><LINK href="main.css" type=text/css rel=stylesheet><!-- these two are required for transmenus to function --><LINK
href="menu.css" type=text/css rel=stylesheet>
<SCRIPT language=javascript src="transmenu.js"
type=text/javascript></SCRIPT>
<SCRIPT language=javascript type=text/javascript>
//<!init menu
function init() {
if (TransMenu.isSupported()) {
TransMenu.initialize();
document.getElementById("mtm_home").onmouseover = function() { ms.hideCurrent(); this.className = "hover"; }
document.getElementById("mtm_home").onmouseout = function() { this.className = ""; }
menu2.onactivate = function() { document.getElementById("mtm_company").className = "hover"; };
menu2.ondeactivate = function() { document.getElementById("mtm_company").className = ""; };
menu3.onactivate = function() { document.getElementById("mtm_services").className = "hover"; };
menu3.ondeactivate = function() { document.getElementById("mtm_services").className = ""; };
menu4.onactivate = function() { document.getElementById("mtm_our_work").className = "hover"; };
menu4.ondeactivate = function() { document.getElementById("mtm_our_work").className = ""; };
menu5.onactivate = function() { document.getElementById("mtm_website_success_tools").className = "hover"; };
menu5.ondeactivate = function() { document.getElementById("mtm_website_success_tools").className = ""; };
menu6.onactivate = function() { document.getElementById("mtm_contact_us").className = "hover"; };
menu6.ondeactivate = function() { document.getElementById("mtm_contact_us").className = ""; };
}
}
//>
</SCRIPT>
<META content="MSHTML 6.00.2900.3020" name=GENERATOR><style type="text/css">
<!--
body {
background-color: #FFFFFF;
}
body,td,th {
font-family: Tahoma, Arial, Helvetica, sans-serif;
}
#Layer1 {
position:absolute;
width:355px;
height:33px;
z-index:1;
top: 72px;
visibility: visible;
}
-->
</style></HEAD>
<BODY onload=init()>
<DIV id=main align=center>
<DIV id=top_icons>
<table width="100%" border="0">
<tr>
<td><img src="file:///E|/doteck.com/images/logo-s-s.gif" width="413" height="66"><img src="file:///E|/doteck.com/images/images/afterlogo_01.gif" width="179" height="66"><img src="file:///E|/doteck.com/images/images/afterlogo_02.gif" width="169" height="66"><img src="file:///E|/doteck.com/images/images/afterlogo_03.gif" width="202" height="66"></td>
</tr>
</table>
<div id="Layer1"><strong><font color="#ff3300">用户服务热线(hotline): 010-62120151 Mobile:13910290608 MSN:freedom_941@hotmail.com </font></strong></div>
</DIV>
<DIV id=topmenu>
<DIV id=mtm_menu><A> </A> <A id=mtm_contact_us href="#">English</A> <A id=mtm_website_success_tools href="http://www.doteck.com/info/contact.asp";>帮助</A> <A id=mtm_our_work href="http://www.doteck.com/info/contact.asp";>联系我们</A> <A id=mtm_services href="http://www.doteck.com/info/zixun.asp";>技术中心</A> <A id=mtm_company href="#">产品</A> <A id=mtm_home href="http://www.doteck.com";>首页</A></DIV>
<SCRIPT language=javascript type=text/javascript>
if (TransMenu.isSupported()) {
var ms = new TransMenuSet(TransMenu.direction.down, -13, 0, TransMenu.reference.bottomLeft);
var menu2 = ms.addMenu(document.getElementById("mtm_company"));
menu2.addItem("美国 BCI系列", "http://www.doteck.com/item/bci.asp";)
menu2.addItem(" Doteck系列 ", "http://www.doteck.com/item/doteck.asp";);
var menu6 = ms.addMenu(document.getElementById("mtm_contact_us"));
menu6.addItem("Doteck Series", "http://www.doteck.com/en/doteck.asp";);
menu6.addItem(" BCI Series", "http://www.doteck.com/en/bci.asp";);
TransMenu.renderAll();
}
</SCRIPT>
</DIV>
<DIV id=cnt_area>
<DIV class=float_close> </DIV></DIV>
</DIV>
<SCRIPT src="urchin.js" type=text/javascript>
</SCRIPT>
<SCRIPT type=text/javascript>
_uacct = "UA-317480-1";
urchinTracker();
</SCRIPT>
</BODY></HTML>