zenweezil
04-24-2003, 04:11 AM
I am trying to have a .shtml page where one section of the page will be a server side include of another .shtml such as <!--#include virtual="includedstuff.shtml">
THis works fine, but now I want to rotate what the include will be based on the day of the week.
I tried a cgi to determine the day of the week but when it plugs in the appropriate <!--include... line it remains as a coded out note instead of actually pulling in the file.
I also tried using a javascript to determine the day of the week but the <!-- part screws up the javascript.
Any thoughts on how to pull this off?
THis works fine, but now I want to rotate what the include will be based on the day of the week.
I tried a cgi to determine the day of the week but when it plugs in the appropriate <!--include... line it remains as a coded out note instead of actually pulling in the file.
I also tried using a javascript to determine the day of the week but the <!-- part screws up the javascript.
Any thoughts on how to pull this off?