J
John
Hi,
we have the following problem:
in our application v1.0 we have static html pages (+ some javascript).
With a CMS (a Content Management System) some "mortal" people can add
or expand the available images for the start site. The site loads
randomly an image or a Flash animation (if the flash plugin is
present) through a javascript and each time the start site loades and
displays only 1 different picture. At the moment the name of these
files are hardcoded (with relative paths) in a javascript and filled
in an array.
We have Java and some Javascript experience.
The wish: the "mortal" can add pics/flash animation with the CMS in a
specific folder.
The problem: we must be able to display the new pics/flash without
hard coding, this means, somehow the javascript must fill an array
wich contains the name of all images/flash, dynamically. The script
has to read the directory where these files are located and fill them
in the array.
The BIG problem: users do no have to download the jre if they don't
want it (this is a business requirement).
How can we fill the array dynamically with javascript? Ithink we
should solve this problem on the server-side.
If we have to do it with an applet and the read back the files in the
script, then we also must solve it on the server.
One requirement more: must work on Netscape 6.0 + 7.1 and IE 5.5 + 6.0
No CGI, VBScript, PHP or ASP, because we have not the necessary
know-how for it.
Any suggestion/help will be VERY VERY appreciated..
Haa a good day everybody
John
we have the following problem:
in our application v1.0 we have static html pages (+ some javascript).
With a CMS (a Content Management System) some "mortal" people can add
or expand the available images for the start site. The site loads
randomly an image or a Flash animation (if the flash plugin is
present) through a javascript and each time the start site loades and
displays only 1 different picture. At the moment the name of these
files are hardcoded (with relative paths) in a javascript and filled
in an array.
We have Java and some Javascript experience.
The wish: the "mortal" can add pics/flash animation with the CMS in a
specific folder.
The problem: we must be able to display the new pics/flash without
hard coding, this means, somehow the javascript must fill an array
wich contains the name of all images/flash, dynamically. The script
has to read the directory where these files are located and fill them
in the array.
The BIG problem: users do no have to download the jre if they don't
want it (this is a business requirement).
How can we fill the array dynamically with javascript? Ithink we
should solve this problem on the server-side.
If we have to do it with an applet and the read back the files in the
script, then we also must solve it on the server.
One requirement more: must work on Netscape 6.0 + 7.1 and IE 5.5 + 6.0
No CGI, VBScript, PHP or ASP, because we have not the necessary
know-how for it.
Any suggestion/help will be VERY VERY appreciated..
Haa a good day everybody
John