how to create a tree view in Gallery 1.5?
|
gregmen
Joined: 2004-07-23
Posts: 11 |
Posted: Tue, 2005-06-28 21:00
|
|
I would like to create a nav bar on the left side of the Gallery which will show a treeview menu of the albums. something like the gallery I found on the net: but I want to add another layer so that if a visitor clicks/goes into the "landscapes" album, the menu on the left side will expand and show the sub-albums available within the "landscapes" album. If a visitor goes into animals album, then that "landscape" links will collapse and show the sub-albums available in the "animals" album. Something like integrating a script like: Does anyone know how to do it? |
|
| Login or register to post comments |

Posts: 3233
Sounds like you might want to start with discobug's album list.
Posts: 11
fryfrog, thanks for your reply.
discobug's album list might be a good place for me to start diving in the code...
What i would like to have is when a visitor goes into one of the sub-albums, there will be a sub-list on the menu for only that album. I guess the questions I would like to understand would be - what part of the code generates a list? And how can the code "know" what album a visitor is in? And then, how can the code generate a list of sub-albums of the album a visitor is in (and not generate a list for other su-albums)?
Posts: 18451
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=74124#74124
that should be a good start for the code.