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:14

Calling Menu from Perl Script


Poster: bbryant
Dated: Thursday September 4 2003 - 14:31:21 BST

Some of our pages are created on the fly by a perl script. These pages are not picking up the menu. How can we make this work?

Can we use the <BODY ONLOAD=" "> to get this to work?

Site is running on Linux, Appache.


Poster: Hergio
Dated: Friday September 5 2003 - 3:07:14 BST

If you make your perl script output the <SCRIPT> tags immediately after the BODY tag, it should work. The menu does nothing when its at the server, its when it gets down to the client that it does the stuff. So as long as you have the script files included properly and the files located in the right place, it should render regardless of if it was created on the fly by perl or by a flying pig. :lol: If you could, get us a copy or URL of the HTML page your perl outputs and we can tell you whats wrong.

Perl call still not working


Poster: bbryant
Dated: Wednesday September 10 2003 - 2:21:20 BST

Per suggestions here, I have moved the calls for the .js files so that they are positioned immediately after the <BODY> tag.

I have also tried using the full URL "http://www....... .js" and still it's not working.

Does anyone else have any ideas?


Poster: Hergio
Dated: Wednesday September 10 2003 - 3:39:33 BST

Barty,
Its because your scriptpath inside of your milonic_src file is incorrect. It can't find where your mmenudom files are because scriptpath needs to tell it where to look. Your scriptpath should be...
scriptpath="https://adobe.site-secure.net/tenaxcorporation/";
(note: no // before scriptpath...it should look exactly like this line above)

also be sure you have the blank.htm file in the root of your site...since you are using https, the menu needs to reference this to make sure things are secure. Do a search on the forum for https and blank.htm and you will see what I mean.