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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:46

PHP-Enable


Poster: spoloczek __at__ sapo-net.de
Dated: Wednesday January 30 2002 - 20:02:31 GMT

I use PHP to dynamically enable menu contents.

Do to this, I had to rename the .js files to .js.php (so the php parser would parse them)

Then I had to change the .js.php files to include:
<SCRIPT LANGUAGE-=JavaScript>
.. file contents
</SCRIPT>

And I had to fix mmenu.js.php line 500-ish to
if ((_d.all

Re: PHP-Enable


Poster: none __at__ given.com
Dated: Wednesday March 27 2002 - 13:35:21 GMT

Whoops, fornot to mention that you now php include() ir require() these .js.php files on your web page.

I'm using php and Mysql and it works!

Re: PHP-Enable


Poster: dagon
Dated: Thursday May 30 2002 - 19:58:37 BST

:cry: I tried to do this but don't works for me! The menu doesn't load and all browsers return errors and this string: ");for(x=0;x
I'using winXP and PHP 4.1.1. But I think the problem is that in mmenu.js there is a </script> tag before the right end of the script and the browser truncates the javascript. Any solution???

Re: PHP-Enable


Poster: dagon
Dated: Thursday May 30 2002 - 21:47:31 BST

adding to my previous post: i use milonic version 3.4.07 and the problem is on row 474 where the </script> tag lies: if i remove the line the "phpization" works fine on opera and netscape but non on IE...