|
|
|
Since your calendar is javascript, and I don't know if you are on an ASP or PHP or PERL-CGI, etc enabled server, a javascript solutions is probably your best bet. Check out the date functionality in javascript using this section of devguru.com.
http://www.devguru.com/Technologies/ecmascript/quickref/date.html
Using the javascript date methods, you can setup a page onload event that fires, gets today's date, then calls whatever methods your calendar script uses to select the current date.
To setup a page onload event, you can use this script inside your javascript section:
function LoadTrigger() {
// Insert statements to fire on load here.
alert("Page has loaded.");
// Now put some date logic here to get today's
// date, then build a call to your calendar to
// change it to today.
}
window.onload = LoadTrigger;
|
|
|
|
|
|
|
|
|
|
|
© Copyright codetoad.com 2001-2005 |
|
|