I just did this for a site awhile back. All the pages use the same
template, but you could modify pretty easily.Build out an array like
the one below that defines your entire site heirarchy. In my example, I
set the url, title, alttext (for the image button), the image name (for
javascript
Thank you!
What is the point of using unset here (sorry - newbie question I know but
I'm learning all the time :o))
Is it possible therefore to create more than 2 levels this way? If my
heirachy goes 3 or 4 levels deep in some places? And could I also get a
navbar to be generated dynamically
unset will unset a varialbe. In the case I had I used to make sure that
my $subAry was being unset before using it (I use it several places since
several sections had sub sections).
And yes, you can nest this as deep as you want since it is really just a
tree. You start at the top and walk all
3 matches
Mail list logo