473,395 Members | 1,577 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,395 software developers and data experts.

Opening a DHTML menu from a SELECT box OPTION tag

Hi!

Is it possible to open DHTML menu from a select box option?

I need a select box which shows a new sub-menu when pointing the mouse
over an option. Does anyone know is this possible? The option
onMouseover doesn't seem to work.

Thanks for any help!!
Jul 23 '05 #1
2 1719
Ilpo wrote:
Hi!

Is it possible to open DHTML menu from a select box option?

I need a select box which shows a new sub-menu when pointing the mouse
over an option. Does anyone know is this possible? The option
onMouseover doesn't seem to work.

Thanks for any help!!


The W3C HTML spec says in regard to onmouseover:

"...This attribute may be used with most elements "

However, whilst it can be used with a select, it does not appear to
work with option elements. You could attach an onchange event to the
select tag so that when users click on an option, the submenu is
displayed.

Otherwise, perhaps a select element is not the right thing to use?

Cheers, Rob.
Jul 23 '05 #2
RobG <rg***@iinet.net.auau> wrote in message news:<41***********************@per-qv1-newsreader-01.iinet.net.au>...
Ilpo wrote:
Hi!

Is it possible to open DHTML menu from a select box option?

I need a select box which shows a new sub-menu when pointing the mouse
over an option. Does anyone know is this possible? The option
onMouseover doesn't seem to work.

Thanks for any help!!


The W3C HTML spec says in regard to onmouseover:

"...This attribute may be used with most elements "

However, whilst it can be used with a select, it does not appear to
work with option elements. You could attach an onchange event to the
select tag so that when users click on an option, the submenu is
displayed.

Otherwise, perhaps a select element is not the right thing to use?

Cheers, Rob.

MSIE Option objects have exactly zero event handlers, unlike
moz/gecko. Use something else if you need mouseover activation.
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: bigfella | last post by:
Hello Folks, I would like a web page to have 2 menu lists The contents of the second menu list depending on the selection made in the first. The contents of the second would be populated...
19
by: mart2006 | last post by:
I've created a dynamic drop down menu that populates itself with data from a MySQL table. What I would like to do is create a non dynamic drop down menu that alters what is shown in the dynamic menu....
1
by: paintedjazz | last post by:
I am using the following javascript to make a popup menu allow the user to navigate to different pages on a website. Yet it is opening windows as if I have <base target="some-name"> defined in the...
2
by: Ravi Joshi | last post by:
The menu on my site works fine in IE6 and Firefox. In IE7, there is a problem with the menu: when you mouse over the various main catagories, the sub-catagories all appear to the right as they...
2
by: namratha247 | last post by:
Hi, Can anybody please help me with this problem. In my application, I'm using Menus. and the CSS for the menu is as given below ccMenu.css /* Root = Horizontal, Secondary = Vertical */...
7
by: swapcool | last post by:
Hi, I am a page having a menu and a few frames life below. The links in menu open in F3 frame. I also have back/forward buttons in F1 frame. ________________________ ____________F1_________|...
3
by: Salad | last post by:
I have 2 apps; one written in A97, the other in A2003. If I open an app in A97 then close it, then open Explorer and dbl-click on the A2003 mdb, I'm informed it's an unrecognized format. If I...
6
by: phpnewbie26 | last post by:
My current form has one multiple select drop down menu as well as few other drop down menus that are single select. Originally I had it so that the multiple select menu was first, but this created...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.