/    Sign up×
Community /Pin to ProfileBookmark

Scrolling a Directory of HTML Files.

I am trying to do what I hope is a simple task: I have a directory full of small HTML text files, approximately 900 of them. I would like, if possible, to setup a simple page that just lets me move from one page (file) to another, without having to code the links and file names of each file into the main page I want to see the files from.

I thought I might be able to do this by setting up an index.htm page with an iframe to display the target pages, and just add some simple code to make the browser move down the list of files in the directory, showing each one in turn via the iframe. However, the solution to do this is escaping me.

All this is instead of just pointing my browser at the directory and clicking on the files in question one-by-one, which I could do but would rather have something just a little more elegant than that.

Can someone suggest a simple way to do what I am proposing, or is it, in fact, just not as simply as I hoped? <g>

Thanks,

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@rtretheweyApr 28.2015 — I'm sure that if you search for "PHP file directory script" you'll find something that would display a list of the files in nice columns or something, but ultimately you're still looking at an enormous list of files. You're going to be much better off if you dig in and start sorting these files into relevant sub-directories. These days, the control panel of most hosting services have File Manager tools that can make that job pretty easy.
×

Success!

Help @dweiss spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.3,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...