Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 248
  • Last Modified:

drop down menu block by combo box

hi all, currently i'm using javascript to create a drop down menu for my website, but i'm facing a problem. my menu items always block by a combo box. can anybody tell me how to solve this problem?
Thanks
0
WeeKeong
Asked:
WeeKeong
  • 6
  • 4
  • 4
  • +3
1 Solution
 
lexxwernCommented:
this cannot be solved because the zindex of a combo box is infinite that means it will cover up everything under it. the only thing you can do is redesign the site and make sure this <hidden>****</hidden> doesn't happen.
0
 
COBOLdinosaurCommented:
A lexx said there is no solution to this because of the default value of the z-index.  The options are.  Hide the select when it is in the way.  Move the select box when it is in the way. Change the layout to get rid of the positioning conflict.

Lexx,

Please keep your language professional.

Cd&
0
 
lexxwernCommented:
yea iknew his as soon as i posted. sorry all, too much of lounge . . .
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
aaviCommented:
hi WeeKeong .
the following Object will not act the same as a regular combo box with infinit z-index.
try the following :
<html>
<body>
<object  dir=rtl classid="clsid:8BD21D30-EC42-11CE-9E0D-00AA006002F3" id="ProfidCombo" name="ProfidCombo" width="150" height="20" >
<param name="VariousPropertyBits" value="746604571">
<param name="BackColor" value="16777215">
<param name="ForeColor" value="2147483656">
<param name="MaxLength" value="0">
<param name="BorderStyle" value="2">
<param name="ScrollBars" value="0">
<param name="DisplayStyle" value="7">
<param name="MousePointer" value="1">
<param name="Size" value="2540;635">
<param name="PasswordChar" value="0">
<param name="ListWidth" value="4000">
<param name="BoundColumn" value="1">
<param name="TextColumn" value="65535">
<param name="ColumnCount" value="1">
<param name="ListRows" value="8">
<param name="cColumnInfo" value="0">
<param name="MatchEntry" value="1">
<param name="ListStyle" value="1">
<param name="ShowDropButtonWhen" value="2">
<param name="ShowListWhen" value="1">
<param name="DropButtonStyle" value="1">
<param name="MultiSelect" value="0">
<param name="Value" value="default value">
<param name="Caption" value>
<param name="PicturePosition" value="458753">
<param name="BorderColor" value>
<param name="SpecialEffect" value="3">
<param name="Accelerator" value="2">
<param name="GroupName" value>
<param name="FontName" value="Arial">
<param name="FontEffects" value="1073741824">
<param name="FontHeight" value="180">
<param name="FontOffset" value="0">
<param name="FontCharSet" value="0">
<param name="FontPitchAndFamily" value="2">
<param name="ParagraphAlign" value="1">
<param name="FontWeight" value="200">
</object>
<script language="javascript">
  document.all.item("ProfidCombo").addItem("item 1");
  document.all.item("ProfidCombo").addItem("item 2");
  document.all.item("ProfidCombo").addItem("item 3");
</script>
</body>
</html>
0
 
lexxwernCommented:
hi aavi,
could you pls explain the code, ive never seen stuff like this before, but this is cool..
lexxwern
0
 
lexxwernCommented:
but it doesnt seem to show up in mozilla though..
0
 
COBOLdinosaurCommented:
Interesting.  The user will have to allow it, if it gets by the firewall.  Might be okay for an intranet site, but....

Lexx,
It does not work in Mozilla because it is IE only, and it would be interesting to see someone try it in a form.  Nice toy... nice GUI simulation, but if your are going to do that for a browser page, you might as well just do a GUI app, where it won't run into compatibility issues.

Cd&
0
 
COBOLdinosaurCommented:
BTW aavi, using the answer button for something that speculative is not proper use of the answer button.

Cd&
0
 
aaviCommented:
this answer is for COBOLdinosaur
try my site and see that it work well
its in hebrew but i am sure tou will manage
try to navigate the menu
http://www.clalit.org.il/medserv/doctors.asp

of course there is this site for handling the behavior of the ComboBox take a look it's:
http://webfx.eae.net/dhtml/dhtmlmenu4/menu4.html

i tell you this is the perfect Menu !!!
0
 
lexxwernCommented:
cd&,
i know its not usable in real world sites.. but just got exited seeing something i didn't know about..

aavi, its just a common practise here to submit as comments; thats all; welcome!
0
 
COBOLdinosaurCommented:
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
points ot lexxwern

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.
0
 
lexxwernCommented:
: - )
0
 
Michel PlungjanIT ExpertCommented:
0
 
NetminderCommented:
Per recommendation, force-accepted.

Netminder
EE Admin
0
 
Michel PlungjanIT ExpertCommented:
Hmm - my comment was to show that that was not really true!
0
 
NetminderCommented:
Accck!

michel,

I do wish you'd have said that when you posted. We depend on Experts like Cd& to make good recomendations, and to be honest, we depend on Experts like you to help steer us -- hence Cd&'s comment.

Any suggestions for rectifying this one?

Netminder
0
 
Michel PlungjanIT ExpertCommented:
Actually Cobol's own fitst comment is correct ;-)
I would leave it as is since all pertinent comments are in here..
0
 
NetminderCommented:
michel,

Thanks.

N
0
 
nodomainCommented:
aavi:  I can't find any documentation online for this ProfidCombo.  Is there something online that you can point us to?
0
 
NetminderCommented:
Cd&,

I must have thought this a split in all the excitement, which would have caused me to ignore it. My apologies...  Points for you at http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20634595.html

Netminder
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 6
  • 4
  • 4
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now