Beautiful imitation flash menu, from Blue Classic _ JavaScript

Source: Internet
Author: User
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.













My
Name
Is
LeX
Rus
!!!

Script attachXMenu (xmenu1); script

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.