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:45
submenu span in top of page
Poster: comfama54
Dated: Wednesday January 3 2007 - 16:43:54 GMT
Hi
I have a problem with treemenu.js and openmenusbyurl.js, submenus works correctly but at certain moments it works strange, in the same pagina.
this is an example where it's correct.
http://www.comfama.com/webinicio/milonic/imagenbien.JPG
this is an example where it's not correct.
http://www.comfama.com/webinicio/miloni ... oblema.JPG
this error happens randomly
these are the files used in page
http://www.comfama.com/webinicio/miloni ... ersona.txt
http://www.comfama.com/webinicio/milonic/treemenu.js
http://www.comfama.com/webinicio/milonic/milonic_src.js
http://www.comfama.com/webinicio/milonic/mmenudom.js
http://www.comfama.com/webinicio/miloni ... usbyurl.js
http://www.comfama.com/webinicio/milonic/Jóvenes.txt
thanks for any helps.
comfama.
Poster: Andy
Dated: Sunday January 7 2007 - 12:06:38 GMT
Hi,
If you could create something that we can see on the Internet to replicate this problem that would help us a lot.
I know you've sent the files but it will take us a while to put them altogether into a test suite. If you can do this small thing for us we'll help with the problem.
Cheers,
Andy
submenu span in top of page
Poster: comfama54
Dated: Tuesday January 9 2007 - 15:25:12 GMT
Hi,
the url for example is: http://www.comfama.com/webinicio/Milonic/pagina.asp
is necesary type Ctrl + F5 repeatedly in page for view the error
thanks for any help.
comfama.
Poster: Ruth
Dated: Wednesday January 10 2007 - 5:57:31 GMT
Hi,
You have that menu set as relative but you are not using the correct procedure for placing a relative menu.
Cut the main tree menu out of the menuadmon file and put it in it's own file. I named it mainadmon. Add a drawmenus to the end of it. Save both files, both will have a drawMenus(); at the end. The menuadmon will no longer have the main menu in it.
Now call the menuadmon file with the rest of the menu files, up where you have the servicios one, and call the mainadmon file where you are now calling the menuadmon file.
That should fix the problem.
Here is the complete information on setting up a relative positioned menu.
http://www.milonic.com/tablemenu.php
Ruth
submenu span in top of page
Poster: comfama54
Dated: Wednesday January 10 2007 - 14:43:33 GMT
Hi,
Your suggestion was implemented in other page, but not resolve the problem yet
the url is a new page with suggest solution
http://www.comfama.com/webinicio/Milonic/pagina.htm
is necesary type Ctrl + F5 repeatedly in page for view the error
for example
http://www.comfama.com/webinicio/Milonic/menuerror.JPG
in order to obtain this error menu was necessary 14 repetitions typing ctrl + F5
thanks for your help.
Comfama.
Poster: Ruth
Dated: Wednesday January 10 2007 - 23:05:02 GMT
Hi,
I'm sorry but I cannot see what the problem is, sense I don't see anyone hitting ctrl + F5 14 times in a row just to see if they can make the menu do something strange thing.
I have you're page and I'll make 15 different version of the page and set up 15 links to open them and go to one after another to see if I can reproduce the problem, but I don't think that will happen.
In the meantime I'll post to Milonic.
Ruth
Poster: Ruth
Dated: Wednesday January 10 2007 - 23:19:28 GMT
Hi,
I'm sorry, I didn't realize I hadn't said to remove the top and left positions from that main relative positioned menu, so try removing that, since the menu is relatively positioned the top and left are not applicable and shouldn't be there and might cause a problem.
Ruth
Poster: Andy
Dated: Wednesday January 10 2007 - 23:21:59 GMT
Hi,
Can you get it to fail here: http://www.milonic.com/users/pagina.htm
If not, try upgrading the code files, you are a couple of levels down and it's long a shot but one that we need sorting before we can test anymore.
Cheers,
Andy
submenu span in top of page
Poster: comfama54
Dated: Thursday January 11 2007 - 22:52:16 GMT
Hi
Andy
I have a question, I get the licence of milonic menu on november 2006,
How do can I get the latest version of milonic´s scripts using my license?
I´m using a tree menu.
About my problem, I´m testing other alternative. I will tell you on the matter.
thanks
Poster: Ruth
Dated: Friday January 12 2007 - 7:25:18 GMT
Hi,
To get the newest version, go to the main site http://www.milonic.com/
Click the log in button and log in under the name you registered when you got the menu, this may not be the name you registered with for the forum. Once logged in click the Download button on the right. If you are logged in when you click that button the system automatically download your licensed version. With a valid license you are entitled to download the newest versions for a year and of course you can use the menu forever
If you have set up to be notified of forum posts by email, go to this topic and click on the watch this topic link and you will get an email notification when each new version is available for download.
http://www.milonic.com/forum/viewtopic.php?t=3108
Ruth
Poster: comfama54
Dated: Friday January 12 2007 - 23:04:42 GMT
Hi Ruth
I followed his indications but I see that the version of the latest archives corresponds to which it got whit the license when we acquired it.
How do can I verify the version of archives openmenusbyurl.js and treemenu.js?
How do can I get the latest version of milonic´s scripts openmenusbyurl.js and milonic_src.js using my license?
thanks for your help.
Poster: Ruth
Dated: Saturday January 13 2007 - 0:53:21 GMT
Hi,
You don't need to be logged in for those. Here is the module page where all modules are the newest versions
http://www.milonic.com/menumodules.php
The treemenu.js file is about halfway down and the openmenusbyurl.js file is below it, entitled Automatic Menu Opening Module
I got your problem fixed, but see you are not using that set up anymore?
Ruth
Poster: comfama54
Dated: Saturday January 20 2007 - 22:18:50 GMT
Hi
I get the latest milonic's scripts, but i see that my problem persist.
But after continuing trying i found that the reason of the problem is the position of the openmenusbyurl.js script. This script must go at the end of the page, just before of tag '</body>'. This way the problem was corrected.
But unfortunatly i found other problem that happens randomly. At any time when the tree menu is displayed, the submenu selected don't display its options(such as it can be seen in this image http://www.comfama.com/webinicio/Milonic/caso/error.gif). Until the moment I haven't found a parameter defined to reproduce it. In the following link, it happens.
http://www.comfama.com/webinicio/Miloni ... pagina.htm
thanks
Poster: comfama54
Dated: Friday February 9 2007 - 14:45:24 GMT
please, can anybody help me?
I need publish my company's web site next week using this version of milonic menu and the problem persist
Poster: Ruth
Dated: Friday February 9 2007 - 22:10:31 GMT
Hi,
I understand from Milonic that the tree/collapse menu is still in development and has not been released as in production. There is no support for it, though we try on the forum to see if we can fix things that are not a menu bug. I have found that there are some problems which only occur in this menu when positioned relatively, that is in a div or table, which is how you are using it.
If you can position it absolutely it may fix the problem you are seeing, but there are no guarantees. Other than that suggestion there is not anything I can do to help since this menu is not in final release and there is not yet any release date for it.
Ruth
Poster: comfama54
Dated: Saturday February 17 2007 - 0:52:52 GMT
Hi,
There is no support ????????
when it's this menu is in final release?
thanks
Poster: Ruth
Dated: Saturday February 17 2007 - 2:35:01 GMT
Hi,
I do not know when that would be. We on the forum are not part of Milonic, we just like the menu and volunteer on the forum to help.
The newest version is 5.770, with a pre-release 5.771 available also. Go to this link, then log in and download the newest version. When logged in you'll get your licensed version in the download.
http://www.milonic.com/menuvinfo.php
when you download the new version, before you unzip it, make sure you put the 3 program files from the version you have now in a separate folder as a backup incase you need to go back to it for any reason.
As to what's happening, I don't know unless it has to do with the relative position, the need for submenus to be build before the main menu is rendered and something with asp, 'active' pages??? Anyway, I thought you might try the following method which uses the buildAfterLoad=true; method.
Open the 'Servicios_inc_Deportes y recreación.txt' file and add this to the top right below the _subOffsetLeft=0; line
buildAfterLoad=true;
There is no _ in front of that, just as it is.
Then open your other menu also and put that line in it. You have to do that because you'll be putting the milonic_src and mmenudom files into the table cell, so you'll also have to put that other menu txt file there.
On your page, remove the calls for the milonic_src.js, mmenudom.js and the servicios_Persona.txt from right after the body tag and then place all the calls for the menus into the table cell. This should NOT move the top menu since you have that set in the menu txt file as top=119; left=450; but the call needs to be after the milonic program files so it will have to be in that table cell.
Code:
<TD class=Columna_sitio vAlign=top width=193><IMG height=20
alt=Opciones src="" width=193 border=0><SCRIPT src="milonic_src.js" type=text/javascript></SCRIPT>
<SCRIPT src="mmenudom.js" type=text/javascript></SCRIPT>
<SCRIPT src="treemenu.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript
src="Servicios_inc_Deportes y recreación.txt"
type=text/javascript></SCRIPT>
<SCRIPT src="servicios_Persona.txt"
type=text/javascript></SCRIPT><SCRIPT src="openmenusbyurl.js" type=text/javascript></SCRIPT>
</TD>
alt=Opciones src="" width=193 border=0><SCRIPT src="milonic_src.js" type=text/javascript></SCRIPT>
<SCRIPT src="mmenudom.js" type=text/javascript></SCRIPT>
<SCRIPT src="treemenu.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript
src="Servicios_inc_Deportes y recreación.txt"
type=text/javascript></SCRIPT>
<SCRIPT src="servicios_Persona.txt"
type=text/javascript></SCRIPT><SCRIPT src="openmenusbyurl.js" type=text/javascript></SCRIPT>
</TD>
I moved the openmenusbyurl there, also as the last file. See if it works there, if not, then just move it back where you had it. Make sure when testing that you cut out the call at the end of the page for that openmenusbyurl file.
See if that works. It seems to work for me, and maybe the buildAfterLoad=true; will for all the menu to build so that those submenus don't 'disappear'. That's the only suggestion I can make.
I understand that the treemenu has problems and they are working on it, I believe it's being totally rewritten.
I'm going to try and set up the collapse menu, which uses the treemenu but seems to be working without these problems, I'll see if I can lay it out like your design and post it for you so you can try it.
Ruth