[jQuery] Re: the dropdown menu flashes on the screen on page load.
style=display:none worked great! thanks On May 2, 2:33 am, yabado [EMAIL PROTECTED] wrote: You may want to specifically tell the menu dive to not display, hard coded. div id=menuitems style=display:none;/div On May 1, 6:04 pm, Theodore Ni [EMAIL PROTECTED] wrote: You'll need to give us more information, a demo or at least some code, before we can help you diagnose. On Thu, May 1, 2008 at 5:18 PM, all4one [EMAIL PROTECTED] wrote: I have two drop-down lists in the main menu at the top of the page. When you click on link items in the top menu (different menu) which is below the main menu the drop-down menu flashs then disapears as the rest of the page loads. -- Ted- Hide quoted text - - Show quoted text -
[jQuery] Re: the dropdown menu flashes on the screen on page load.
You may want to specifically tell the menu dive to not display, hard coded. div id=menuitems style=display:none;/div On May 1, 6:04 pm, Theodore Ni [EMAIL PROTECTED] wrote: You'll need to give us more information, a demo or at least some code, before we can help you diagnose. On Thu, May 1, 2008 at 5:18 PM, all4one [EMAIL PROTECTED] wrote: I have two drop-down lists in the main menu at the top of the page. When you click on link items in the top menu (different menu) which is below the main menu the drop-down menu flashs then disapears as the rest of the page loads. -- Ted
[jQuery] Re: the dropdown menu flashes on the screen on page load.
Here is the link to the page: http://www3.appliedbiosystems.com/index.htm Notice how the My Account and My Basket/Orders dropdowns briefly display as the page loads. Also note that they display briefly when the page refreshes after clicking on Applications Technologis, Services or Support in the main (blue) menu bar. This is what I'm trying to prevent. I believe the following code displays the dropdowns on mouseover and hides them when the mouse leaves. Am I on the right path? dom.query('div.trigger').hide(); dom.query('div.trigger').bgIframe(); dom.query('div.subMenuAlt').bgIframe(); dom.query('div.subMenu').bgIframe(); dom.query(li#myAccount, li#myBasket).bind(mouseenter, function(){ dom.query(this).find(a).eq(0).addClass(active); dom.query(this).find(div.trigger).show(); dom.query(#topMenu ul li).css(position, static); }).bind(mouseleave, function(){ dom.query(this).find(a).eq(0).removeClass(active); dom.query(this).find(div.trigger).hide(); dom.query(#topMenu ul li).css(position, relative); }); On May 1, 3:04 pm, Theodore Ni [EMAIL PROTECTED] wrote: You'll need to give us more information, a demo or at least some code, before we can help you diagnose. On Thu, May 1, 2008 at 5:18 PM, all4one [EMAIL PROTECTED] wrote: I have two drop-down lists in the main menu at the top of the page. When you click on link items in the top menu (different menu) which is below the main menu the drop-down menu flashs then disapears as the rest of the page loads. -- Ted
[jQuery] Re: the dropdown menu flashes on the screen on page load.
You'll need to give us more information, a demo or at least some code, before we can help you diagnose. On Thu, May 1, 2008 at 5:18 PM, all4one [EMAIL PROTECTED] wrote: I have two drop-down lists in the main menu at the top of the page. When you click on link items in the top menu (different menu) which is below the main menu the drop-down menu flashs then disapears as the rest of the page loads. -- Ted