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:24
calling php parameters
Poster: zusshiri
Dated: Monday June 14 2004 - 11:54:09 BST
I'm new and just trying out the Milonic Menu, so far I'm very impressed and I was just wondering if I can call a php parameter? I'm not a programmer, so I'll try to explain it as best as I could!
example:
aI("text=My Account;url=account.php");
// [b]this call won't work and when I log on it gives me a page not found.[/b]
this is how it's being called from the php:
<a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>">My Account</a>
// [b]this example works and I'm able to log on to my account.[/b]
Please advise /suggestions.
Thanks, Zusshiri
Poster: Andy
Dated: Monday June 14 2004 - 14:14:52 BST
Hi,
If you rename the menu_data.js file as menu_data.php you should be able to parse ANY PHP variable within this file.
Hope this helps
Andy