-
Java Menu Help
I know next to nothing about Javascript etc. i found this menu on the internet for free but i'dlike to change a few things in it...first i want it to be able to span across frames when the menu opens up. and second i dont know how to set the target frame to "content" when they click on of the menu items so that it shows the .htm page in the content window. Any help would be nice I dont know what info you need but i'll post my html page thati have this menu in thanks.
Piblo
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script language="JavaScript" src="navbar.js"></script>
<script language="JavaScript" src="dhtmllib.js"></script>
<script language="JavaScript">
// Define navigation bar settings.
navBarX = 0;
navBarHeaderWidth = 90;
navBarMenuWidth = 190;
navBarBorderWidth = 1;
navBarPaddingWidth = 2;
navBarBorderColor = "#990000";
navBarHeaderBgColor = "#000000";
navBarHeaderFgColor = "#ffffff";
navBarActiveBgColor = "#990000";
navBarActiveFgColor = "#ffffff";
navBarItemBgColor = "#000000";
navBarItemFgColor = "#ffffff";
navBarHighBgColor = "#990000";
navBarHighFgColor = "#ffffff";
navBarHeaderFontFamily = "Verdana,Arial,Helvetica,sans-serif";
navBarHeaderFontStyle = "plain";
navBarHeaderFontWeight = "bold";
navBarHeaderFontSize = "10pt";
navBarItemFontFamily = "Verdana,Arial,Helvetica,sans-serif";
navBarItemFontStyle = "plain";
navBarItemFontWeight = "bold";
navBarItemFontSize = "8pt";
// Define navigation bar menus. Extend beyond 4 as desired
navBarMenus[0] = new Array("Home", "main.html" );
navBarMenus[1] = new Array("Forums", "http site here");
navBarMenus[2] = new Array("RvR Info", "rvr.htm");
navBarMenus[3] = new Array("Members", "members.htm");
navBarMenus[4] = new Array(
"Links", "links.htm",
" Boards", "httpsite here ");
</script>
</head>
<body bgcolor="black">
<body onload="navBarInit()">
</body>
</html>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks