I currently have about 53 html files. Each containing different quotes, different saying, some with images and some without. The amount of these could fall down to possibly 1 or increase to 200 who knows. Each is numbered 001_quote.html, 002_quote.html and so on.
I am trying to not use SSI because you cannot see the include from inside your HTML editor (GoLive) during editing of the page. It is just a request of my customer. SSI would be a lot easier to do I agree.
Anyhow, would I need to build an array comprised of each page's table and html markup? This would be a pain to maintain such as adding new ones. Is there a way to write just the HTML into the <span id="theQuotes"></span> on the main page from each of the html files? I thought that maybe the array would contain each file such as:
var theQuotes = new Array(
but of course all it does is write that actual text to the page.
Anyhow, however way you suggest I do it, how would I show a different one, in order from 001, 002, 003 and so on, on every visit to the page and then when it reaches the end it starts back over to 001. Since the amount of quotes can increase or decrease, can I do it without specifying how many there are? So it will look for the increments but when it does not find a next one, it restarts?
Thank you in advance.