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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:25

Re: Need some direction... hope I didn't purchase too soon.


Poster: Ruth
Dated: Wednesday December 5 2007 - 5:51:31 GMT

Hi,

This is the one you want http://www.milonic.com/treemenu/ It's the top one, the collapse menu.

You can download it from that link. However, once you unzip this file you need to replace the program files, milonic_src.js, mmenudom.js, mmenuns4.js and also the treemenu.js. Get the newest ones from the menu you downloaded when you purchased. In that folder you'll see one called modules, that has the newest treemenu.js in it.

This menu is still in development, however, many people use it with no problems. It depends on whether you are going to try to set up some kind of strange functions or actions for it to do. If you need any help, just post back.

Ruth

Need some direction... hope I didn't purchase too soon.


Poster: ripnoel
Dated: Wednesday December 5 2007 - 3:56:29 GMT

Greetings;

I need to build a menu that will stack the main menu items vertically and when one rolls open it appears directly below the item rolled over and the other meun items move down to make room for the rolled out item(s).

Is this possible with Milonic. If so could someone point me to some menu samples.

Thanks,

Rip

PS I just saw the collapsible menu link (Comming soon)... For some reason I thought the regular Milonic menu did this already...
How soon is soon? We've build a few sites with this system and really like it so much so that I went ahead and paid for a state school usage just to keep supporting a great product even though I new we could have used it free... I'd really like to use this new functionality...what do you think Andy need a real world beta tester?

Re: Need some direction... hope I didn't purchase too soon.


Poster: ripnoel
Dated: Wednesday December 5 2007 - 15:49:59 GMT

Hi Ruth,

Thanks for the help. I have proceeded as you indicated but now the menu is not showing up and previously the newly downloaded one was. I even renamed the js folders back to how I originally had them set up and the regular menu showed back up again. Is there something special I need to do to get this tree menu to show up?

js folders here: http://www.abacusarts.com/fst/js (tree menu stuff there(in "js") now). Orig menu that is showing up fine when folder named "js" ...is now named: js-source-modules-docs

Thanks again for your help,

Rip

Re: Need some direction... hope I didn't purchase too soon.


Poster: Ruth
Dated: Wednesday December 5 2007 - 16:18:17 GMT

Hi,

There doesn't seem to be any milonic file in that js2 folder except the page. What is the path to the treemenu.js and the collapse_data.js files?. Since this is a totally different page, why not rename it - treemenu page - so it isn't the same name as the regular menu one, like index1.htm or something, then just upload that, the treemenu.js file and the collapse_data.js file to the same folder where you now have the regular menu. It will then just use the milonic program files in that folder.

Ruth

Re: Need some direction... hope I didn't purchase too soon.


Poster: ripnoel
Dated: Wednesday December 5 2007 - 16:51:21 GMT

They are in the js folder. There is not a js2 folder. Don't believe I mentioned a js2 folder... Sorry if I did.

Rip

Re: Need some direction... hope I didn't purchase too soon.


Poster: John
Dated: Wednesday December 5 2007 - 16:56:58 GMT

ripnoel wrote:
They are in the js folder. There is not a js2 folder. Don't believe I mentioned a js2 folder... Sorry if I did.

You may not have mentioned it, but your calls are looking for it...
Code:
<SCRIPT language=JavaScript src="../js2/milonic_src.js" type=text/javascript></SCRIPT>   
<script   language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");      
  else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="../js2/collapse_data.js" type=text/javascript></SCRIPT>   
<SCRIPT language=JavaScript src="../js2/treemenu.js" type=text/javascript></SCRIPT>

Also, you can now simplify those calls (using your paths, of course)...
Code:
<script type="text/javascript" src="milonic_src.js"></script>
<noscript><a href="http://www.milonic.com/">JavaScript DHTML Menu Powered by Milonic</a></noscript>
<script type="text/javascript" src="mmenudom.js"></script>
<script type="text/javascript" src="menu_data.js"></script>

The above assumes you are not supporting NS4 (who is?). If you are, simply add that call.

Re: Need some direction... hope I didn't purchase too soon.


Poster: ripnoel
Dated: Wednesday December 5 2007 - 17:53:03 GMT

Well, I may be loosing my mind but you are not looking at my code. I even just logged directly onto our web server and opened the index.html file to verify that my paths are correct and they are. I have never had a js2 folder or a reference to it.

Could you please specifically tell me where you are looking?

Thanks,

Rip

Re: Need some direction... hope I didn't purchase too soon.


Poster: Ruth
Dated: Wednesday December 5 2007 - 18:08:09 GMT

That's interesting because this is a screenshot of your page and the view-source in Notepad. So, for some reason that is what we are getting.

EDIT: IMage removed.

Can you try changing the name of the page with the treemenu and just uploading it to that js-source-modules-docs
folder? Upload that page and also the treemenu.js and the collapse_data.js file to that directory and see what happens. I do get the regular menu page when I go there. So, if you change the name of that treemenu page it should then read the existing milonic program files, milonic_src.js, mmenudom.js and mmenuns4.js

Ruth

Re: Need some direction... hope I didn't purchase too soon.


Poster: ripnoel
Dated: Wednesday December 5 2007 - 21:09:03 GMT

Thanks Ruth & John...again thanks!

Rip

Re: Need some direction... hope I didn't purchase too soon.


Poster: John
Dated: Wednesday December 5 2007 - 18:23:59 GMT

ripnoel wrote:
Well, I may be loosing my mind but you are not looking at my code. I even just logged directly onto our web server and opened the index.html file to verify that my paths are correct and they are. I have never had a js2 folder or a reference to it.

Could you please specifically tell me where you are looking?

What I posted came directly from the source of the link you posted above. Please - don't tell me or Ruth we don't know how to read source code.

Re: Need some direction... hope I didn't purchase too soon.


Poster: ripnoel
Dated: Wednesday December 5 2007 - 19:02:29 GMT

Sorry for the confusion. That index.html in the js folder was part of the Melonic tree download and I was not using it at all and had not even noticed it was there. I did just edit the paths there and in my index.html file and all is good now. I had not been pointing at the treemenu.js file.... sorry to have troubled you all. I do really appreciate your support.

BTW, I need this menu to appear in a specific table cell. is this handled like the original milonic menu? ...code samples appreciated?

Cheers,

Rip

Re: Need some direction... hope I didn't purchase too soon.


Poster: John
Dated: Wednesday December 5 2007 - 20:16:46 GMT

No trouble, Rip. It's just been one of those days when things that were working are no longer, and things that were failing are now magically working. Sheesh...

Details on how to embed the menu in a cell can be found at http://www.milonic.com/tablemenu.php.

Re: Need some direction... hope I didn't purchase too soon.


Poster: Ruth
Dated: Wednesday December 5 2007 - 20:49:44 GMT

Hi Rip,

Also, if you get stuck just post back and we'll see what we can do. You need to remember that when you are putting this in a table when you open the menu the table will size larger for it to fit. Just so you keep it in mind when you're doing your layout. Unlike the regular menu where the submenus 'overlay' the stuff, with the treemenu those submenus will be inside the table.

Ruth