Random Image with Link - good for "did you know" type of banner which point people to new areas of a website (at least that's why I made it...) **** This uses $level from my
code for the link level determiner ****
I made this bit of code (with a lot of help from the list serv people, THANKS!) and thought I would share it. This is my first post, so please be gentle. This code is designed
to be required on every web page in the web site. It should automatically pick up the depth of a page in the file directory and then assign the proper link to a directory FROM
THE ROOT. The first part of this script finds how deep the page is from the root. The second part is an array of all of the links you want listed. The third part sorts and lists
the links. You should then be able to require this script on any page in your website and all of the links will work. I hope to make the next version of this determine if a link
is in the directory currently accessed. (any help? wink wink) If this helps anyone, please let me know. jasendorf@lcounty.com John Asendorf