Beautiful imitation flash menu, from Blue classic
Script
/*
Http://lexrus.blueidea.com
This is the function that binds the event action to the menu.
*/
Function attachXMenu (objid ){
Var tds = objid. getElementsByTagName ('td ');
For (var I = 0; I With (tds [I]) {
Onmouseover = function (){
With (this ){
Filters [0]. apply ();
Style. background = '# 66CCFF'; // This is the background color when the mouse moves up.
Style. border = '1px solid # ffff'; // border
Style. color = 'black'; // text color
Filters [0]. play ();
}
}
Onmouseout = function (){
With (this ){
Filters [0]. apply ();
Style. background = '#336699'; // This is the background color when the mouse leaves.
Style. border = '1px solid #336699 '; // border
Style. color = '# ffff'; // text color
Filters [0]. play ();
}
}
}
}
}
Script
Www.lenvo.cn |
Name |
Is |
LeX |
Rus |
!!! |
Script attachXMenu (xmenu0); // bind the event action at the end of the table above. Here, xmenu0 is the table id script.
Script attachXMenu (xmenu1); script