Link to home
Start Free TrialLog in
Avatar of WeeKeong
WeeKeong

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of lexxwern
lexxwern
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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&
yea iknew his as soon as i posted. sorry all, too much of lounge . . .
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>
hi aavi,
could you pls explain the code, ive never seen stuff like this before, but this is cool..
lexxwern
but it doesnt seem to show up in mozilla though..
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&
BTW aavi, using the answer button for something that speculative is not proper use of the answer button.

Cd&
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 !!!
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!
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.
: - )
Avatar of Michel Plungjan
Avatar of Netminder
Netminder

Per recommendation, force-accepted.

Netminder
EE Admin
Hmm - my comment was to show that that was not really true!
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
Actually Cobol's own fitst comment is correct ;-)
I would leave it as is since all pertinent comments are in here..
michel,

Thanks.

N
aavi:  I can't find any documentation online for this ProfidCombo.  Is there something online that you can point us to?
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 https://www.experts-exchange.com/questions/20634595/For-COBOLdinosaur-re-20316823.html

Netminder
EE Admin