home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2007 July / PCgo_0707_DVDC.iso / html / service.js < prev    next >
Encoding:
Text File  |  2006-11-06  |  9.6 KB  |  351 lines

  1.  
  2.  
  3. /*---------------------------------------------
  4. Main Item Widths and Heights
  5. -----------------------------------------------*/
  6.  
  7.  
  8.     dqm__main_width = 162            //default main item widths
  9.     dqm__main_height = 17            //default main item heights
  10.  
  11.     //dqm__main_widthX            //specific main item widths
  12.     //dqm__main_heightX            //specific main item heights
  13.  
  14.  
  15.  
  16.  
  17. /*---------------------------------------------
  18. Main Menu Borders Dividers and Layout
  19. -----------------------------------------------*/
  20.  
  21.  
  22.     dqm__main_horizontal = false        //align menu bar horizontally or vertically
  23.  
  24.     dqm__main_border_width = 5;        //the thickness of the border in pixels
  25.     dqm__main_border_color = "#FFFFFF"    //HEX color or set width to 0 for no borders
  26.  
  27.  
  28.     dqm__main_use_dividers = true        //When true the item gap setting is ignored
  29.                         //and the border width and color are used to
  30.                         //separate each main menu item.
  31.  
  32.  
  33.     dqm__main_item_gap = 0            //the gap between main menu items in pixels
  34.  
  35.  
  36.     dqm__align_items_bottom_and_right = true    //align items of different size to the bottom
  37.                             //or right edge of the largest main menu item
  38.                             //depending on the horizontal or vertical layout
  39.                             //of the main menu bar - false aligns items to
  40.                             //the top and left
  41.  
  42. /*---------------------------------------------
  43. Menu Item Background and Text Colors
  44. -----------------------------------------------*/
  45.  
  46.  
  47.     dqm__main_bgcolor = "#EFF1F4"        //default color for all items, HEX or 'transparent'
  48.     //dqm__main_bgcolorX = "#EFF1F4"        //specific menu item color, HEX or 'transparent'
  49.  
  50.     dqm__main_hl_bgcolor = "#6684A3"    //HEX color value or set to 'transparent'
  51.     //dqm__main_hl_bgcolorX = "#eeeeee"
  52.  
  53.     dqm__main_textcolor = "#000000"
  54.     //dqm__main_textcolorX = "#111111"
  55.  
  56.     dqm__main_hl_textcolor = "#FFFFFF"
  57.     //dqm__main_hl_textcolorX = "#ff0000"
  58.  
  59.  
  60.  
  61. /*---------------------------------------------
  62. Menu Item Font Settings
  63. -----------------------------------------------*/
  64.  
  65.  
  66.     dqm__main_fontfamily = "Arial"    //Any available system font
  67.     dqm__main_fontsize = 12            //Defined with pixel sizing
  68.     dqm__main_textdecoration = "normal"    //set to: 'normal', or 'underline'
  69.     dqm__main_fontweight = "bold"        //set to: 'normal', or 'bold'
  70.     dqm__main_fontstyle = "normal"        //set to: 'normal', or 'italic'
  71.  
  72.  
  73.     //rollover effect
  74.  
  75.     dqm__main_hl_textdecoration = "none"
  76.  
  77.  
  78.  
  79. /*---------------------------------------------
  80. Main Menu Margins and Text Alignment
  81. -----------------------------------------------*/
  82.  
  83.  
  84.     dqm__main_text_alignment = "left"        //set to: 'left', 'center' or 'right'
  85.     dqm__main_margin_top = 1
  86.     dqm__main_margin_bottom = 2
  87.     dqm__main_margin_left = 7
  88.     dqm__main_margin_right = 0
  89.  
  90.  
  91.  
  92.     //specific settings
  93.  
  94.     dqm__main_text_alignmentX = "left"        //set to: 'left', 'center' or 'right'
  95.     dqm__main_margin_topX = 1
  96.     dqm__main_margin_bottomX = 2
  97.  
  98.  
  99.  
  100. /*---------------------------------------------
  101. Optional Status Bar Text
  102. -----------------------------------------------*/
  103.  
  104.  
  105.     //dqm__status_text0 = "Sample text - Main Menu Item 0"
  106.     //dqm__status_text1 = "Sample text - Main Menu Item 1"
  107.  
  108.  
  109.  
  110. /*---------------------------------------------
  111. Main Menu Items (Text, URL's, and Icons)
  112. -----------------------------------------------*/
  113.  
  114.  
  115.     //Main Menu 0
  116.  
  117.     dqm__maindesc0 = "PCgo Abobestellung"
  118.     dqm__micon_index0 = 0
  119.     dqm__url0 = "service_abobestellung.htm"
  120.  
  121.     //Main Menu 1
  122.  
  123.     dqm__maindesc1 = "Mediadaten"
  124.     dqm__micon_index1 = 0
  125.     dqm__url1 = "service_mediadaten.htm"
  126.  
  127.     //Main Menu 2
  128.  
  129.     dqm__maindesc2 = "Lizenzbestimmungen"
  130.     dqm__micon_index2 = 0
  131.     dqm__url2 = "service_lizenz.htm"
  132.     
  133.     //Main Menu 3
  134.  
  135.     dqm__maindesc3 = "Seriennummern"
  136.     dqm__micon_index3 = 0
  137.     dqm__url3 = "service_seriennr.htm"
  138.  
  139.     //Main Menu 4
  140.  
  141.     dqm__maindesc4 = "Impressum"
  142.     dqm__micon_index4 = 0
  143.     dqm__url4 = "service_impressum.htm"
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150. /**********************************************************************************************
  151. **********************************************************************************************
  152.  
  153.                               Sub Menu Settings
  154.  
  155. **********************************************************************************************
  156. **********************************************************************************************/
  157.  
  158.  
  159. /*-------------------------------------------
  160. Colors, Borders, Dividers, and more...
  161. --------------------------------------------*/
  162.  
  163.  
  164.     dqm__sub_menu_width = 130              //default sub menu widths
  165.     dqm__sub_xy = "0,0"                    //default sub x,y coordinates - defined relative
  166.                         //to the top-left corner of parent image or sub menu
  167.  
  168.  
  169.     dqm__urltarget = "_self"        //default URL target: _self, _parent, _new, or "my frame name"
  170.  
  171.     dqm__border_width = 0
  172.     dqm__divider_height = 0
  173.  
  174.     dqm__border_color = "#666666"        //Hex color or 'transparent'
  175.     dqm__menu_bgcolor = "#e6e6e6"        //Hex color or 'transparent'
  176.     dqm__hl_bgcolor = "#e6e6e6"
  177.  
  178.     dqm__mouse_off_delay = 0        //defined in milliseconds (activated after mouse stops)
  179.     dqm__nn4_mouse_off_delay = 500        //defined in milliseconds (activated after leaving sub)
  180.  
  181.  
  182.  
  183. /*-------------------------------------------
  184. Font settings and margins
  185. --------------------------------------------*/
  186.  
  187.  
  188.     //Font settings
  189.  
  190.     dqm__textcolor = "#333333"
  191.     dqm__fontfamily = "Verdana"        //Any available system font
  192.     dqm__fontsize = 12            //Defined with pixel sizing
  193.     dqm__fontsize_ie4 = 9            //Defined with point sizing
  194.     dqm__textdecoration = "normal"        //set to: 'normal', or 'underline'
  195.     dqm__fontweight = "normal"        //set to: 'normal', or 'bold'
  196.     dqm__fontstyle = "normal"        //set to: 'normal', or 'italic'
  197.  
  198.  
  199.     //Rollover font settings
  200.  
  201.     dqm__hl_textcolor = "#ffffff"
  202.     dqm__hl_textdecoration = "none"    //set to: 'normal', or 'underline'
  203.  
  204.  
  205.  
  206.     //Margins and text alignment
  207.  
  208.     dqm__text_alignment = "left"        //set to: 'left', 'center' or 'right'
  209.     dqm__margin_top = 0
  210.     dqm__margin_bottom = 0
  211.     dqm__margin_left = 0
  212.     dqm__margin_right = 0
  213.  
  214.  
  215.  
  216. /*---------------------------------------------
  217. Optional Status Bar Text
  218. -----------------------------------------------*/
  219.  
  220.  
  221.     dqm__show_urls_statusbar = false
  222.  
  223.     //dqm__status_text1_0 = "Sample text - Main Menu Item 1, Sub Item 0"
  224.     //dqm__status_text1_0 = "Sample text - Main Menu Item 1, Sub Item 1"
  225.  
  226.  
  227.  
  228. /*-------------------------------------------
  229. Internet Explorer Transition Effects
  230. --------------------------------------------*/
  231.  
  232.  
  233.     //Options include - none | fade | pixelate |iris | slide | gradientwipe | checkerboard | radialwipe | randombars | randomdissolve |stretch
  234.  
  235.     dqm__sub_menu_effect = "fade"
  236.     dqm__sub_item_effect = "fade"
  237.  
  238.  
  239.     //Define the effect duration in seconds below.
  240.  
  241.     dqm__sub_menu_effect_duration = .4
  242.     dqm__sub_item_effect_duration = .4
  243.  
  244.  
  245.     //Specific settings for various transitions.
  246.  
  247.     dqm__effect_pixelate_maxsqare = 25
  248.     dqm__effect_iris_irisstyle = "CIRCLE"        //CROSS, CIRCLE, PLUS, SQUARE, or STAR
  249.     dqm__effect_checkerboard_squaresx = 14
  250.     dqm__effect_checkerboard_squaresY = 14
  251.     dqm__effect_checkerboard_direction = "RIGHT"    //UP, DOWN, LEFT, RIGHT
  252.  
  253.  
  254.     //Opacity and drop shadows.
  255.  
  256.     dqm__sub_menu_opacity = 100            //1 to 100
  257.     dqm__dropshadow_color = "none"            //Hex color value or 'none'
  258.     dqm__dropshadow_offx = 5            //drop shadow width
  259.     dqm__dropshadow_offy = 5            //drop shadow height
  260.  
  261.  
  262.  
  263. /*-------------------------------------------
  264. Browser Bug fixes and Workarounds
  265. --------------------------------------------*/
  266.  
  267.  
  268.     //Mac offset fixes, adjust until sub menus position correctly.
  269.  
  270.     dqm__os9_ie5mac_offset_x = 10
  271.     dqm__os9_ie5mac_offset_Y = 15
  272.  
  273.     dqm__osx_ie5mac_offset_x = 10
  274.     dqm__osx_ie5mac_offset_Y = 15
  275.  
  276.     dqm__ie4mac_offset_x = -10
  277.     dqm__ie4mac_offset_Y = -45
  278.  
  279.  
  280.     //Mac offset fixes, adjust until main menu items line up correctly
  281.  
  282.     dqm__mainitems_os9_ie5mac_offset_x = 10
  283.     dqm__mainitems_os9_ie5mac_offset_y = 15
  284.  
  285.     dqm__mainitems_osx_ie5mac_offset_x = 10
  286.     dqm__mainitems_osx_ie5mac_offset_y = 15
  287.  
  288.  
  289.     //Netscape 4 resize bug workaround.
  290.  
  291.     dqm__nn4_reaload_after_resize = true
  292.     dqm__nn4_resize_prompt_user = false
  293.     dqm__nn4_resize_prompt_message = "To reinitialize the navigation menu please click the 'Reload' button."
  294.  
  295.  
  296.     //Set to true if the menu is the only item on the HTML page.
  297.  
  298.     dqm__use_opera_div_detect_fix = true
  299.  
  300.  
  301.     //Pre-defined sub menu item heights for the Espial Escape browser.
  302.  
  303.     dqm__escape_item_height = 20
  304.     dqm__escape_item_height0_0 = 70
  305.     dqm__escape_item_height0_1 = 70
  306.  
  307.  
  308. /*---------------------------------------------
  309. Exposed menu events
  310. ----------------------------------------------*/
  311.  
  312.  
  313.     //Reference additional onload statements here.
  314.  
  315.     dqm__onload_code = "scrolltextInit();"
  316.  
  317.  
  318.     //The 'X' indicates the index number of the sub menu group or item.
  319.  
  320.     dqm__showmenu_codeX = "status = 'custom show menu function call - menu0'"
  321.     dqm__hidemenu_codeX = "status = 'custom hide menu function call - menu0'"
  322.     dqm__clickitem_codeX_X = "alert('custom Function - Menu Item 0_0')"
  323.  
  324.  
  325.  
  326. /*---------------------------------------------
  327. Specific Sub Menu Settings
  328. ----------------------------------------------*/
  329.  
  330.  
  331.     //The following settings may be defined for specific sub menu groups.
  332.     //The 'X' represents the index number of the sub menu group.
  333.  
  334.     dqm__border_widthX = 10;
  335.     dqm__divider_heightX = 5;
  336.     dqm__border_colorX = "#0000ff";
  337.     dqm__menu_bgcolorX = "#ff0000"
  338.     dqm__hl_bgcolorX = "#00ff00"
  339.     dqm__hl_textcolorX = "#ff0000"
  340.     dqm__text_alignmentX = "left"
  341.  
  342.  
  343.     //The following settings may be defined for specific sub menu items.
  344.     //The 'X' represents the index number of the sub menu item.
  345.  
  346.     dqm__hl_subdescX = "custom highlight text"
  347.     dqm__urltargetX = "_new"
  348.  
  349.  
  350.  
  351.