function wrap_root (text) { /*normal, hover, click*/ return ['
' + text + '<\/div>', '
' + text + '<\/div>', '
' + text + '<\/div>' ]; } function wrap_parent (text) { /*normal, hover, click*/ return [['
' + text + '<\/div>'].join(''), ['
' + text + '<\/div>'].join(''), ['
' + text + '<\/div>'].join('') ]; } function wrap_child (text) { /*normal, hover, click*/ return [['
' + text + '<\/div>'].join(''), ['
' + text + '<\/div>'].join(''), ['
' + text + '<\/div>'].join('') ]; } var MENU_POS =[ // Level 0 block configuration { // Item's height in pixels 'height' : 67, // Item's width in pixels 'width' : 80, // if Block Orientation is vertical 'vertical' : false, // Time Delay in milliseconds before subling block expands // after mouse pointer overs an item 'expd_delay' : 0, // Style class names for the level 'css': { // Block outing table class 'table' : '', // Item outer tag style class for all item states or // classes for [, , ] 'outer' : '', // Item inner tag style class for all item states or // classes for [, , ] 'inner' : '' } }, // Level 1 block configuration { 'width' : 115, 'height' : 25, // Vertical Offset between adjacent levels in pixels 'block_top' : 46, // Horizontal Offset between adjacent levels in pixels 'block_left' : 0, // block behaviour if single frame: // 1 - shift to the edge, 2 - flip relatively to left upper corner 'wise_pos' : 1, 'vertical' : true, // transition effects for the block // [index on expand, duration on expand, index on collapse, duration on collapse] 'transition' : [0, 0.3, 0, 0.3], // Time Delay in milliseconds before menu collapses after mouse // pointer lefts all items 'hide_delay' : 300, 'css' : { 'table' : '', 'outer' : '', 'inner' : '' } }, // Level 2 block configuration { 'block_top' : 0, 'block_left' : 79 } //Subling level configurations are inherited from level 2 ] var MENU_ITEMS = [[wrap_root('Home'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=1', {'sw': 115}],[wrap_root('Newsarchiv'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=12', {'sw': 115}],[wrap_root('Dark Industries'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=16', {'sw': 115},[wrap_child('Wir über uns', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=17', {}]],[wrap_root('Server'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=9', {'sw': 115}],[wrap_root('Stats'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=14', {'sw': 115},[wrap_child('HLStats', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.di-zockerstuebchen.de/hlstats/', {}],[wrap_child('Ultrastats', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.di-zockerstuebchen.de/ultrastats/', {}]],[wrap_root('Forum'), 'http://www.di-zockerstuebchen.de/forum/', {'sw': 115}],[wrap_root('Community'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=15', {'sw': 115},[wrap_child('Team Speak', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.di-zockerstuebchen.de/hlstats/hlstats.php?mode=teamspeak&game=css&tsId=1', {}],[wrap_child('Downloads', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=19', {}],[wrap_child('Buli-Tipprunde', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.di-zockerstuebchen.de/tipprunde', {}],[wrap_child('Lanparty', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.di-zockerstuebchen.de/lan', {}],[wrap_child('Gästebuch', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=2', {}],[wrap_child('Bilder', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=3', {}],[wrap_child('Links', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=4', {}],[wrap_child('Registrieren', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.di-zockerstuebchen.de/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=6', {}]],[wrap_root('Kontakt'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=5', {'sw': 115}],[wrap_root('Impressum'), 'http://www.di-zockerstuebchen.de/index.php?categoryid=13', {'sw': 115}]]; new menu (MENU_ITEMS, MENU_POS);