开发者

Asp.net default theme css menu problem

开发者 https://www.devze.com 2023-03-03 04:09 出处:网络
Net 2.0 default theme in VS 2010, which is blue header and white body, its menu is good, but when the page loads, menu first ope开发者_如何学JAVAns in a disturbing way, and then close in a proper posi

Net 2.0 default theme in VS 2010, which is blue header and white body, its menu is good, but when the page loads, menu first ope开发者_如何学JAVAns in a disturbing way, and then close in a proper position, this is css problem, if the page is heavy or takes some time, the menu gets disturbed, any body has idea, how to resolve this issue?

Thanks Atif


Work around for Menu control load asthetics on slow browsers: JTankers; 2011/06/17

Replace the tag with:

  <body onload="document.getElementById('div_Menu').style.visibility='visible'">

Place the menu control in the following div:

  <div id='div_Menu' style='visibility: hidden'; >
    <asp:Menu ...
  </div>
0

精彩评论

暂无评论...
验证码 换一张
取 消