473,398 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Why does my hidden dropdown menu load when the page is loaded?

I have been experimenting with putting a dropdown menu on my webpage. I want it to be hidden unless someone hovers over the main tab. I have everything working except when the page loads initially, the drop down menus are all visible. You can see what I am talking about on the page I'm working on, www.oceanmanmusic.com/indexc.html

If anybody has a solution that would be greatly appreciated.

Thanks,
Brad
Jul 18 '11 #1
4 2617
Dormilich
8,658 Expert Mod 8TB
you need to call mclose() manually unless you hide the dropdown it from the start. (currently it’s set to visible)
Jul 19 '11 #2
Hi Dormilich,
Thanks for your response. Where exactly in the code do I call mclose()?

Thanks,
Brad
Jul 25 '11 #3
Dormilich
8,658 Expert Mod 8TB
it doesn’t matter where, essentially when the document finished loading.
Jul 25 '11 #4
Rabbit
12,516 Expert Mod 8TB
In the on load event. But I would take Dormilich's advice and just set it to hidden by default.
Jul 25 '11 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ian Davies | last post by:
Hello Ive been informed that I need to do the following in javascript. I have two drop down menus in my php script. The items displayed in the second is dependent on which item is choosen from the...
1
by: DJG79 | last post by:
Hi all, I am using an open source menu that i found and it works great, except for one thing that when the web page is not scrolled to the very top the drop down links will not stay visible. Has...
4
torquehero
by: torquehero | last post by:
Hi all :) I have created a horizontal navbar using Xara Menumaker. The Menu items have several dropdown menus. Its a javascript. When the mouse cursor is moved over any menu item, a dropdown...
1
by: cookspyder | last post by:
To give an overview of what im trying to do I will first explain what I am using. I have a Jahia based site supporting dashboards on port 80 and php support on port 88 on the same win 2003 server...
1
saputello
by: saputello | last post by:
hello! i found an article on making a dropdown menu at this page: http://www.alistapart.com/articles/dropdowns/ i've had no problem making it work in every browser i've tried other than...
19
by: Jim | last post by:
Hi, I have two questions/problems pertaining to CSS horizontal dropdown menus and am hoping that someone here can help me out. (1) I'm having a problem centering the menu. I picked up the...
3
by: jerrydigital | last post by:
good evening, I am trying to allow my users to enter in text if they don't find their option on my drop down menu. In the code below, I can get a text box to show up when I select 'Other' on the...
0
by: jaim | last post by:
In my web page there is a text 2nd number of your passcode when the page loaded , dynamicaaly each time number is getting changed. And also having the Combo box to select the values (0-9) this should...
0
by: Helena Tran | last post by:
I'm doing a dropdown-menu, and combine JS. It's display well in all browser, but it has an error when displaying in IE 7,8 browser: Menu dropdown in normal : ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.