Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 03-04-2008, 03:51 PM Index page...
Average Talker

Posts: 26
Trades: 0
http://downloads.openwrt.org/

This is just an example of something I would like to add to my site. I have folders of files that I can navigate on my site but I would like to make it look better by somehow embedding this index view onto a page of my site like this example. Does anyone know how or have a code? If it's just a code, I can probably just put it in a table in the middle of a page and it should work....right?
Brautigam is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-04-2008, 05:19 PM Re: Index page...
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 961
Name: Darren
Location: England
Trades: 0
Hmmm.... try...

<img src="/icons/folder.gif" alt="[DIR]" /> <a href="docs/">docs/</a>

and adjust your links accordingly.
__________________
I Just a test to see what happens...
Please login or register to view this content. Registration is FREE

"Let us be thankful for the fools. But for them the rest of us could not succeed..."
rolda hayes is offline
Reply With Quote
View Public Profile
 
Old 03-05-2008, 03:39 AM Re: Index page...
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
I can probably just put it in a table in the middle of a page and it should work....right?
Wrong.

You need a server side script to parse the folder tree and create the navigation

If you are hosted on Apache you could try using FancyIndexing and Iframes or SSI to get somewhere near.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 03-05-2008 at 11:02 AM.. Reason: added a word so it now makes some sense.
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-05-2008, 07:47 AM Re: Index page...
olliebollie's Avatar
Novice Talker

Posts: 10
Name: Oldřich Vetešník
Location: Hradec Králové, Czech Republic
Trades: 0
Quote:
Originally Posted by Brautigam View Post
http://downloads.openwrt.org/

This is just an example of something I would like to add to my site. I have folders of files that I can navigate on my site but I would like to make it look better by somehow embedding this index view onto a page of my site like this example. Does anyone know how or have a code? If it's just a code, I can probably just put it in a table in the middle of a page and it should work....right?
I created one level file list and - as a list - I coded it like this:
<ul>
<li><a href="path"><img src="icon/path" alt="icon" /> file name</a></li>
<li><a href="path"><img src="icon/path" alt="icon" /> file name</a></li>
...
<ul>
It can get styled pretty well too, but if you want to show properties and attributes, you might want to use a table or some other way around...
__________________
<p style="voice-family: female;">I'm a big man!</p>
olliebollie is offline
Reply With Quote
View Public Profile Visit olliebollie's homepage!
 
Old 03-06-2008, 06:01 PM Re: Index page...
Average Talker

Posts: 26
Trades: 0
Okay. Thanks for the quick responses. I will work on it soon.
Brautigam is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Index page...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.81749 seconds with 12 queries