Came across this menu tree, developed for asp.net. Would be a nice addition to wcms. The code itself is free. Would need to be hacked/modified to pull acat table xml. Nice little menu....works client side....just a thought.
It can be viewed here:
http://www.speerio.net/Default.aspx?tabid=671
Cheers,
Just a nice menu - Asp.net
well I dont like it....
but if level and sublevel could use different icons then the phpwcms menu could easy be made to look like that one...
but if level and sublevel could use different icons then the phpwcms menu could easy be made to look like that one...
http://www.studmed.dk Portal for doctors and medical students in Denmark
Hi Frold....
Yes...the icons, as design elements, could be swapped. Their name and directory are called from the function:
So that is very editable. Otherwise the entire code can stay intact. The functions that would need to be developed for wcms would be the backend code to generate tree structure. Looking at source on the page a list of values is generated in backend:
which could be (roughly translated from source) to:
Would represent an interesting project....
All best and happy new year.
john
Yes...the icons, as design elements, could be swapped. Their name and directory are called from the function:
Code: Select all
function dTree(objName,iconPath)
Code: Select all
siteMap_ctl0__ctl2__ctl0.add(10,9,'Store FAQs','/Default.aspx?tabid=789');
Code: Select all
wcms_tree_data = new dTree('wcms_tree_data','/pathTo/ImageFolder/');
wcms_tree_data.config.inOrder=true;
wcms_tree_data.config.useStatusText=false;
wcms_tree_data.add(0,-1,'Site Categories');
wcms_tree_data.add(1,0,'Home','/index.php?home');
wcms_tree_data.add(2,0,'About','/index.php?about');
wcms_tree_data.add(3,2,'About_Sub_1','/index.php?about_subcategory_1');
wcms_tree_data.add(4,2,'About_Sub_2','/index.php?about_subcategory_2');
//and so on......
document.write(wcms_tree_data);
//basically first digit is category specific ID and second digit is parent ID
All best and happy new year.
