molina2000
12-08-2013, 05:36 PM
I have a website where I display a devotional each day of the year. I make a html file for each day of every month, and daily copy & paste the right day to my index.html file. I'm looking for a javascript ajax that can load a different file every day of the year, 366 days, not 31 days.
Is it possible to use your script title "Daily Iframe Content II" and expand 'daycontent [31] until daycontent [366]?
And can I change the name of the file to be load, instead of "1.html" so something more meaningful to me like the date of the year, because I won't be able to know which day is "249.html". The way that I name is something like this: "05-23-2013-i_need_god's_grace.html" It is long, but I need a way to handle 366 different files every single year, and I have 5 years doing it the hard way. It 's time due to learn javascript and ajax!!!
Please, if anyone of you can help me, will be appreciated.
Molina Ossers.
Is it possible to use your script title "Daily Iframe Content II" and expand 'daycontent [31] until daycontent [366]?
And can I change the name of the file to be load, instead of "1.html" so something more meaningful to me like the date of the year, because I won't be able to know which day is "249.html". The way that I name is something like this: "05-23-2013-i_need_god's_grace.html" It is long, but I need a way to handle 366 different files every single year, and I have 5 years doing it the hard way. It 's time due to learn javascript and ajax!!!
Please, if anyone of you can help me, will be appreciated.
Molina Ossers.