In one of my apps in the IndexPage XHTML I have a routine with the XHTML in capture1.jpg
The contents of BodyContent.txt are very simple. It displays a background image when I'm logged out or when the user is logged in but a procedure isn't open.
What I would like to do is to have (let's say) 10 images in a folder
I can store the location and names in a sequentially numbered table.
Every time a new session is started I would like to access the name of the next image in the table and display that image as the background, at the same time marking the record as the last image accessed. When the next user logs in I could check the table access the next record, display the image as background, hopefully ad infinitum. At the end of the table go back to no 1
My question:
Is it possible to do this within the XHTML or am I looking at javascript?
At the moment this is just an experiment to see how far I can go but it would definitely be a plus in one of my mobile apps.
Any suggestions, pointers etc. would be appreciated.
[attachment deleted by admin]