function wrap_root (text)
{
/*normal, hover, click*/
return ['
',
'',
''
];
}
function wrap_parent (text, icon, hovericon)
{
/*normal, hover, click*/
return [[''].join(''),
[''].join(''),
[''].join('')
];
}
function wrap_child (text, icon, hovericon)
{
/*normal, hover, click*/
return [[''].join(''),
[''].join(''),
[''].join('')
];
}
var MENU_POS =[
// Level 0 block configuration
{
// Item's height in pixels
'height' : 27,
// Item's width in pixels
'width' : 100,
// 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' : 160,
'height' : 26,
// Vertical Offset between adjacent levels in pixels
'block_top' : 27,
// 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' : 160
}
//Subling level configurations are inherited from level 2
]
var MENU_ITEMS = [[wrap_root('News'), 'http://www.erithandbelvederefc.co.uk/index.php?categoryid=1&s=36a1ba9229aec2a7d4ff62e4bdfbf693', {'sw': 47}],[wrap_root('Calendar'), 'http://www.erithandbelvederefc.co.uk/index.php?categoryid=22&s=36a1ba9229aec2a7d4ff62e4bdfbf693', {},[wrap_child('League Fixtures \'08-\'09', 'http://www.erithandbelvederefc.co.uk/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.erithandbelvederefc.co.uk/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.erithandbelvederefc.co.uk/index.php?categoryid=23&s=36a1ba9229aec2a7d4ff62e4bdfbf693', {}],[wrap_child('Cup Fixtures \'08-\'09', 'http://www.erithandbelvederefc.co.uk/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.erithandbelvederefc.co.uk/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.erithandbelvederefc.co.uk/index.php?categoryid=15&s=36a1ba9229aec2a7d4ff62e4bdfbf693', {}],[wrap_child('Club Events', 'http://www.erithandbelvederefc.co.uk/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.erithandbelvederefc.co.uk/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.erithandbelvederefc.co.uk/index.php?categoryid=20&s=36a1ba9229aec2a7d4ff62e4bdfbf693', {}]],[wrap_root('Features'), 'http://www.erithandbelvederefc.co.uk/index.php?categoryid=14&s=36a1ba9229aec2a7d4ff62e4bdfbf693', {}],[wrap_root('Club Information'), 'http://www.erithandbelvederefc.co.uk/index.php?categoryid=12&s=36a1ba9229aec2a7d4ff62e4bdfbf693', {},[wrap_child('Contact Us', 'http://www.erithandbelvederefc.co.uk/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.erithandbelvederefc.co.uk/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.erithandbelvederefc.co.uk/index.php?categoryid=5&s=36a1ba9229aec2a7d4ff62e4bdfbf693', {}]],[wrap_root('Links'), 'http://www.erithandbelvederefc.co.uk/index.php?categoryid=4&s=36a1ba9229aec2a7d4ff62e4bdfbf693', {'sw': 45}],[wrap_root('Forum'), 'http://www.erithandbelvederefc.co.uk/forum/index.php', {}],[wrap_root('Prediction League'), 'http://www.erithandbelvederefc.co.uk/PredictionLeague/', {}],[wrap_root('Club Shop'), 'http://www.erithandbelvederefc.co.uk/index.php?categoryid=18&s=36a1ba9229aec2a7d4ff62e4bdfbf693', {}]];
new menu (MENU_ITEMS, MENU_POS);