///--------menuItems.js------------ //copyright 2004; mediaRAIN. //this code may be used only for the purposes for which //it was purchased. Unauthorized duplication or usage is //prohibited. //contact brianc@mediarain.com with any questions. //Added in place of styles.js------------------------------- if (is == null || is == "undefined") { alert("To determine the browser, you need to first include 'browsercheck.js'"); } else { if (is.linux) { sInt = 1.33; } else if (is.mac && is.dom==1) { sInt = 1.33; } else if (is.mac && is.dom==2) { sInt = 1.0; } else if (is.dom >= 2) { sInt = 1.0; } else { sInt = 1.06; } } /*************INSTRUCTIONS FOR USING THE MENU OBJECTS************************* Every menu has a window.name, a name, and menu items. Those menu items can either be headers, regular list items, or images. To edit the contents of the existing menus, find the header to the menu you wish to alter in the menu header lines. They should look something like: window.MenuX = new Menu("X", y); (where X is the menu name and y is the menu number) Underneath, you will see lines that look like this: MenuX.addMenuItem("Menu item #1", "link1.html"); In these lines, the quotes fields in parantheses are pairs of menu text and the pages they link to. To edit them, just replace field #1 with what you'd like the menu item to read. Then put the webpage to link to as the field #2. That's it. You should be able to understand what's going on just by looking at the flow of this file. */ mPrefs = new Object(); mPrefs.mwidth = 99; mPrefs.bgcolor = "clear"; // This is the border color. If set to "clear" layer boder will be transparent. mPrefs.tborder = 0; mPrefs.rborder = 0; mPrefs.bborder = 0; mPrefs.lborder = 0; mPrefs.top_margin = 0; //space before menu begins - except images mPrefs.bottom_margin = 0; //space at end of menu - except images mPrefs.item_font_size = 7.5; mPrefs.item_font_family = "Helvectica, Verdana, Arial"; mPrefs.item_font_weight = 300; mPrefs.item_line_height = 10; mPrefs.item_link_color = "#666666"; mPrefs.item_link_color_hover = "#FFFFFF"; mPrefs.item_tmargin = 3; mPrefs.item_rmargin = 6; mPrefs.item_bmargin = 3; mPrefs.item_lmargin = 6; mPrefs.item_lmargin2 = 10; mPrefs.item_font_color = "#FFFFFF"; mPrefs.header_font_color = "#FFFFFF"; mPrefs.item_bgcolor = "#CCCCCC"; // This is the background color. If set to "clear" layer bg will be transpartent. mPrefs.writeMenuStyles = writeMenuStyles; mPrefs.writeMenuStyles(); timeInt = 200; // Time in milliseconds to move pixInt = 1; // Pixels to move by startPixBy = 29; bgStr = ""; if (mPrefs.item_bgcolor != "clear") bgStr = " bgcolor='" + mPrefs.item_bgcolor + "'"; if (typeof(window.gravity) != "object") {window.gravity = new Object();} if (typeof(homeStatus) != "string") homeStatus = ""; function writeMenuStyles() { sStr = "