Page 1 of 1

html picture question

Posted: Wed Jun 02, 2004 3:05 pm
by Joey
i making a web site for my friends band in html. so far i was able to make everything they wanted, but there is one thing i need to know how to do. i am going to create a separate page, and on it i want to know the code to do the following:

there will be a picture displayed, and then back and next below it, and if you click next it shows the next picture, if you hit back is shows the previous.

thanks.

Re:html picture question

Posted: Wed Jun 02, 2004 3:11 pm
by AGI1122
<img src="image_url_here">
<br>
<a href="back_url_here"></a> <a href="forward_url_here"></a>

Re:html picture question

Posted: Fri Jun 11, 2004 11:31 am
by Curufir
Alternatively use javascript to change the src value appropriately when the button is clicked.

Re:html picture question

Posted: Sat Jun 12, 2004 12:56 am
by Candy
Curufir wrote: Alternatively use javascript to change the src value appropriately when the button is clicked.
which of course doesn't work when javascript is disabled. The first one works on more platforms.

Re:html picture question

Posted: Sat Jun 12, 2004 11:09 am
by Curufir
Hardly a problem. That's why the tags for no script exist.

Re:html picture question

Posted: Sat Jun 12, 2004 1:09 pm
by Eero Ränik
For example, I have JavaScript disabled for security reasons. And he could use PHP, which is as good as just putting those links in the files manually, but more comfortable in case of large galleries.

Re:html picture question

Posted: Mon Jun 14, 2004 1:18 pm
by Joey
im waiting for my friend to send me the pictures so i can put them online. once he does ill try the code out.