Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 13th, 2004, 10:38 AM
Registered User
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Menu is drawn behind comboboxes

Hi,

one of our sites uses a horizontal menu from http://www.dynamicdrive.com/dynamicindex1/hvmenu/

The problem is that if a page has comboboxes (html select controls) on top of the page and a user views a menu with several sub menus, the sub menus are drawn behind the comboboxes (comboboxes on top) whereas using textboxes doesn't have this sort of effect but the sub menus are drawn over textboxes (menu on top). Now, I figure this is some sort of DHTML/JavaScript functionality which can not be changed, but is there any easy way round this? I'm using IE6.0. I'm not very familiar with JavaScript and as you all know deadlines, wouldn't want to use a lot of time doing re-coding.

Thanks in advance!

Riia
 
Old December 13th, 2004, 10:48 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

See this topic:

http://p2p.wrox.com/topic.asp?TOPIC_ID=23305

--

Joe (Microsoft MVP - XML)
 
Old December 14th, 2004, 03:48 AM
Registered User
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply. Since our menu is highly 'dynamic' (created on the fly in ASP and adapts to user rights) I can not unfortunately see this solution as an option for us. We have dozens of pages, some of them have select controls, others not. Tying such a dynamic menu into controls that vary from page to page and may change over time just doesn't seem as the right way to go about it. So, I guess we'll stick with the one we have now, with all its faults. Thanks anyway.
 
Old December 14th, 2004, 05:13 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

To solve the problem in IE, you can create an iframe in the same position as each part of your menu with opacity of 0 using a filter. This will hide the part of the select box that would normally show through.

HTH,

Chris






Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter using a Pop-up Form and Comboboxes Odeh Naber Access VBA 3 August 7th, 2008 07:39 AM
2 ComboBoxes in VB.NET vas General .NET 0 May 8th, 2008 08:51 AM
An error drawn when creat a new web application thanh an .NET Framework 1.x 1 September 26th, 2006 12:23 PM
Link two ComboBoxes stepdev Excel VBA 0 May 22nd, 2006 02:30 PM
Corresponding values change in comboboxes gaurav_jain2403 ASP.NET 1.0 and 1.1 Professional 4 May 19th, 2006 10:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.