LITTLEBLACKDOG.COM Forum Index LITTLEBLACKDOG.COM

 
LWD LWD   FAQ FAQ   Memberlist Memberlist   Usergroups Usergroups   Active Topics Active Topics   Register Register  
  Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in  
  Who is Online Who is Online   Image Gallery Image Gallery   Chat Chat   Search Search  
  LWDGear       LBDGear  

View next topic
View previous topic
Post new topic     Reply to topic   LITTLEBLACKDOG.COM Forum Index » Code Warriors
Author Message
guyguy50
Cat Chaser
Cat Chaser


Joined: 28 Apr 2001
Posts: 601
Location: Ludington

Post Posted: Tue Dec 22, 2009 5:20 am   Post subject: Any Good Dynamic Menu Examples Reply with quote Back to top  

Anyone out there know any good examples for dynamic menus? I have experimented with many and there are several good sources out there like http://www.dynamicdrive.com/style/ and http://www.chipchapin.com/WebTools/MenuTools/#phpdynamic. I've experimented with several of these and used them with my own versions. Just thought may be a good topic for discussion as the people in this forum are usually pretty up on the latest techniques. Personally I am working on a menu to create a menu dynamically created from folder lists using names of files and folders to create a multi-tiered drop down menu since they are for some reason not wanting to use a database. When that gets done I'll post my results and failures at it.

_________________
Quote:
I am the Great Gibby bow before me!


Quote:
R.I.P. Super Snoopy (October 10, 1995 - November 1, 2008)
View user's profile Send private message Send e-mail
ThunderDawg
Alpha Dog
Alpha Dog


Joined: 14 Apr 2002
Posts: 18588
Location: Where Summer Spends the Winter

Post Posted: Tue Dec 22, 2009 8:12 am   Post subject: Reply with quote Back to top  

You will find hundreds here:

http://www.dynamicdrive.com/
http://codelifter.com/
http://www.codeave.com/javascript/default.asp

Swim through those, there HAS to be one you like Very Happy

_________________
View user's profile Send private message Visit poster's website
guyguy50
Cat Chaser
Cat Chaser


Joined: 28 Apr 2001
Posts: 601
Location: Ludington

Post Posted: Tue Jan 12, 2010 5:27 am   Post subject: Reply with quote Back to top  

Update on my menu creation for anyone interested.
Using this menu as my basis:
All Levels Navigational Menu- (c) Dynamic Drive DHTML code library (http://www.dynamicdrive.com). I've changed, added and manipulated the code to make it display as I wanted it to first to go along with the theme of the intranet I am working on. Very simple clean code using CSS and some minor javascript. Then using php I have gone through and ran a recursive function to go through a directory folder.
WHY?!?!? Well let me explain
Not being able to have a database on this project... I begged... but they did not want it so I said ok this shall be a fun project. Goal was to create a system where the administrator could drop files that would frequently be updated. PDFs .DOCs etc.... Well so created a standard dynamic PHP styled page. Then created the folder listing system to work with it.

Found a cool example of recursively going through every folder at: www.bin-co.com/php/scripts/filesystem/ls/ Loved it so much that I used it as the backbone of my function. I stripped down the output and made it output the folder list into multi-dimensional arrays to store things like folder_array[1] -> Documents [2] -> Paint Dept [0]-> index.php.
where the directory for that specific listing would be documents/Paint Dept/index.php. Now once index.php is found it would stop the recursive function from looking further into folders... then move on. These arrays stored what would then be used in the menu.

The Menu would then be a multi-dimensional list menu (see example at dynamicdrive.com I listed above) that would say the folder_array would populate the first level of the menu then the extra levels would be filled with something like this.... Documents with sub-levels of -> Paint Dept / -> Weld Dept / -> Maintainace.... and so on and so forth.

I have this mid way done and if any interest or comments of this is requested I'm considering giving the code out if some one with a talent for writing could make a useful tutorial from it.

This challenge has granted me an opportunity to deal with what a client directly wanted limiting the easy route, but granting me cool ideas I can use on later projects.

_________________
Quote:
I am the Great Gibby bow before me!


Quote:
R.I.P. Super Snoopy (October 10, 1995 - November 1, 2008)
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic     Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
phpBB SEO
All times are GMT - 8 Hours

Help us keep advertisements off this site. Donate today!