home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 204 / DPCS0205.ISO / Trials / AccPlus / Data1.cab / webby4menu2.js < prev    next >
Encoding:
Text File  |  2003-11-14  |  17.2 KB  |  562 lines

  1.  
  2. //  QuickMenu Pro, Copyright (c) 1998 - 2003, OpenCube Inc. - http://www.opencube.com
  3. //
  4. //  ---- (X = index number) ----------
  5. //
  6. //  Most customizable options for the sub menus and main menu items contain
  7. //  a default parameter setting which may be overridden with a specific parameter
  8. //  setting.  The default settings typically apply to all the sub menu items
  9. //  or main menu items, such as text color or font size.  When available
  10. //  (indicated in the documentation or within this sample data file) any number
  11. //  of specific settings may be used to uniquely format any sub menu item or main
  12. //  menu item.  This option is noted within this document by appending an 'X' to
  13. //  the parameter name itself.  To activate the specific parameter replace the
  14. //  'X' with the index number of the main menu item or sub menu item you wish
  15. //  to specifically set, this will override any default setting for the item.
  16. //
  17. //  ---- (Main Menu Indexing) --------
  18. //
  19. //  See the main menu items sub section for a working example of creating your main
  20. //  menu bar using QuickMenu's indexing scheme.  For the main menu items its very
  21. //  straight forward, start with 0 for the first item, 1 is your second item, 2
  22. //  the third...  add as many as you like.
  23. //
  24. //  ---- (Sub Menu Indexing) --------
  25. //
  26. //  The sub menu indexing scheme works the same way as the main menu's, with an added
  27. //  branching capability.  The underscore character '_' separates each sub menu level.
  28. //  Using the example '2_0' 2 references the third main menu item (remember all indexing
  29. //  starts at 0) the 0 references the first sub menu item associated with this third main 
  30. //  menu.  Sub menu levels may be branched indefinitely by continually appending an
  31. //  underscore at the desired point and starting the new sub menus item indexing with 0.
  32. //  See the 'sub menu structure and text' sub section for a working sample.
  33. //
  34. //  ---- (Bullet and Icon Image Library Indexing) --------
  35. //
  36. //  Infinite bullet and icon images may be defined and associated with any number of sub 
  37. //  menus and main menu items.  Indexing works the same as the main menu items
  38. //  for both types of images and starts at 0.  A special parameter is then utilized within
  39. //  the sub menu item customization section or main menu item customization section to reference 
  40. //  any defined bullet or icon parameter for display with that item. 
  41.  
  42.  
  43. /**********************************************************************************************
  44. **********************************************************************************************
  45.  
  46.                               License  
  47.  
  48. **********************************************************************************************
  49. **********************************************************************************************/
  50.  
  51. limit_multiple_users = true
  52.  
  53. sequence = "9x88_4"
  54.  
  55.  
  56. /**********************************************************************************************
  57. **********************************************************************************************
  58.  
  59.                               Bullet and Icon Image Library  
  60.  
  61. **********************************************************************************************
  62. **********************************************************************************************/
  63.  
  64.  
  65.  
  66. /*-------------------------------------------
  67. Bullet and Icon image library - Unlimited bullet
  68. or icon images may be defined below and then associated
  69. with any sub menu items within the 'Sub Menu Structure 
  70. and Text' section of this data file.  Relative 
  71. positioned icon images may also be associated
  72. with any main menu item in the 'main menu items' section.
  73. --------------------------------------------*/
  74.  
  75.  
  76.     //Relative positioned icon images (flow with main menu or sub item text)
  77.  
  78.     dqm__icon_image0 = "goldarrow.gif"
  79.     dqm__icon_rollover0 = "goldarrow_down_darkbg.gif"
  80.     dqm__icon_image_wh0 = "10,10"
  81.  
  82.     
  83.  
  84.     //Absolute positioned icon images (coordinate positioned, sub menus only)
  85.  
  86.     dqm__2nd_icon_image0 = "goldarrow.gif"
  87.     dqm__2nd_icon_rollover0 = "goldarrow_down_lightbg.gif"
  88.     dqm__2nd_icon_image_wh0 = "10,10"
  89.     dqm__2nd_icon_image_xy0 = "-3,4"
  90.  
  91.  
  92.  
  93.  
  94.  
  95. /**********************************************************************************************
  96. **********************************************************************************************
  97.  
  98.                               Main Menu Settings  
  99.  
  100. **********************************************************************************************
  101. **********************************************************************************************/
  102.  
  103.  
  104.  
  105. /*---------------------------------------------
  106. Main Item Widths and Heights
  107. -----------------------------------------------*/
  108.  
  109.     
  110.     dqm__main_width = 90            //default main item widths
  111.     dqm__main_height = 40            //default main item heights
  112.     
  113.     dqm__main_width0 = 65            //width of Topics selection
  114.     dqm__main_width1 = 85            //width of Site Tools selection
  115.     dqm__main_width2 = 50            //width of Search selection
  116.     
  117.     //dqm__main_heightX            //specific main item heights
  118.  
  119.  
  120.  
  121. /*---------------------------------------------
  122. Main Menu Borders Dividers and Layout
  123. -----------------------------------------------*/
  124.  
  125.  
  126.     dqm__main_horizontal =true        //align menu bar horizontally or vertically
  127.  
  128.     dqm__main_border_width = 0;        //the thickness of the border in pixels, 0 = no border
  129.     dqm__main_border_color = "#ffffff"    //HEX color or set to 'transparent'
  130.  
  131.  
  132.     dqm__main_use_dividers = false        //When true the item gap setting is ignored
  133.                         //and the border width and color are used to
  134.                         //separate each main menu item.
  135.                         
  136.                             
  137.     dqm__main_item_gap = 0            //the gap between main menu items in pixels
  138.     
  139.  
  140.     dqm__align_items_bottom_and_right = false    //align items of different size to the bottom
  141.                             //or right edge of the largest main menu item
  142.                             //depending on the horizontal or vertical layout
  143.                             //of the main menu bar - false aligns items to
  144.                             //the top and left
  145.  
  146. /*---------------------------------------------
  147. Menu Item Background and Text Colors
  148. -----------------------------------------------*/
  149.  
  150.  
  151.     dqm__main_bgcolor = "#999999"        //default color for all items, HEX or 'transparent'
  152.     dqm__main_bgcolorX = "#000000"        //specific menu item color, HEX or 'transparent'
  153.     
  154.     dqm__main_hl_bgcolor = "#999999"    //HEX color value or set to 'transparent'
  155.     dqm__main_hl_bgcolorX = "#000000"
  156.  
  157.     dqm__main_textcolor = "#ffffff"
  158.     dqm__main_textcolorX = "#111111"
  159.  
  160.     dqm__main_hl_textcolor = "#000000"
  161.     dqm__main_hl_textcolor2 = "#ffcb3c"    //highlights the Search selection in gold
  162.  
  163.  
  164.  
  165. /*---------------------------------------------
  166. Menu Item Font Settings
  167. -----------------------------------------------*/
  168.  
  169.  
  170.     dqm__main_fontfamily = "Verdana"    //Any available system font     
  171.     dqm__main_fontsize = 11            //Defined with pixel sizing      
  172.     dqm__main_textdecoration = "normal"    //set to: 'normal', or 'underline'
  173.     dqm__main_fontweight = "normal"        //set to: 'normal', or 'bold'
  174.     dqm__main_fontstyle = "normal"        //set to: 'normal', or 'italic'
  175.     
  176.     
  177.     //make the Search selection bold
  178.         
  179.     dqm__main_fontweight2 = "bold"        //set to: 'normal', or 'bold'
  180.  
  181.  
  182.     //rollover effect
  183.     
  184.     dqm__main_hl_textdecoration = "none"
  185.  
  186.  
  187.  
  188. /*---------------------------------------------
  189. Main Menu Margins and Text Alignment
  190. -----------------------------------------------*/
  191.  
  192.  
  193.     dqm__main_text_alignment = "left"        //set to: 'left', 'center' or 'right'
  194.     dqm__main_margin_top = 13
  195.     dqm__main_margin_bottom = 13
  196.     dqm__main_margin_left = 1
  197.     dqm__main_margin_right = 1
  198.  
  199.  
  200.  
  201.     //specific settings
  202.  
  203.     dqm__main_margin_topX = 4
  204.     dqm__main_margin_bottomX = 4
  205.  
  206.  
  207.  
  208. /*---------------------------------------------
  209. Optional Status Bar Text
  210. -----------------------------------------------*/
  211.  
  212.    
  213.     //dqm__status_text0 = "Sample text - Main Menu Item 0"
  214.     //dqm__status_text1 = "Sample text - Main Menu Item 1"
  215.  
  216.  
  217.  
  218. /*---------------------------------------------
  219. Main Menu Items (Text, URL's, and Icons)
  220. -----------------------------------------------*/
  221.  
  222.  
  223.     
  224.     //Main Menu 0
  225.  
  226.     dqm__maindesc0 = "Topics"
  227.     dqm__micon_index0 = 0
  228.     // dqm__url0 = "" (does not open a link)
  229.  
  230.  
  231.     //Main Menu 1
  232.  
  233.     dqm__maindesc1 = "Site Tools"
  234.     dqm__micon_index1 = 0
  235.     // dqm__url1 = "" (does not open a link)
  236.  
  237.  
  238.     //Main Menu 2
  239.  
  240.     dqm__maindesc2 = "Search"
  241.     dqm__micon_index2 = 1
  242.     // dqm__url2 = ""  (the search.htm page is opened using the dqm__clickitem_code2 line, below)
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249. /**********************************************************************************************
  250. **********************************************************************************************
  251.  
  252.                               Sub Menu Settings
  253.  
  254. **********************************************************************************************
  255. **********************************************************************************************/
  256.  
  257.  
  258. /*-------------------------------------------
  259. Colors, Borders, Dividers, and more...
  260. --------------------------------------------*/
  261.  
  262.  
  263.     dqm__sub_menu_width = 130              //default sub menu widths
  264.     dqm__sub_xy = "0,0"                    //default sub x,y coordinates - defined relative
  265.                         //to the top-left corner of parent image or sub menu
  266.    
  267.  
  268.     dqm__urltarget = "_self"        //default URL target: _self, _parent, _new, or "my frame name"
  269.  
  270.     dqm__border_width = 1
  271.     dqm__divider_height = 0
  272.  
  273.     dqm__border_color = "#999999"        //Hex color or 'transparent'
  274.     dqm__menu_bgcolor = "#999999"        //Hex color or 'transparent'
  275.     dqm__hl_bgcolor = "#CCCCCC"        
  276.  
  277.     dqm__mouse_off_delay = 150        //defined in milliseconds (activated after mouse stops)
  278.     dqm__nn4_mouse_off_delay = 500        //defined in milliseconds (activated after leaving sub)
  279.  
  280.  
  281.  
  282. /*-------------------------------------------
  283. Font settings and margins
  284. --------------------------------------------*/
  285.    
  286.  
  287.     //Font settings
  288.  
  289.     dqm__textcolor = "#000000"
  290.     dqm__fontfamily = "Tahoma"        //Any available system font     
  291.     dqm__fontsize = 11            //Defined with pixel sizing      
  292.     dqm__fontsize_ie4 = 11            //Defined with point sizing
  293.     dqm__textdecoration = "normal"        //set to: 'normal', or 'underline'
  294.     dqm__fontweight = "normal"        //set to: 'normal', or 'bold'
  295.     dqm__fontstyle = "normal"        //set to: 'normal', or 'italic'     
  296.  
  297.  
  298.     //Rollover font settings
  299.  
  300.     dqm__hl_textcolor = "#000000"
  301.     dqm__hl_textdecoration = "normal"    //set to: 'normal', or 'underline'
  302.  
  303.  
  304.     //Margins and text alignment
  305.  
  306.     dqm__text_alignment = "left"        //set to: 'left', 'center' or 'right'
  307.     dqm__margin_top = 2
  308.     dqm__margin_bottom = 3
  309.     dqm__margin_left = 10
  310.     dqm__margin_right = 4
  311.  
  312.  
  313.  
  314. /*---------------------------------------------
  315. Optional Status Bar Text
  316. -----------------------------------------------*/
  317.  
  318.  
  319.     dqm__show_urls_statusbar = false
  320.  
  321.     //dqm__status_text1_0 = "Sample text - Main Menu Item 1, Sub Item 0"    
  322.     //dqm__status_text1_0 = "Sample text - Main Menu Item 1, Sub Item 1"    
  323.  
  324.  
  325.  
  326. /*-------------------------------------------
  327. Internet Explorer Transition Effects
  328. --------------------------------------------*/
  329.  
  330.  
  331.     //Options include - none | fade | pixelate |iris | slide | gradientwipe | checkerboard | radialwipe | randombars | randomdissolve |stretch
  332.  
  333.     dqm__sub_menu_effect = "none"
  334.     dqm__sub_item_effect = "none"
  335.  
  336.  
  337.     //Define the effect duration in seconds below.
  338.    
  339.     dqm__sub_menu_effect_duration = .4
  340.     dqm__sub_item_effect_duration = .4
  341.  
  342.  
  343.     //Specific settings for various transitions.
  344.  
  345.     dqm__effect_pixelate_maxsqare = 25
  346.     dqm__effect_iris_irisstyle = "CIRCLE"        //CROSS, CIRCLE, PLUS, SQUARE, or STAR
  347.     dqm__effect_checkerboard_squaresx = 14
  348.     dqm__effect_checkerboard_squaresY = 14
  349.     dqm__effect_checkerboard_direction = "RIGHT"    //UP, DOWN, LEFT, RIGHT
  350.  
  351.  
  352.     //Opacity and drop shadows.
  353.  
  354.     dqm__sub_menu_opacity = 100            //1 to 100
  355.     dqm__dropshadow_color = "none"            //Hex color value or 'none'
  356.     dqm__dropshadow_offx = 5            //drop shadow width
  357.     dqm__dropshadow_offy = 5            //drop shadow height
  358.  
  359.  
  360.  
  361. /*-------------------------------------------
  362. Browser Bug fixes and Workarounds
  363. --------------------------------------------*/
  364.  
  365.  
  366.     //Mac offset fixes, adjust until sub menus position correctly.
  367.    
  368.     dqm__os9_ie5mac_offset_x = 8
  369.     dqm__os9_ie5mac_offset_Y = -8
  370.  
  371.     dqm__osx_ie5mac_offset_x = 8
  372.     dqm__osx_ie5mac_offset_Y = -8
  373.  
  374.     dqm__ie4mac_offset_x = -10
  375.     dqm__ie4mac_offset_Y = -45
  376.  
  377.  
  378.     //Mac offset fixes, adjust until main menu items line up correctly
  379.  
  380.     dqm__mainitems_os9_ie5mac_offset_x = 10
  381.     dqm__mainitems_os9_ie5mac_offset_y = 0
  382.  
  383.     dqm__mainitems_osx_ie5mac_offset_x = 10
  384.     dqm__mainitems_osx_ie5mac_offset_y = 0
  385.  
  386.  
  387.  
  388.     //Netscape 4 resize bug workaround.
  389.  
  390.     dqm__nn4_reaload_after_resize = true
  391.     dqm__nn4_resize_prompt_user = false
  392.     dqm__nn4_resize_prompt_message = "To reinitialize the navigation menu please click the 'Reload' button."
  393.    
  394.  
  395.     //Opera 5 & 6, set to true if the menu is the only item on the HTML page.
  396.  
  397.     dqm__use_opera_div_detect_fix = true
  398.  
  399.  
  400.     //Pre-defined sub menu item heights for the Espial Escape browser.
  401.  
  402.     dqm__escape_item_height = 20
  403.     dqm__escape_item_height0_0 = 70
  404.     dqm__escape_item_height0_1 = 70
  405.  
  406.  
  407. /*---------------------------------------------
  408. Exposed menu events
  409. ----------------------------------------------*/
  410.  
  411.  
  412.     //Reference additional onload statements here.
  413.  
  414.     dqm__onload_code = "self.name='home';self.resizeTo(350,600);self.moveTo(450,25);window.open('search.htm', 'search', 'height=500,width=350,toolbar,resizable,left=50,top=50')"
  415.  
  416.     // Opens the search.htm page from the main menu's Search link
  417.     dqm__clickitem_code2 = "window.open('search.htm', 'search', 'height=500,width=350,toolbar,left=50,top=50')"
  418.  
  419.  
  420.     //The 'X' indicates the index number of the sub menu group.
  421.     //The 'X_X' indicates the index number of the sub menu item.
  422.  
  423.     dqm__showmenu_codeX = "status = 'custom show menu function call - menu0'"
  424.     dqm__hidemenu_codeX = "status = 'custom hide menu function call - menu0'"
  425.  
  426.  
  427.  
  428. /*---------------------------------------------
  429. Specific Sub Menu Settings
  430. ----------------------------------------------*/
  431.  
  432.  
  433.     //The following settings may be defined for specific sub menu groups.
  434.     //The 'X' represents the index number of the sub menu group.
  435.  
  436.     dqm__border_widthX = 10;
  437.     dqm__divider_heightX = 5;        
  438.     dqm__border_colorX = "#0000ff";     
  439.     dqm__menu_bgcolorX = "#ff0000"
  440.     dqm__hl_bgcolorX = "#00ff00"
  441.     dqm__hl_textcolorX = "#ff0000"
  442.     dqm__text_alignmentX = "left"
  443.  
  444.  
  445.     //The following settings may be defined for specific sub menu items.
  446.     //The 'X_X' represents the index number of the sub menu item.
  447.  
  448.     dqm__hl_subdescX_X = "custom highlight text"
  449.     dqm__urltargetX_X = "_new"
  450.  
  451.  
  452.  
  453.  
  454. /*---------------------------------------------
  455. Specific Sub Menu Settings
  456. ----------------------------------------------*/
  457.   
  458.  
  459.     //Sub Menu 0
  460.  
  461.     dqm__sub_xy0 = "-69,33"
  462.     dqm__sub_menu_width0 = 115
  463.  
  464.     dqm__subdesc0_0 = "What's new"
  465.     dqm__subdesc0_1 = "Setup"
  466.     dqm__subdesc0_2 = "Maintenance"
  467.     dqm__subdesc0_3 = "Everyday tasks"
  468.     dqm__subdesc0_4 = "Period-end tasks"
  469.     dqm__subdesc0_5 = "Reports and forms"
  470.     dqm__subdesc0_6 = "Importing/exporting"
  471.     
  472.     dqm__2nd_icon_index0_3 = 0
  473.     dqm__2nd_icon_index0_4 = 0
  474.     
  475.     dqm__url0_0 = "welcome-01.htm"
  476.     dqm__url0_1 = "intro_setup.htm"
  477.     dqm__url0_2 = "intro_maintenance.htm"
  478.     dqm__url0_5 = "intro_reports_and_forms.htm"
  479.     dqm__url0_6 = "intro_import_export.htm"
  480.  
  481.     
  482.  
  483.     //Sub Menu 0_3
  484.  
  485.     dqm__sub_xy0_3 = "-1,-1"
  486.     dqm__sub_menu_width0_3 = 100
  487.  
  488.     dqm__subdesc0_3_0 = "Accounts"
  489.     dqm__subdesc0_3_1 = "Banking"
  490.     dqm__subdesc0_3_2 = "Sales"
  491.     dqm__subdesc0_3_3 = "Time billing"
  492.     dqm__subdesc0_3_4 = "Purchases"
  493.     dqm__subdesc0_3_5 = "Stock Control"
  494.     dqm__subdesc0_3_6 = "Payroll"
  495.     dqm__subdesc0_3_7 = "Cards"
  496.     dqm__subdesc0_3_8 = "Jobs"
  497.     dqm__subdesc0_3_9 = "Categories"
  498.     dqm__subdesc0_3_10 = "Transactions"
  499.     
  500.     dqm__url0_3_0 = "intro_accounts.htm"
  501.     dqm__url0_3_1 = "intro_banking.htm"
  502.     dqm__url0_3_2 = "intro_sales.htm"
  503.     dqm__url0_3_3 = "intro_time_billing.htm"
  504.     dqm__url0_3_4 = "intro_purchases.htm"
  505.     dqm__url0_3_5 = "intro_items.htm"
  506.     dqm__url0_3_6 = "intro_payroll.htm"
  507.     dqm__url0_3_7 = "intro_cards.htm"
  508.     dqm__url0_3_8 = "intro_jobs.htm"
  509.     dqm__url0_3_9 = "intro_categories.htm"
  510.     dqm__url0_3_10 = "intro_transactions.htm"
  511.  
  512.  
  513.  
  514.     //Sub Menu 0_4
  515.  
  516.     dqm__sub_xy0_4 = "-1,-1"
  517.     dqm__sub_menu_width0_4 = 100
  518.  
  519.     dqm__subdesc0_4_0 = "Month-end tasks"
  520.     dqm__subdesc0_4_1 = "Year-end tasks"
  521.     
  522.     dqm__url0_4_0 = "intro_monthend.htm"
  523.     dqm__url0_4_1 = "intro_yearend.htm"
  524.  
  525.  
  526.  
  527.     //Sub Menu 1
  528.  
  529.     dqm__sub_xy1 = "-94,33"
  530.     dqm__sub_menu_width1 = 115
  531.  
  532.     dqm__subdesc1_0 = "Online manuals"
  533.     dqm__subdesc1_1 = "Site help"
  534.     dqm__subdesc1_2 = "Sitemap"
  535.     dqm__subdesc1_3 = "Copyright"
  536.     
  537.     dqm__url1_0 = "pdfindex.htm"
  538.     dqm__url1_1 = "sitehelp.htm"
  539.     dqm__url1_2 = "sitemaplinks.htm"
  540.     dqm__url1_3 = "copyright.htm"
  541.  
  542.  
  543.  
  544.     //Sub Menu 3 (note the reference to icons here, in case you want to use them here again sometime)
  545.  
  546.     //dqm__sub_xy3 = "-100,20"
  547.     //dqm__sub_menu_width3 = 120
  548.  
  549.     //dqm__subdesc3_0 = "Cust. Service"
  550.     //dqm__subdesc3_1 = "Tech. Support"
  551.     //dqm__subdesc3_2 = "Product Sales"
  552.     
  553.     //dqm__icon_index3_0 = 0
  554.     //dqm__icon_index3_1 = 0
  555.     //dqm__icon_index3_2 = 0
  556.     
  557.     //dqm__url3_0 = "sample_link.htm"
  558.     //dqm__url3_1 = "sample_link.htm"
  559.     //dqm__url3_2 = "sample_link.htm"
  560.  
  561.  
  562.