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: Creating Dynamic Menu Items


Poster: Ruth
Dated: Tuesday December 4 2007 - 4:46:36 GMT

Hi Jeff,

I've posted this to Milonic. :oops: Thank you for reposting :)

Ruth

Creating Dynamic Menu Items


Poster: jreuben
Dated: Monday December 3 2007 - 21:36:34 GMT

I am new to the Milonic Menu application. I am using a cross frame menu that is generated dynamically from a PERL script. The top frame menu creates a side frame menu that utilizes username and password variables to dynamically generate content in the body frame. For this to occur, I need to use an aI statement in the JS modules that creates the PERL script link such as...

aI("text=Paid Accounts by Carrier;url=../cgi-bin/create_paid_carrier.pl?$user+$password+$dob;target=body;");

where $user, $password and $dob are the variables. I therefore need to pass these variables from the PERL script into the JS module that contains the aI statement.

I have looked through the Forum and found a post by allenpollenz entitled PHP variables that looks like what I want to do but I am using PERL. Thank you in advance for your assistance.

Jeff Reuben

Re: Creating Dynamic Menu Items


Poster: jreuben
Dated: Tuesday December 4 2007 - 20:43:56 GMT

Thank you so much for you time and effort. I found one or two posts that gave me an idea on how I might accomplish my task. I will let you know if I come up with a solution.

One other minor problem, I think. I am using a cross frame menu in which the horizontal top frame creates menus in the vertical side frame. The side frame menus consist of menu items with direct links and submenus that enter content into the body frame. The problem I have is that the menu works fine until I activate one of the side frame menu items or submenus. Once I do that, the side frame submenu cannot be accessed, only the side frame menu items that do not have a submenu. Even if I activate another side frame menu from the top menu, I can only activate side frame menu items that do not have a submenu. The only way I can activate the submenu in the side frame is to reload the entire page and start over.

I read one post that said that cross frames are not supported. I am not sure if that is why I am having this problem.

If you need it, I can send you my code for the menu header and side frame or give you a username/password to access the webpage itself.

Thanks again for you help.

Jeff Reuben

Re: Creating Dynamic Menu Items


Poster: Ruth
Dated: Wednesday December 5 2007 - 1:43:00 GMT

Hi,

I would need to see the page. Usually I download them and work on them on my desktop. Frames menu is supported, the one that comes in the download. Way back when before frames was developed, one of the volunteers created a way to get it to work, that wasn't supported since it wasn't part of the menu system.

Ruth

Re: Creating Dynamic Menu Items


Poster: Ruth
Dated: Wednesday December 5 2007 - 22:09:35 GMT

Hi Jeff,

OK, I figured out the problem. The submenus open not from the main menu, though it looks as if they are doing that, but they open from a function that is activated on the main menu to open the menus that are coded on the body page. So, I have to assume that when you load one of the pages into the body, the pages being loaded are not coded with the Milonic program files and the menu_data_body.js. If that's the case then there is nothing for the function to open. I replied more indepth in the email with some options. Let me know if we can provide any more help.

For general info about frames, because it's easy to think that a frameset is one page since it is in 'one' window. The menu will not open across frames, not just the Milonic menu but any menu. Heck anything, you can't put it in one frame and want it to continue over the frame border into another. Think of it like this, the main menu frame is your living room and the main menu is the key to your car, your car is in another frame, the garage. While you are in the living room and the car is in the garage you can turn the key in your hand all you want and the car won't start. You'd need a remote control or electronic control on the key to push to send a command to start the car. Your remote control key for the car wouldn't work if the car weren't there, either. This is more or less the same with the main menu, it won't do anything if the submenus aren't on the page its function addresses.

Ruth

Re: Creating Dynamic Menu Items


Poster: jreuben
Dated: Thursday December 6 2007 - 19:55:57 GMT

Ruth,

You are a genius! It works perfectly well now. Thanks again for your endless help.

Jeff Reuben