rejetto forum

folder "path" question

TGeRi · 4 · 3355

0 Members and 1 Guest are viewing this topic.

Offline TGeRi

  • Tireless poster
  • ****
    • Posts: 113
    • View Profile
Hi!

First something small to start with:
why is this line in the default template:
<div id=folderlabel>folder</div>

does this have any function?

And now the question of the topic:
is it possible - i know it is but i don't know how - to turn the parts of the actual path into link?

For example:
i'm in /music/oldschool/rap folder while browsing.

I want the oldschool string to be a link to /music/oldshool and the music to /music.
I know i have "goto root" and "up" but if u have long paths then this should be very nice.

What do you think?

Since the path can be any long i don't know how to "split" it into foldernames and do the linking.

Thanks in advance,
TG

PS: Keep up the good work rejetto. HFS is one of the best SW i've ever known.


Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
If you have searched the forum before posting this topic, you would have found this topic  ;): http://www.rejetto.com/forum/index.php?topic=4195.0

We call it the Browseable Folder Tree  8), its exactly what you explained.

(It's also implemented in the HFS Terayon template and the Thunder Chicken of Glory template)



Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
Hi!

First something small to start with:
why is this line in the default template:
<div id=folderlabel>folder</div>

does this have any function?

I forgot to answer your first question.. But yes, even that has a function.

Inside the [Style] section of the default template, you will find this line:
Code: [Select]
#folderlabel, #folderstats, #footer { font-size: 8pt; }
Meaning that everything that is inside that <div> has a font-size of 8 points.