473,320 Members | 2,122 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 1100
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: mir nazim | last post by:
IT IS A LONG TIME I HAVE POSTED TO THIS GROUP AND NO ONE SEEMS TO BE INTERESTED IN HELPING ME. WHAT R U PEOPLE DOING HERE
0
by: Mzirnheld | last post by:
<HEAD> <TITLE>Cia</TITLE> </HEAD> <BODY BACKGROUND="" BGcolor= "#ebf1e3" TEXT="#000000" LINK="#0000ff" VLINK="#800080" ALINK="#ff0000"> Loading Ad... Please Wait<br>
6
by: Zip Code | last post by:
"The large print giveth, and the small print taketh away.", so said Tom Waites in his classic rap, "Step Right Up", a paean about come ons and rip offs. Now, we have all explored the fact that...
10
by: Joost Jacob | last post by:
On URL http://homepages.cwi.nl/~jacob/bridgehand_try_1.html you can see a bridgehand in HTML + CSS-style attributes. It does not use images or tables and I would like to keep it that way. As...
17
by: M.Siler | last post by:
I'm trying to get my head around a conversation I had with a developer the other day. We were talking about Codesmith vs. Hand coding. He's position is Codesmith is for junior to mid level...
0
by: U S Contractors Offering Service A Non-profit | last post by:
Brilliant technology helping those most in need Inbox Reply U S Contractors Offering Service A Non-profit show details 10:37 pm (1 hour ago) Brilliant technology helping those most in need ...
15
by: sandy123456 | last post by:
At the moment im trying to write a hand class for a game poker patientnce But when i get to the part having to catergorise the difference of full house straight flush flush four of a kind and...
13
by: camphor | last post by:
hi, would anyone know if there is a php script to Accept the Terms & Conditions. The customer must check the Terms & Conditions box before he/she is able to go to the next page. Not really sure...
3
by: BlueroY | last post by:
hi, I'm working on an exercise, i did a lot of work already and i just can't figure where I'm going wrong, this is what I'm trying to achieve Sample IO...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.