Dynamic menu

Author Message

wendy br

Wednesday 12 November 2003 3:01:43 am

Can someone tell me how to make an dynamic menu with javascript and using the ez publis database at the same time?
I've tried a lot. I already triede the tree menu's but that didn't work.

Can someone help me?

Grtz Ushi

Paul Forsyth

Wednesday 12 November 2003 3:11:07 am

What didn't work with the treemenus? Do you need a specific feature?

paul

Claus Jensen

Wednesday 12 November 2003 3:12:46 am

Hello,
did you look at this: http://ezwiki.blanko.info/index.php/3XHT_TmplObjTree

regards,
claÜs

wendy br

Wednesday 12 November 2003 3:18:36 am

yes i did take a look at that. but i want an rollover menu. So i have to work with javascript i quess.

Paul Forsyth

Wednesday 12 November 2003 3:27:51 am

If you find a nice way of doing this in ez please add it as another treemenu :)

paul

Paul Forsyth

Wednesday 12 November 2003 3:39:27 am

Had another thought about this. If you are building a js menu just to show the objects underneath a parent then it will be quite simple. A fetch, list, will do.

If you are building a complex tree menu you may have to do all of the hard work like searching all nodes before building the js. The Js will not be able to invoke any php after it has been built, and when you rollover something it will have to rely on variables and values that it currently has. So you will need to build everything, then pass it across to the javascript.

This will be slow at the start but if cached it will be fine.

You could use some of the code from existing treemenus to build the tree for you. All you then need to do is write the javascript to display this information.

paul

Alex Jones

Wednesday 12 November 2003 7:32:00 am

Wendy, do you have a navigation script in mind already? If so it might help for you to post more info about it, so we can provide specific recommendations. I have built an extensive rollover nav menu based on the treemenu code and some code from TwinHelix (www.twinhelix.com/). I haven't had a chance to post the code as the actual code I have produced is rather ugly.

The more specific information you provide, the easier it is for us to help you.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Ralf Lohmann

Friday 20 February 2004 3:30:47 am

we would create a dynamic tree menu with ez publish. is there someone how can help us??

iddis GmbH
Gesellschaft für geteiltes Wissen
Society for shared knowledge
Falkstr. 73-77
47058 Duisburg
Germany

Alex Jones

Friday 20 February 2004 6:35:14 am

Ralf, what exactly do you need help with? Specific information will allow people to answer your question.

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.