Ajax in the menu help.

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
WLQ
Super Advanced
Super Advanced
Posts: 35
Joined: Fri Aug 03, 2007 8:18 am

Ajax in the menu help.

Post by WLQ »

I have an ajax navigation, to go to the next page you have to do such operation

<a href="javascript:void(0)" onclick="open_url('page-1.php','my_site_content');">

How can I put it instead of a normal link in miloniuc menu?

Thanks, Yan
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Ajax in the menu help.

Post by Ruth »

Hi,

There is an ajax menu in the download in the extras folder, I believe. If that doesn't help you, please post back and I will contact Milonic. I don't know anything about ajax menus, though I know many use them. You can also try a search on the forum using ajax as the search term.

Ruth
WLQ
Super Advanced
Super Advanced
Posts: 35
Joined: Fri Aug 03, 2007 8:18 am

Re: Ajax in the menu help.

Post by WLQ »

there is no such tutorial on that and that menu doesn't work so if you can then please
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Ajax in the menu help.

Post by John »

WLQ wrote:there is no such tutorial on that and that menu doesn't work so if you can then please
Yes, there is.

In the download of the current version of the menu, see, as Ruth said, /extras/ajax-menus/ and/or /extras/ajax_php_mysql_based_menu/.
John
WLQ
Super Advanced
Super Advanced
Posts: 35
Joined: Fri Aug 03, 2007 8:18 am

Re: Ajax in the menu help.

Post by WLQ »

Yes but I don't get it how to use it. And I have my own java navigation so I just need to know how to put that function inside milonic menu.

<a href="javascript:void(0)" onclick="open_url('page-1.php','my_site_content');">

Instead of a url=
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Ajax in the menu help.

Post by Ruth »

Hi,

You can try this post and see if that helps. The person needed to use a js function in the url= parameter of the menu.

viewtopic.php?f=10&t=9385

Ruth
WLQ
Super Advanced
Super Advanced
Posts: 35
Joined: Fri Aug 03, 2007 8:18 am

Re: Ajax in the menu help.

Post by WLQ »

Thank you so much! With some editing it actually worked!
Post Reply