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.
html picture question
Re:html picture question
<img src="image_url_here">
<br>
<a href="back_url_here"></a> <a href="forward_url_here"></a>
<br>
<a href="back_url_here"></a> <a href="forward_url_here"></a>
Re:html picture question
Alternatively use javascript to change the src value appropriately when the button is clicked.
Re:html picture question
which of course doesn't work when javascript is disabled. The first one works on more platforms.Curufir wrote: Alternatively use javascript to change the src value appropriately when the button is clicked.
Re:html picture question
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
im waiting for my friend to send me the pictures so i can put them online. once he does ill try the code out.