Forums / Developer / AJAX: Java Script Tree Nodes with AJAX links
Jorge estévez
Friday 21 September 2007 5:39:18 am
Hi !
I'm developing this tool to configure a JavaScript tree (like treeview), already implemented, so end users can set icons, CSS styles, and some other features to get the visuals they need to place this tree in their application with a minimum of effort. But, another available feature is to set links in this tree nodes, and render some dinamyc content in some place of the page. In that way, I need to generate JS functions to get the requested form in the client-side. The point is I wannna do this using AJAX, and the content pages are developed with ez 3.10. In order to complete this task, I need someone to help me on how to get adinamyc form, via AJAX, maybe with PHP, from ez content pages.
Diseño Web Cuba Web Design Cuba www.elfosdesign.com
Xavier Dutoit
Friday 21 September 2007 9:47:22 am
Hi,
Have a look there:http://projects.ez.no/json
(the json/explorer example)
or there
http://ez.no/developer/contribs/applications/xajax
http://www.sydesy.com
Felix Laate
Sunday 23 September 2007 6:52:17 am
Hi Jorge,
this would nice to solve with Xaviers JSON-extension. Just create a wrapper around e.g. the Prototype js-library, defining the very functions you need, and it should work like a charm.
Felix
Publlic Relations Manager Greater Stavanger www.greaterstavanger.com
Monday 24 September 2007 12:05:43 am
I'd suggest using jquery, but of course,any poison will do ;)
X+
Monday 24 September 2007 12:06:33 am
Last suggestion:
use a template engine in js (I use the one from trimpath). See the json/explorer example.
Monday 24 September 2007 12:07:39 am
Well, actually, not the last suggestion:
Add yourself to the json project, and upload your tree tool there ! We'll be more than happy to have you on board.