Hi guys,
Basically, I have a site which just basically uses the
glob and
array_rand functions to sweep my image dir and show a random image.
Now, I would like to implement two things, however the main thing is to refresh the image,
without refreshing the whole page.
All it needs to be is a simple refresh: it doesn't need to know what image its going to show next, as the
array_rand will sort that out on the refresh.
This leads me onto something which I reckon is more complicated. The very fact that it doesn't know what it is showing next means that it can't preload it- another feature I wish to implement.
I am not asking for any code (although I would really appreciate it if you did give me some), just your ideas on how they can be implemented..
Does anyone have any ideas?
Gareth