#1  
Old 8th February 2007, 06:49
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 13 Times in 11 Posts
Default Dtree

hey all,

was working on a dlink router which had a very slick interface and what I liked about it was that it used javascript for the trees which kept it's state of the branch being opened or closed even after refreshes.
It basically just uses session cookies to store the tree banch value on or off and kept it between refreshes etc.

I gave this a try with ispc but failed and my javascript kinda sucked anyway but was hoping someone could give it a go.

my problem I think was that i used the wrong index id of the tree when storing so it went bonkers before I just restored it.. he he
Reply With Quote
Sponsored Links
  #2  
Old 8th February 2007, 13:19
danf.1979 danf.1979 is offline
Senior Member
 
Join Date: Dec 2005
Location: Chile
Posts: 247
Thanks: 4
Thanked 3 Times in 2 Posts
Send a message via MSN to danf.1979
Default

This package does exactly what you want
http://pear.php.net/package/HTML_TreeMenu
Reply With Quote
  #3  
Old 8th February 2007, 13:42
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 13 Times in 11 Posts
Default

well the issue is that ispconfig doesn't use that and doesn't hold the state of the tree so was hoping we could get that into the svn or next release considering I've got quite a few branches now and i'm sure others must be hating it reducing all the time.
Reply With Quote
  #4  
Old 8th February 2007, 14:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
 
Default

Maybe its a good idea to use a ajax tree menu instead of the simple DHTML menu. I think we shall not use any pear packages, pear is very blotaed and if you want to use one package you will have to load many other dependant base packages from pear.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.