JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old May 21st, 2003, 11:03 AM
Ciaran26 Ciaran26 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 4 Ciaran26 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
JS Mouseover /Combo box problem

I'm using some JS mouseover dropdown menus but if I have a combo box directly below a menu header the combo box will block out one of the drop down options. Does anyone know a way round this?
Createpopup only works on IE 5.5 and over which rules me out as all the users can't be guranteed to be using this plus hiding the combo boxes will mean around 10 boxes disappearing from the screen everytime someone touches the menu - this is frustrating!

Reply With Quote
  #2  
Old May 21st, 2003, 12:40 PM
dgibson dgibson is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Urbana, MD, USA
Posts: 66 dgibson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Simply put - you're out of luck. Well, not quite. This is something you must plan for when you decide to use such a DHTML menu. SELECT boxes basically have an infinite z-index. If IE popups overlay the select box properly, then you can use them (conditionally) to help the vast majority of users. With older versions of IE and NEtscape, however, this issue involves all form elements and not just SELECT elements. So test in those browsers as well.

Another solution is if you can put the troublesome select(s)/element(s) in a div for which you toggle the DISPLAY CSS property on the same events that trigger the DHTML menu.

Not all designs will allow for that possibility, however, which is why I say this is something you must always plan for when implementing menus like that. Also beware of the infinite z-index of flash and other objects inserted into an otherwise HTML page.

Reply With Quote
  #3  
Old May 22nd, 2003, 09:05 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Hey Ciaran26, infuture, please do not double post. I've deleted this thread that u posted under ASP.

Anyhoo, - here's a way around your problem that people have been using for years.

What you have to do is HIDE (e.g. "document.form.dropdown.visible = true") your drop downs when triggering your menu. It's a fairly simple exercise, tho needs to be coded for a few diff versions of browsers, as the implementation are different on NS, IE, etc...
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #4  
Old May 7th, 2004, 01:59 AM
santoshtupe santoshtupe is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 1 santoshtupe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Please elaborate

Hi Dough

Your solution --
"put the troublesome select(s)/element(s) in a div for which you toggle the DISPLAY CSS property on the same events that trigger the DHTML menu."

I am not able to solve the problem, probably I am not getting it right. Can you please elaborate on the same little more for me.
Main thing is I dont want to hide the combo boxes.

Regards
Santosh.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > JS Mouseover /Combo box problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway