MZ wrote:
I don't like PHP so I was googling for a solution in javascript.
You did not made a reasonable design decision. While there is no
"javascript" to begin with, chances are much greater that server-side PHP is
supported than that client-side JS and the host-provided interfaces it
relies on is. And ECMAScript implementations like JavaScript or JScript can
also be used server-side. (PHP can also be used client-side, but chances
are low that it is supported in a HTML UA.)
I would like to have a script which will dynamically create the gallery html
file when the file is opened.
Server-side PHP can accomplish this.
And I have found a prety simple solution.
But of course not a good one.
Please take a look at
http://www.softpedia.com/get/Interne...-Gallery.shtml
JavaScript gallery by Consoriana.
[x] done
Especially "No scripting language needed such as PHP and ASP" is hilarious.
What do they think JS are anyway? Markup languages?
[...]
This is more or less what I am looking for and it works great!
You are in no position to assess the quality of this code. However, in this
case neither am I, because all attempts to download it result in a broken
ZIP archive that contains only images and no script files. (And no, I did
not use a download manager and I tried both download locations.)
However I need to modify it a bit.
Can you advise me what to change so I do not need to be dependent of the
file names?
You do not expect anyone knowledgeable here to wade through this code in
their free time for free, even if it was possible, do you? RTFM or ask the
author instead; or get a minimum clue, stop using it, and start using better
code (maybe your own).
I would like to store a different filenames in folders and I would like to
make it as universal as I can.
Good luck.
I think if we figure out a solution it can be usefull not only for me.
You mean there is anyone knowledgeable here appreciating this supposed
reinvention of Wheel 0.7.5 (unstable), given the available alternatives?
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann