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

Display Menu From Perl Script in a Virtual Directory

Poster: The_Paul
Dated: Thursday September 11 2003 - 20:30:31 BST

I would like to display the Menu on a number of pages generated by a Perl Script. Normally this would be no problem as I could just use the normal method of including .js files.

My problem is that Perl scripts on my server are placed in a virtual directory rather than in wwwroot with the rest of my web documents. The actual location of the menu files is of course under wwwroot.

I have had no luck in finding a way to include the .js menu files that reside under the wwwroot into my perl pages that are located outside of wwwroot.

Does anyone know of a way to include javascript files that reside outside of a virtual directory?

Poster: Andy
Dated: Thursday September 11 2003 - 23:12:57 BST

Don't think it's possible, unless you know how to configure your web server to do so.

The menu is normally called with the http protocol and your web server won't allow you to view files in a directory lower than wwwroot.

There may be a way to configure you web browser but I dont know how.

However, I can't see the reason for doing this as the menu is client side and is only delivered to a web browser as a text file. So in reality the file can be called from anywhere within the wwwroot tree

Hope this helps

Poster: The_Paul
Dated: Friday September 12 2003 - 2:51:04 BST

Thanks for the reply Andy. I may just place a copy of the menu javascript files in the virtual directory and see if I can use that as a work around.