Kind of advanced question...

admin

Administrator
Staff member
Ok, i'm trying to build a simple web page that does one thing: navigates through a series of images. i want it to start on the latest image to be uploaded (this can be changed manually by uploading a newer version of the page, so no problems there), and have two buttons: Previous and Next. When the previous button is pressed, i want the page to go to the image before the current one, or if the current image is the earliest, back to the latest image, and vice versa with the next button.<br />
<br />
So my question is: is there any way of doing this that doesn't involve making a new html document for every image? The way i have it configured at the moment involves having the buttons on the same frame as the image, so that when the image changes, the button's links change with it, but this is quite tedious and time consuming to go through everytime i load a new image (which is around 2-3 times a day lately). Any ideas? I'll post the actual html script i'm using if this post doesn't make any sense to you. Cheers<!--content-->Sounds like you are talking about a slide show.<br />
<br />
I recall someone else months ago wanting something like that.<br />
<br />
I see if I can do a search for the thread.<!--content-->--- Main Page<br />
<br />
<title>Site</title><br />
<br />
<centre><br />
<frame src=http://www.htmlforums.com/archive/index.php/"image001.html"><br />
</centre><br />
<br />
<br />
--- Frame Sample<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/"001.jpg"><br />
<br />
<table border=0><br />
<tr><td><br />
<a href=http://www.htmlforums.com/archive/index.php/"image999.html"><img src="previous.jpg"></a><br />
</td><td><br />
<a href=http://www.htmlforums.com/archive/index.php/"image002.html"><img src="next.jpg"></a><br />
</td><tr><br />
</table><br />
<br />
<br />
---------------------<br />
that's basically what i'm using at the moment, as you can see it means doing everything manually.<!--content-->follow this link and maybe it will help.<br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?s=&threadid=13630">http://www.htmlforums.com/showthread.ph ... adid=13630</a><!-- m --><!--content-->Try using an image gallery, use Perl, PHP or ASP.<!--content-->aha, cheers a lot jams<br />
good info in super-quick time :0)<br />
<br />
i don't know why i didn't think of slideshows before, that's exactly the code i need hehe.<!--content-->
 
Back
Top