Click to See Complete Forum and Search --> : Date sensitive button to pull up page.


Frapster
07-16-2003, 10:31 AM
I am trying to get a button to pull up a specific page based upon the current week. Each Sunday the button should pull up the next sequential file of a 28 week schedule.

I have tried to write this myself but I cannot seem to make it work. I have a small budget to pay someone for their help so please confirm cost before doing anything.

You can see the general layout of what I'm trying to achieve at http://www.katyfit.com. Please respond to me via e-mail at rjfloyd@robfloyd.com if you have questions or ideas.

Thanks,

Rob

David Harrison
07-16-2003, 04:38 PM
Try this, you can just add as many locations for the various weeks since a certain date as you like. You can specify a date later on in the script. Also if so many weeks go by and there aren't enough locations in the array, it will go to the last location in it.

Edit: If you like I can add some comment tags throughout the script to explain how it works in more detail.