Advice about improving AJAX "widget"
I've read this article:
And from reading it thought it'd be interesting to try a bit of Ajax on my site.
What I'd really like to do is to set up a little ajax widget on my homepage:
So that if people want to view more of the ecard thumbnails, they can click little next/prev icons to view the next / previous 8 thumbnail ecard images. I suppose in a way I want it to be similar to the thumbnail widget used on flickr.com.
I've managed to get a simple bit of ajax running on this demo page:
If you type a number - e.g. 1 into the text field, and tab out of it, then 8 images are displayed. If you change the number, and tab out again, then the images are updated.
What I'd like to do is to have images to allow next / prev options, but I am stuck now!
I'm using to doing this with basic hyperlinks, but I can't work out the syntax to get buttons / links / images which users can click, which will take them to the "background" 002.asp page - so rather than have to type a number, I'd like them to be able to click an image, and, for example, view the next 8 images.
Any help much appreciated... apologies for the vague query - I suppose I know what I'd like to do, and apart from my rather simplistic starting point, am not sure where to go from here.