Calling Menu from Perl Script

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bbryant
Beginner
Beginner
Posts: 4
Joined: Thu Sep 04, 2003 2:18 pm

Calling Menu from Perl Script

Post by bbryant »

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.
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

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.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
bbryant
Beginner
Beginner
Posts: 4
Joined: Thu Sep 04, 2003 2:18 pm

Perl call still not working

Post by bbryant »

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?
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

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.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Post Reply