about the url setting in the frame based menu

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
lauchunhui
Beginner
Beginner
Posts: 5
Joined: Mon Jan 10, 2005 3:02 am

about the url setting in the frame based menu

Post by lauchunhui »

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 !!!
lauchunhui
Beginner
Beginner
Posts: 5
Joined: Mon Jan 10, 2005 3:02 am

Post by lauchunhui »

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-View ... =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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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

Ruth
lauchunhui
Beginner
Beginner
Posts: 5
Joined: Mon Jan 10, 2005 3:02 am

Post by lauchunhui »

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 ???
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
Post Reply