spacer.gif (807 bytes)
spacer.gif (807 bytes)

 

 

Description: A folding menu tree that contains links and sublinks. Click on the folder icon to expand it. Browsers apart from IE 4.x will see the tree fully expanded (degrades well). The menu supports arbitrary nesting of sub-lists, and  uses session cookies to give it persistance. In the past, whenever you opened a folder and clicked a link inside, when you returned, the folder reverts back to its initial, closed state. What a waste of time of having to reopen the folder(s) each time you return to view the links inside. Using cookies, this "smart" folder script will actually remember the state of the folder tree when you navigate to another page, so when you come back, it will look just the way you had remembered it to be. If you can't appreciate this feature, you can bet your surfers will!
Note: This persistance feature is only visible in, obviously, cookie enabled IE 4 browsers.

Demo: (try opening folders, navigate away, and return...the folders will still be open!)


Directions Developer's View

Step 1: Copy the below images onto your HD by right clicking them and choosing "save as":

fold.gif (119 bytes) open.gif (888 bytes) list.gif (927 bytes)

Step 2: Insert the following code into the <head> section of your page:


Step 3: Insert the following into the <body> section of your page where you want the folder tree to appear. This contains the html codes you should edit to change the links to your own:


Step 4: Finally, insert the below script following the above HTML code (It should never preceed it). Note that this is the "persistance" script, and if you're really stubborn-headed and do not want persistance in your folders, just don't add the below code!


Legend
All- Script works with Netscape 4 AND Internet Explorer 4+
NS- Indicates script works with Netscape 4 (NOT NS 6 yet)
IE- Indicates script works with Internet Explorer 4 and above
IE5- Indicates script works with Internet Explorer 5 and above
NS6!- Temporary index set up on script category pages to indicate script works in NS6



Copyright © 2001 bogolubow@narod.ru BYN., ALL RIGHTS RESERVED
SE@RCHER BYN  logo are registered trademarks  Online in RuNet
 Last Updated:  Oct 10, 2001