2 .
jquery superfish, , . ASP.NET javascript, .
, , ASP.NET Enabled = false
:
new Sys.WebForms.Menu({ element: 'mysitemeun', disappearAfter: 500, orientation: 'horizontal', tabIndex: 0, disabled: **true** });
After tracking the code, when the parameter is disabled, there are still style changes in the Menu , but it will not add events to the MenuItem . And now the superfish animation is working .
if (!this.container.disabled) {
Sys.WebForms.Menu._domHelper.addEvent(this.element, 'mouseover', Sys.WebForms.MenuItem._onmouseover);
Sys.WebForms.Menu._domHelper.addEvent(this.element, 'mouseout', Sys.WebForms.MenuItem._onmouseout);
}
source
share