Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:36

Menu Drops down behind form-element..= not good...Solution?


Poster: SoTTo
Dated: Monday June 3 2002 - 13:37:31 BST

When i put a <form> and a <select > list in it... and the menu drops down...it should drop down above it...not below...

How can i put the menu on top of the form?

I saw an example on there page....that is working....but no explanation of it yet....
anybody figured that out yet?

Is it something in the overforms_array.js? is it a different mmenu.js?
I see they're putting their form between <div></div> ... but don't find the div's referenced....so....

Plz response...how did they do it?

Greetz SoTTo


Poster: John
Dated: Monday June 3 2002 - 17:37:04 BST

Enclose your entire <form> within a <div id="any_name" style="position:relative">. Then include your chosen "any_name" within each menu definition that you want to trigger the hide function as addmenu(menu=["home",106,36,90,0,"",style1,,"left",effect,,,,,,,,"any_name",,,,

This last one is the "ID of the div you want to hide on MouseOver (useful for hiding form elements)" item.


Poster: John
Dated: Monday June 3 2002 - 17:51:15 BST

Forgot - see a working example at http://westcgi.west.asu.edu/sai/staff/ads/post.cfm.

Note also that it responds differently in IE and NS - in IE just the pop-ups go away, in NS the entire form hides.


Poster: SoTTo
Dated: Monday June 3 2002 - 18:44:48 BST

Hmm, yes... ic... i got it working on my testsite....the whole form dissapears: plain text, input buttons, dropboxes,... ( i used your first post to get it working)
What can be the prob?

I took a look at that page...
I don't see the difference with your first post and that working example...they also use that <div id=... style=...>

If you could explain me in more detail how they do... i'd appreciate it

(And: in NS6 not the whole form is hiding: also only the dropboxes)


Poster: SoTTo
Dated: Monday June 3 2002 - 18:49:03 BST

Oops.....

I tought u wrote Forget (what i mentioned) -- look at the working example

...

So there won't be a difference :-)

But...still....my whole form is hiding...

if you'd like to help me and need to see the page itself... mail me... sottohimself __at__ wanadoo.be then i'll send you the link...(i don't want to get my site public yet)


Poster: John
Dated: Monday June 3 2002 - 19:20:26 BST

As mentioned, in NS (except 6) the whole form does go away. NS6 reacts like IE6 with only the pop-ups hiding. If you're looking at your site in NS other than 6 it is working properly (you said the whold form goes away). This is correct operation. So I'm confused as to why you think there's a problem. From what you say it seems to be working properly.

As for the working example I gave you - that's my site, so there won't be a difference between that and the code I placed here! :D


Poster: SoTTo
Dated: Monday June 3 2002 - 19:30:15 BST

No...

I look at my site with NS6 and IE6 and in both browsers the whole form is hided when moving mouse over menu

(and on your site ... it doesn't.....--> i'm jalous) ;)

Menu Drops down behind form-element..=not good...Solution?


Poster: ChiefDND
Dated: Friday June 7 2002 - 21:26:25 BST

8O
Hello,

I was researching this same issue and was wondering if you could share how it was resolved.

I have added the <div> as stated with the same results, the form disappears.

Thanks,
ChiefDND __at__ hotmail.com


Poster: John
Dated: Monday June 10 2002 - 15:04:38 BST

How much of a form disappears depends on the browser and version being used - either it all goes or just the pop-ups go. There's no coding change you can make to control that.