File: D:/web/homefly/includes/menu.htm
<html>
<head>
<title>DHTML Menu</title>
</head>
<body>
<!--#include file="vsadmin/db_conn_open.asp"-->
<!--#include file="vsadmin/includes.asp"-->
<!--#include file="vsadmin/inc/languagefile.asp"-->
<!--#include file="vsadmin/inc/incfunctions.asp"-->
<script language="JavaScript1.2" src="../popouttext.js">
</script>
<script language="JavaScript1.2">
mymenu = new POTMenu
// Defines the size of the main menu items, width and height
mymenu.mainmenuitemsize(130,16)
// Defines the size of the sub menu items, width and height
mymenu.submenuitemsize(152,16)
// Defines the position of the sub menus in relation to the parent
mymenu.submenuplacing(0,0)
// Images that make up the border of the main menu. Optional.
mymenu.mainborderimages("images/greypixel.gif","images/greypixel.gif","images/clearpixel.gif","images/greypixel.gif")
// Corners of the images that make up the main menu border.
mymenu.mainbordercorners("images/greypixel.gif","images/greypixel.gif","images/greypixel.gif","images/greypixel.gif")
// Left width, right width and height of the top and bottom of the border
mymenu.mainborderdimensions(1,1,1)
// These lines are for the sub menu borders
mymenu.subborderimages("images/greypixel.gif","images/greypixel.gif","images/greypixel.gif","images/greypixel.gif")
mymenu.subbordercorners("images/greypixel.gif","images/greypixel.gif","images/greypixel.gif","images/greypixel.gif")
mymenu.subborderdimensions(1,1,1)
// Main menu cell color
mymenu.mainmenucolor("#FFFFFF")
// Sub menu cell color
mymenu.submenucolor("#FFFFFF")
// Centers text for Netscape 4.7
mymenu.netscapeadjust(3,3)
// The image that is show between the main menu items
mymenu.definemainspacer("images/greypixel.gif",1)
// The image that is show between the sub menu items
mymenu.definesubspacer("images/greypixel.gif",1)
// Do you want to "hide" (SELECT menus, OBJECT tags) when in the menu
mymenu.hideobjects(true,true)
// This line is required here
mymenu.startMenu()
// Define the main menu.
mymenu.addMenu("home"," HOME", "default.asp")
/* <%
' Please note, the following line of code is used to automatically create the links for the product sections
' If you do not want to use this feature, please delete this line of code in your Main.dwt template
' along with the corresponding section below.
%> */
mymenu.addMenu("products"," PRODUCTS", "categories.asp")
mymenu.addMenu("reference"," REFERENCE", "reference.htm")
mymenu.addMenu("back orders"," BACK ORDERS", "back_order.htm")
mymenu.addMenu("gallery"," GALLERY", "gallery.htm")
mymenu.addMenu("humor"," HUMOR", "records.htm")
// This line is required after the main menu is defined.
mymenu.showMainMenu()
// Define the sub menus
// Delete these 7 lines and the corresponding lines above if you
// don't want an automatically generated popout menu.
<% if false then %> </script> <% end if
menuprestr = " "
menupoststr = "" %>
<!--#include file="vsadmin/inc/incmenu.asp"-->
<% if false then %> <script language="JavaScript1.2"> <% end if %>
// This line is required after all menu definitions are finished
mymenu.showMenu()
</script>
</body>
</html>