hello,
I am working on a gallery that is functioning greatly. Right now, the only way to navigate is to click next or previous. The images load dynamically from a XML file, and they all have a corresponding number.
For easier navigation, I would like to add an Input Text for people to enter the image number they wish to see:
Go to image # ____ GO
Then they would click GO or just press enter.
A little bit like when you browse search engine and you can to to page X, or stock photo websites. However I am not sure I can achieve it in an efficient way.
Could anybody shed some light on how to use the typed number as a value, so it leads the user to that image number?
The only solution I seem to think of is:
if (input text = 9)
go to image 9
But it would mean I have to create an IF statement for each picture!
I have never worked with input text before. A better solution would be much appreciate.
Thanks