how can i cycle pictures in html

J

Justin Culver

I'm new to the webdesigning world and would like to know how i could
cycle a series of 40 pictures in html, E.G. have the 1st picture stay
for 3 seconds change to the 2nd, then the 3rd, etc....

Justin C.
 
B

brucie

I'm new to the webdesigning world and would like to know how i could
cycle a series of 40 pictures in html, E.G. have the 1st picture stay
for 3 seconds change to the 2nd, then the 3rd, etc....

something like http://slide.bruciesusenetshit.info/ but make sure its
the right way to present the images. people may not like having to view
the images in a particular sequence or wait a specified time before
seeing the next picture. perhaps a thumb gallery along the lines of
http://butterflies.bruciesusenetshit.info/ would be better, it depends.
 
M

Mark Parnell

I'm new to the webdesigning world and would like to know how i could
cycle a series of 40 pictures in html

You can't. HTML doesn't _do_ anything. It describes the structure of the
content.

Regardless of that, the best way to achieve what you are really looking
for[1] _would_ be in pure HTML:

<img src="img01.jpg" alt="Something appropriate"><br>
<a href="page40.html">Previous</a> | <a href="page02.html">Next</a>

Then your visitor can spend as long or as short a time as they want
looking at each image. You will, of course, also have an index page with
thumbnails, so they can just go to the ones they actually want to see.

[1] Or more correctly, what your _visitors_ will be looking for. What
you want is irrelevant.
 
J

Jukka K. Korpela

Mark Parnell said:
Regardless of that, the best way to achieve what you are really looking
for[1] _would_ be in pure HTML:

<img src="img01.jpg" alt="Something appropriate"><br>
<a href="page40.html">Previous</a> | <a href="page02.html">Next</a>

(As a rule, an image should have a caption, but I skip that issue here,
since it's on a different dimension. I just point out that without any
caption, even "Picture 1", the "Next" link could be taken as a caption by
some naive or creative person - and there are hundreds of millions of
both kind of people on Earth.)

But is the "Previous" link really useful? It just makes is a bit more
difficult to get to "Next" when tabbing (and gives you an opportunity to
misclick, too). Adding a link to the top or start of the collection,
after the next link, would be conceivable, if not necessary.

You could enhance the possibilities of convenient browsing through the
images using some extra attributes, some of which (especially the onload
attribute and the accesskey attribute) are somewhat debatable:

<body onload="document.getElementById('next').focus()">
<img src="img01.jpg" alt="Something appropriate"><br>
<a href="page02.html"
id="next"
rel="next"
title="Picture 2"
accesskey="n"

That way, most users would be able to follow the link just by hitting
Enter (though they might not realize this unless you tell them that
on the front page, and this is somewhat awkward since you really cannot
know in which browsing situations the user can just hit Enter - but the
"focus rectangle" could make this obvious enough to IE users).
 
M

Mark Parnell

(As a rule, an image should have a caption, but I skip that issue here,

I agree - I was just making a very simple example to get the point
across.
But is the "Previous" link really useful?

Probably not, since the browser already has a back button. :)
You could enhance the possibilities of convenient browsing through the
images using some extra attributes

Again, I agree - it was just a simple example.
 
K

Kris

But is the "Previous" link really useful?

Probably not, since the browser already has a back button. :)[/QUOTE]

That is, if 'previous' means 'the image you watched before coming to
this page'. It often means 'the previous image in the sequence', is
often not visited yet and is therefore not reachable through the back
button.
 
M

Mark Parnell

That is, if 'previous' means 'the image you watched before coming to
this page'. It often means 'the previous image in the sequence', is
often not visited yet and is therefore not reachable through the back
button.

If the user has gone to that image from the index, yes. I think that was
my thinking behind it when I originally wrote it, but it seems to have
slipped my mind when replying to Jukka. :)
 
J

Jukka K. Korpela

Kris said:
That is, if 'previous' means 'the image you watched before coming to
this page'.

Right, and that's the most common situation where anyone should wish to
see the previous picture.
It often means 'the previous image in the sequence', is
often not visited yet and is therefore not reachable through the back
button.

Quite right, but how often would the user want to go backwards in the
sequence? A link to the _start_ would be much more useful if I e.g.
stumble across a page through a search engine.
 
E

Els

Jukka said:
Right, and that's the most common situation where anyone should wish to
see the previous picture.

Most common, not the only situation.
Besides, I used to have pages with only a next 'button',
thinking the users would use the back button of the browser
to go back. But quite a few visitors actually asked why
there wasn't a back button on the page.
And speaking for myself (as a visitor of other people's
photography sites), I almost never use the backbutton of the
browser; if I see a photo in a series, I expect a forward
and a back button, to, indeed see the previous image in the
cycle.
Quite right, but how often would the user want to go backwards in the
sequence? A link to the _start_ would be much more useful if I e.g.
stumble across a page through a search engine.

