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


Poster: zusshiri
Dated: Tuesday June 15 2004 - 10:14:31 BST

Can you please give me some examples on how to call this pameters,
<a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>,

I've tried, but I could'nt get it to work.

Thanks


Poster: Andy
Dated: Tuesday June 15 2004 - 10:36:58 BST

A URL or an error message will help us here, can you provide something for us to look at?

Cheers
Andy