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: Saturday July 14 2012 - 06:07:57

about the url setting in the frame based menu


Poster: lauchunhui
Dated: Monday January 10 2005 - 2:13:54 GMT

i want ask the url setting problem !!!

i refer the http://www.milonic.com/menu/frames/

ya, it is a good sample for me !!!

but , i got a problem now !!!

this example will auto set up the url and call the related function which the file in the same folder with the menu

for example , my index page is
http://10.228.212.21:8994/Fisicien-View ... tion=login

this page will pop up the menu!!! when i click the sub menu , i want link to
http://10.228.212.21:8994/Fisicien-View ... ction=Init

but this example will link to the
http://10.228.212.21:8994/Fisicien-View ... ction=Init

if cm/abc is folder which the login menu page's locate path

but i want to know how to set up the url for my specific url

how to set up ???

i hope somebody can help me !!!


Poster: lauchunhui
Dated: Monday January 10 2005 - 4:08:13 GMT

i ask my senior , i know how to do it

actually , i plan to modify the mmenu.js , i try to write the similiar function <%=request.getContextPath()%> in the mmenu.js

but my senior advise me to midify the code

addmenu(menu=["databases",
,,100,1,"",plain_style,,"left",effect,,,,,,,,,,,,
,"MySQL","history.php?tp=mysql",,,0
,"gnglaccount","http://10.228.212.21:8994/Fisicien-ViewController-context-root/GnGLAccountMainAction.do?action=Init",,,0

this way can settle my problem !!!


any ppl get the good method to solve this problem ???

i like this forum !!! it is a good platform !!we can share the exp n disccus here


Poster: Ruth
Dated: Monday January 10 2005 - 4:11:46 GMT

Hi,
This menu is no longer supported. It is still available only as a convenience for those who want it. The sample is the model and beyond that there's no support for it, it's much too old. If you don't need frames, or if you can use iframes, I suggest you use version 5 which is a much more advanced menu using much of the newer developments that have occurred.


Ruth


Poster: Ruth
Dated: Monday January 10 2005 - 4:13:15 GMT

You cannot modify the mmenu.js file. This is a commercial product, it is copyright protected.

Ruth


Poster: lauchunhui
Dated: Monday January 10 2005 - 5:28:09 GMT

oh ......... sorry !!!

i dont see the warning....

ok , i wont modify the code !!!!

but can i add some functions as its plugin ???

maybe i write some XXX.js to support it ??!!??
maybe i do it ???


Poster: Andy
Dated: Monday January 10 2005 - 10:32:45 GMT

Hi,

Sorry about this but thought I'd step in here.

Basically, if you want to modify Version 3 code then I see no reason why you cannot do this. After all, it's unsupported code anyway so this won't affect the warranty.

As long as the copyright statements are not modified then everything should be fine.

Ruth, thought I'd let you know that this change of heart will only affect version 3. Version 5 is still under strong protection and is not to be touched. However, I doubt anybody would want to even touch the code these days because of the semi strong encryption we have in place

Cheers
Andy


Poster: Ruth
Dated: Monday January 10 2005 - 14:59:10 GMT

Hi lauchunhui,
As you see, Andy says you can modify the version 3 code. Just remember to keep all the copyright statements with it. I still think you should see about using version 5. It is supported and it has so many more features which are up to date with the new developments on the web, you can even do the menu design from css.

You can use 5 with frames, the difference being that the menu won't open across the frames. However, there is a non supported code to use it across frames, getting the subs to function as pop menus. You can of course open pages in other frames, or better yet, you can use iframes and the menu will actually drop over the iframe so you don't need to code on every page that loads in the iframe.

Anyway, good luck, whichever way you go. Milonic is the best system out there, I believe.

Ruth