9CBS - Document Center - .Net Title How to implement the left and right key menu on the control placed on the ASP.NET page, and the operation (2) LYX123 (original) keyword ASP.NET, right-click menu
The above says that the menu is created. Now it is the second part: (2), select the menu, click the menu to select the menu and click the menu to actually Mousemove and Click events in the mouse. In the Menustyle mentioned above, I am using the Window.createPopup function provided by JavaScript to implement the pop-up menu, the contents of the pop-up menu are a table. Mousemove and Click events are available in each item in the table. When I happened in the Mousemove event, I made him show a different style. When the Click event occurs, the function fnclick is called so that we have the task of our needs. Now specifically describe the Menustyle () function.
Function menustyle () {
if (window.navigator.appName == "Microsoft Internet Explorer" && window.navigator.appVersion.substring (window.navigator.appVersion.indexOf ( "MSIE") 5, window.navigator.appVersion.indexOf ( "MSIE") 8)> = 5.5)
ISIE = 1;
Else
ISIE = 0;
IF (isie) {menucontent = '