I happen to visit the same cycle more than once. And
remember from a previous visit that I liked photo number
40-something. I don't like to go back to start before
finding it again. (yes, I do know most of these pages do
have a thumbnail collection, but thumbs aren't always clear
enough to see which photo you're looking for)

I just like to be able to flip back and forth through any
photo album, including online ones :)
 
J

Jukka K. Korpela

Els said:
But quite a few visitors actually asked why
there wasn't a back button on the page.

What did they answer when you told them to find their browser's back
button, which works on _all_ pages (excluding the clueless pages that
break it using dirty redirection etc.)?
I happen to visit the same cycle more than once. And
remember from a previous visit that I liked photo number
40-something.

Then you need an index of photos, not "previous" links, which are fairly
inefficient way of moving around searching for something.
(yes, I do know most of these pages do
have a thumbnail collection, but thumbs aren't always clear
enough to see which photo you're looking for)

If you regard that as important, then what you would need is a list of
numbers at the bottom of each page, each acting as a link, except for the
current page's number (which could be highlighted). This would allow for
a more efficient "iteration". Just remember to put such links _last_.
It's very inconvenient to have to skip them one by one when tabbing
(e.g., when the mouse is out of order - a most illuminating experience to
any Web author).
 
E

Els

Jukka said:
What did they answer when you told them to find their browser's back
button, which works on _all_ pages (excluding the clueless pages that
break it using dirty redirection etc.)?

They said: "Ah! Good to know that, thanks!"
Those aren't the visitors to worry about. It's the ones who
only think and don't ask.
Then you need an index of photos, not "previous" links, which are fairly
inefficient way of moving around searching for something.


If you regard that as important, then what you would need is a list of
numbers at the bottom of each page, each acting as a link, except for the
current page's number (which could be highlighted). This would allow for
a more efficient "iteration".

Call it personal preference then.
I prefer a previous photo link to a list of numbers at the
bottom of the page.
Yes I know, it's the visitors, not me, to decide what they
like. But hey, I'm a visitor too. I don't like long lines of
clickable numbers. I like the 'previous' button.
Just remember to put such links _last_.
It's very inconvenient to have to skip them one by one when tabbing
(e.g., when the mouse is out of order - a most illuminating experience to
any Web author).

Right. Imagine the mouse not working and you don't know if
you need number 40, 41, 42 or 43.
That's 4 times tabbing 40-something links to find the photo
you wanted. Plus you have to remember which number you just
viewed. Nah.. give me a back and forth flip system anytime.
 
K

Kris

I happen to visit the same cycle more than once. And
remember from a previous visit that I liked photo number
40-something.

Then you need an index of photos, not "previous" links, which are fairly
inefficient way of moving around searching for something.[/QUOTE]

Maybe it is not the same, perhaps it is; go to here,
<http://www.google.com/search?q=fish&start=50>
scroll to the bottom, and explain the problem with the "previous" link
there.

Is it the 'previous' link in general you argue against, or only in the
context of photo sequences?
 
K

Kris

Els said:
But hey, I'm a visitor too. I don't like long lines of
clickable numbers. I like the 'previous' button.

Maybe regular pornsite visitors can speak up and tell us their
experience with this sort of links. As far as I remember, I always liked
those links.
 
K

Kris

That is, if 'previous' means 'the image you watched before coming to
this page'. It often means 'the previous image in the sequence', is
often not visited yet and is therefore not reachable through the back
button.

If the user has gone to that image from the index, yes. I think that was
my thinking behind it when I originally wrote it, but it seems to have
slipped my mind when replying to Jukka. :)[/QUOTE]

So what if we make that link "Previous Image"? Would it then be clear
the link does not go to a previous page, a previous gallery, but to the
previous image instead?
 
E

Els

Kris said:
Maybe regular pornsite visitors can speak up and tell us their
experience with this sort of links. As far as I remember, I always liked
those links.

Call me ignorant, but why pornsite visitors?
 
K

Kris

Maybe regular pornsite visitors can speak up and tell us their
experience with this sort of links. As far as I remember, I always liked
those links.

Call me ignorant, but why pornsite visitors?[/QUOTE]

I assume that group has plenty experience with image galleries.
 
E

Els

Kris said:
Call me ignorant, but why pornsite visitors?

I assume that group has plenty experience with image galleries.[/QUOTE]

Got it.
Doubt they will speak up though :)
 
B

brucie

in post: <
Maybe regular pornsite visitors can speak up and tell us their
experience with this sort of links.

its hard to keep the mouse steady especially with the left hand and
masturbate at the same time
 
K

Kris

I assume that group has plenty experience with image galleries.

Got it.
Doubt they will speak up though :)[/QUOTE]

No shame to stand up and defend not opening popup windows, but not
admitting to browse porn? ...
 
K

Kris

Maybe regular pornsite visitors can speak up and tell us their
experience with this sort of links.

its hard to keep the mouse steady especially with the left hand and
masturbate at the same time[/QUOTE]

I suggest to change the link texts "previous pic"/"next pic" to "more
clothes"/"less clothes".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,794
Messages
2,569,641
Members
45,353
Latest member
RogerDoger

Latest Threads

Top