﻿/***********************************************
* Omni Slide Menu script - © John Davenport Scheuer
* very freely adapted from Dynamic-FX Slide-In Menu (v 6.5) script- by maXimus
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
* as first mentioned in http://www.dynamicdrive.com/forums
* username:jscheuer1
***********************************************/

//One global variable to set, use true if you want the menus to reinit when the user changes text size (recommended):
resizereinit=true;


menu[2] = {  // REQUIRED!!  This menu explicitly declares all available options even if they are the same as the defaults
    id:'menu2', //use unique quoted id (quoted) REQUIRED!!
    /////////////////////////////////////
    ///////////// no quotes for these properties (numbers represent pixels unless otherwise noted): ////////////
    /////////////////////////////////////
    user_defined_stylesheet:false, //if true, prevents script from generating stylesheet for this menu
    user_defined_markup:false, //if true, prevents script from generating markup for this menu
    design_mode:false,  //if true, generates a report of the script generated/intended styles and markup (as a design aid)
    menutop:160,     // initial top offset - except for top menu, where it is meaningless
    menuleft:'45%',    // initial left offset - only for top menu, as pixels (can be a quoted percentage - ex: '50%')
    keepinview:80,   // Use false (for not static) - OR - true or numeric top offset when page scrolls
    
    menuspeed:15,    // Speed of menu sliding smaller is faster (interval of milliseconds)
    menupause:500,   // How long menu stays out when mouse leaves it (in milliseconds)
    
    d_colspan:2,     // Available columns in menu body as integer
    allowtransparent:false, // true to allow page to show through menu if other bg's are transparent or border has gaps
    
    wrapbar:true,    // extend and wrap bar below menu for a more solid look (default false) - will revert to false for top menu
    
    hdingwidth:520,  // heading - non linked horizontal cells width
    hdingheight:35,  // heading - non linked horizontal cells height
    hdingindent:0,   // heading - non linked horizontal cells text-indent represents ex units (@8 pixels decimals allowed)
    
    linkheight:85,   // linked horizontal cells height
    linktopad:10,     // linked horizontal cells top padding
    
    /////////////////////////// quote these properties: /////////////////////
    bordercolor:'#ffffff', // inner border color
    borderstyle:'solid',    // inner border style (solid, dashed, inset, etc.)
    borderwidth:0,   // inner border-width used for this menu
    
    outbrdwidth:'0px 0px 0px 0px', // outer border-width used for this menu (top right bottom left)
    outbrdcolor:'#cecece',  // outer border color
    outbrdstyle:'solid',     // outer border style (solid, dashed, inset, etc.)
   
    barwidth:35,            // bar (the vertical cell) width
    barcolor:'black',        // bar (the vertical cell) text color
    barbgcolor:'transparent',   // bar (the vertical cell) background color
    barfontweight:'bold',    // bar (the vertical cell) font weight
    baralign:'center',       // bar (the vertical cell) right left or center text alignment
    barvalign: 'top',
    
    menufont:'verdana',      // menu font
    fontsize:'90%',          // express as percentage with the % sign
    
    hdingcolor:'white',      // heading - non linked horizontal cells text color
    hdingbgcolor:'#4d6814',  // heading - non linked horizontal cells background color
    hdingfontweight:'bold',  // heading - non linked horizontal cells font weight
    hdingvalign:'middle',    // heading - non linked horizontal cells vertical align (top, middle or center)
    hdingtxtalign:'center',    // heading - non linked horizontal cells right left or center text alignment
    
    linktxtalign:'center',     // linked horizontal cells right left or center text alignment
    linkvalign: 'middle',
    linktarget:'',           // default link target, leave blank for same window (other choices: _new, _top, or a window or frame name)
    
    kviewtype:'fixed',       // Type of keepinview - 'fixed' utilizes fixed positioning where available, 'absolute' fluidly follows page scroll
    menupos:'top',         // set side that menu slides in from (right or left or top)
    bartext:'<img src="/img/homepage/specialsTab.gif" border="0"/>',       // bar text (the vertical cell) use text or img tag
    ///////////////////////////
    menuItems:[
    //[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
    ["<img src='/img/homepage/banner_TrialPay250Free.jpg' border='0' alt=''/>", "JumpToTrialPay.asp", "_new"],
    ["<img src='/img/homepage/banner_eurobooks.jpg' border='0' alt=''/>", "http://www.eurobook.us", "_new"],        
    ["<img src='/img/homepage/banner_memberPrints2.gif' border='0' alt=''/>", "PrintPlans.asp?TabLoc=4", ""],    
        

]}; // REQUIRED!! do not edit or remove



////////////////////Stop Editing/////////////////

make_menus();