Hello Chris,
Your script looks very nice. Maybe a stupid question: but how do I include the calendar on a page? I tried the .js files but it does'nt work.
Regards,
Jesse
New Install:
1. - Upload all files to your ftp
2. - Modify the includes/config.inc.php file with your db data and other values (paths, defaults etc.)
3. - Open "install/index.php" in your browser, this will create the availability table in your db
4. - navigate to "index.php" to see your calendar in action - click on dates to modify their state.
NOTE - you may also need to modify the "js/update_cal.js" slightly to set your image paths, type and size if you decide to use different ones than those provided
table{
font-size:100%;
}
ul{
text-align:left;
}
h2{
color:#336699;
}
div#wrapper{
background:#FFFFFF;
width:600px;
margin-left:auto;/* center it*/
margin-right:auto;/* center it*/
border: 1px solid #DDDDDD;
text-align:center;
padding:20px;
}
.side{
text-align:right;
padding-right:4px;
background:#EEEEEE;
border-right:6px solid #336699;
width:140px;
}
.data{
border:1px solid #EEEEEE;
}
/******* END GENERAL LAYOUT STUFF ***********/
/*
CALENDAR
***********/
table .cal_month{
border:1px solid #DDDDDD;
background-color:#ffffcc;
}
thead td{
text-align:center;
}
.cal_title{
border:1px solid #DDDDDD;
background-color:#336699;
text-align:center;
color:#FFFFFF;
}
.cal_data{
text-align:center;
}
.cal_empty{
text-align:center;
/*border:1px solid #EEEEEE;*/
}
Users browsing this forum: No registered users and 1 guest