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
PHP-Enable
-
- Beginner
- Posts: 1
- Joined: Sun May 19, 2002 7:24 pm
Re: PHP-Enable
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!
I'm using php and Mysql and it works!
Re: PHP-Enable
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???
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
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...