473,387 Members | 1,757 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,387 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 1104
"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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.