469,336 Members | 5,570 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

a helping hand please

Hey all,

Please give a hand writing a javascript.

I need a js that does the folowing.
I have a random list of pictures, name changes reguarly
the only stable factor is that it is an .jpg file.
Name and number of pictures changes reguarly.
The only thing is there are max. 30 pictures.

Now i want my script to do the folowing;
Display all current images that have the .jpg extension.
There is no need to sort them in any order.

I would be very pleased if someone can help me.

Reg.
Robin
Jul 23 '05 #1
4 1044
"robin" <di*****************@home.nl> wrote in message
news:ca**********@news5.tilbu1.nb.home.nl...
Hey all,

Please give a hand writing a javascript.

I need a js that does the folowing.
I have a random list of pictures, name changes reguarly
the only stable factor is that it is an .jpg file.
Name and number of pictures changes reguarly.
The only thing is there are max. 30 pictures.

Now i want my script to do the folowing;
Display all current images that have the .jpg extension.
There is no need to sort them in any order.

I would be very pleased if someone can help me.


You would be much better off doing this server-side, eg with JSP, PHP, or
ASP or similar. This way it will work in all browsers because the server
will make the required HTML dynamically and transparently to the user.
Otherwise, people without javascript would get no pictures at all.
Jul 23 '05 #2
Hi,

Thanks for answer but part of the problem is my isp does not allow
anything.
So the only solution is using a javascript........... :-(

Robin,

"Nick Howes" <n.*******@warwick.ac.uk> schreef in bericht
news:ca**********@wisteria.csv.warwick.ac.uk...
"robin" <di*****************@home.nl> wrote in message
news:ca**********@news5.tilbu1.nb.home.nl...
Hey all,

Please give a hand writing a javascript.

I need a js that does the folowing.
I have a random list of pictures, name changes reguarly
the only stable factor is that it is an .jpg file.
Name and number of pictures changes reguarly.
The only thing is there are max. 30 pictures.

Now i want my script to do the folowing;
Display all current images that have the .jpg extension.
There is no need to sort them in any order.

I would be very pleased if someone can help me.


You would be much better off doing this server-side, eg with JSP, PHP, or
ASP or similar. This way it will work in all browsers because the server
will make the required HTML dynamically and transparently to the user.
Otherwise, people without javascript would get no pictures at all.

Jul 23 '05 #3
In article <ca**********@news4.tilbu1.nb.home.nl>, robin says...
"Nick Howes" <n.*******@warwick.ac.uk> schreef in bericht
news:ca**********@wisteria.csv.warwick.ac.uk...
"robin" <di*****************@home.nl> wrote in message
news:ca**********@news5.tilbu1.nb.home.nl...
Hey all,

Please give a hand writing a javascript.

I need a js that does the folowing.
I have a random list of pictures, name changes reguarly
the only stable factor is that it is an .jpg file.
Name and number of pictures changes reguarly.
The only thing is there are max. 30 pictures.

Now i want my script to do the folowing;
Display all current images that have the .jpg extension.
There is no need to sort them in any order.

I would be very pleased if someone can help me.

You would be much better off doing this server-side, eg with JSP, PHP, or
ASP or similar. This way it will work in all browsers because the server
will make the required HTML dynamically and transparently to the user.
Otherwise, people without javascript would get no pictures at all.

Hi,

Thanks for answer but part of the problem is my isp does not allow
anything.
So the only solution is using a javascript........... :-(


Considering that the JavaScript will be running client-side, do you
realise that the script won't be able to determine how many files ar
available, and what the names of those files are?

--
Hywel I do not eat quiche
http://kibo.org.uk/
http://kibo.org.uk/mfaq.php
Jul 23 '05 #4
Hi,

I did not realy realize that, it is my firttime trying anything real in js.
I realy thought is was posible to get a list out of my isp his ftp server
and
display the pics.
So i gus i have to run my own server then or cancel the page i was creating
......
One option is even worse as the other :-)
But thanks anyway

Reg.
Robin,

"Hywel" <hy**********@hotmail.com> schreef in bericht
news:MP************************@news.individual.ne t...
In article <ca**********@news4.tilbu1.nb.home.nl>, robin says...
"Nick Howes" <n.*******@warwick.ac.uk> schreef in bericht
news:ca**********@wisteria.csv.warwick.ac.uk...
"robin" <di*****************@home.nl> wrote in message
news:ca**********@news5.tilbu1.nb.home.nl...
> Hey all,
>
> Please give a hand writing a javascript.
>
> I need a js that does the folowing.
> I have a random list of pictures, name changes reguarly
> the only stable factor is that it is an .jpg file.
> Name and number of pictures changes reguarly.
> The only thing is there are max. 30 pictures.
>
> Now i want my script to do the folowing;
> Display all current images that have the .jpg extension.
> There is no need to sort them in any order.
>
> I would be very pleased if someone can help me.
>

You would be much better off doing this server-side, eg with JSP, PHP, or ASP or similar. This way it will work in all browsers because the server will make the required HTML dynamically and transparently to the user.
Otherwise, people without javascript would get no pictures at all.

Hi,

Thanks for answer but part of the problem is my isp does not allow
anything.
So the only solution is using a javascript........... :-(


Considering that the JavaScript will be running client-side, do you
realise that the script won't be able to determine how many files ar
available, and what the names of those files are?

--
Hywel I do not eat quiche
http://kibo.org.uk/
http://kibo.org.uk/mfaq.php

Jul 23 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by mir nazim | last post: by
reply views Thread by Mzirnheld | last post: by
6 posts views Thread by Zip Code | last post: by
10 posts views Thread by Joost Jacob | last post: by
17 posts views Thread by M.Siler | last post: by
reply views Thread by U S Contractors Offering Service A Non-profit | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.