PDA

View Full Version : need help with top navigation bar



spiderman
08-15-2005, 05:18 AM
Hello guys,


i have downloaded the top navigation menue from the dynamic drive site which is called (topmenue). What i would like to do, is place this navigation bar right below a banner or a graphic which should be on top of the site. I tried this by making a table with four different cells and simply inserting my "script" into the second cell (so that i can place the graphic on top of it). Unfortunately it did not work out...probably cause it is a topmenue. Can anybody tell me how to fix this problem?

Thanks in advance (source code can be found below) =)

Spiderman


<html>

<head>
<meta http-equiv="Content-Language" content="de">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Neue Seite 1</title>


<style>
all.clsMenuItemNS, .clsMenuItemIE{text-decoration: none; font: bold 12px Arial; color: white; cursor: hand; z-index:10}
#MainTable A:hover {color: "#CC9966";}
</style>

<script language="JavaScript">
//Top Nav Bar I v2.1- By Constantin Kuznetsov Jr.
//Modified by Dynamic Drive for various improvements
//Visit http://www.dynamicdrive.com for this script

var keepstatic=1 //specify whether menu should stay static (works only in IE4+)
var menucolor="#996600" //specify menu color
var submenuwidth=150 //specify sub menus' width

</script>
</head>

<body>

<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="100%"></td>
</tr>
<tr>
<td width="100%">

<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="menucontext.js"></script>
<script language="JavaScript">
showToolbar();
</script>
<script language="JavaScript">
function UpdateIt(){
if (ie&&keepstatic&&!opr6)
document.all["MainTable"].style.top = document.body.scrollTop;
setTimeout("UpdateIt()", 200);
}
UpdateIt();
</script>
&nbsp;</td>
</tr>
<tr>
<td width="100%">&nbsp;</td>
</tr>
<tr>
<td width="100%">&nbsp;</td>
</tr>
</table>


</body>

</html>