Hiding DIV's and Display Menu - Does it really work now?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
starbawk
Beginner
Beginner
Posts: 4
Joined: Mon Aug 30, 2004 8:36 pm

Hiding DIV's and Display Menu - Does it really work now?

Post by starbawk »

On sample 14, you have a menu that solves the list box showing on top of the menu problem. On the website, you said it is underdevelopment and should be working soon.

I download the sample, played with it, and it appeared to work just fine.

So, why does it say it does not work?? Im in need of a solution like this ASAP, and will buy the full licence to solve this problem for a project.

Please someone answer this as soon as possible... THANKS!!

http://milonic.com/menusample14.php
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

As far as I know it does work, I'm not sure why it says it's still underdevelopment. If you are considering purchasing and that is an issue, you might contact Milonic for a firm answer. We here are volunteers helping on the forums and don't work for Milonic.

Ruth
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Just to throw in with Ruth... it's worked for quite a while as far as I know. There's also another possibility that you might want to explore... using Milonic Menus to emulate select boxes (then you don't have any layering issues to deal with). The method is discussed in this thread. One of the participants in that thread (Summy) implemented the idea and it looks pretty slick; there's sill an active link in the thread to the site demonstrating his implementation.

Cheers,

Kevin
fulmer
Super Advanced
Super Advanced
Posts: 39
Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:

Post by fulmer »

I'm not understanding how to get this to work...
Is there a special tag you need to put into the menu_data.js file?
Or is it in the html file?

sorry, but I'm clueless :oops:
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Get what to work, the divhider or the select boxes? If it's the divhider, the text of the item that opens a submenu over the div you want to hide is put in the divhider.js file

Code: Select all

M_hideMenus = "mysite->div1;offsite->div1;help->div1;"
The div placed around the select box or applet or whatever it is you're hiding and has an id=div1 name=div1 in it, and that is used in the divhider.js file as you can see. You then upload the divhider file and put a call for it in the head just like the call for the menu data.js file. I can't help you on creating the select boxes in the menu, but you might go to that link and check the website that uses it, look at their menu_data.js file and how it's coded.

Ruth
fulmer
Super Advanced
Super Advanced
Posts: 39
Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:

Post by fulmer »

Thanks Ruth!
Sorry for the delayed response... I've been a little busy :oops:

Ya, I'm trying to figure out how to get the div hider to work. I couldn't really see anything in the menu data file for the sample, but I guess I had no clue as to what to look for. I'll check it out your suggestion and see if it works.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

If you look at the sample, and view the source of the page you will see the select boxes are in a div which has been given a name and id.

Code: Select all

<div id=formdiv1 name=formdiv1  style="position:relative">
<form>
<select>
<option>Testing to see  etc....
Then in the divhider.js file you would see that the two menu items which drop over that div, the Samples and Milonic are listed along with the name of the div

Code: Select all

M_hideMenus = "Samples->formdiv1;milonic->formdiv1;"


As for the other site's menu data file. In it you'd see a function at the top that talks about form. It doesn't use the divhider.js file instead it put the form into the menu itself.

Ruth
Post Reply