<style type="text/css"> /* Overall table */ .weekly-table, .weekly-table th, .weekly-table td { border: #777 1px solid; border-collapse: collapse; } /* Header - contains the days of the week */ th.weekly-header { text-align: center; width: 14.3%; text-transform: capitalize; background: #222; color: #fff; } /* weekdays */ .weekly-day { height: 80px; vertical-align: top; padding-right: 5px; } .weekly-day span.num { float: right; } /* weekends */ .weekly-weekend { background: #333; } /* today */ td.weekly-today { background: #444; } /* event and event image */ a.weekly-event img { width: 20px; height: 20px; float: left; } a.weekly-event-shown { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; border: #fff 1px solid; color: #fff; display: block; float: left; text-decoration: none; width: 100%; font-size: .9em; } a.weekly-event-shown img { width: 16px; height: 16px; } a.weekly-event-shown .fc-event-time { font-weight: bold; } /* event title in tooltip */ #tooltip .title { font-weight: bold; } </style> <!-- calendar box --> <div class="weekly"></div> <script type="text/javascript" src="/GuildFiles/258012/gp-weekly-min.js"></script> <script type="text/javascript"> /* weekly script code */ $('.weekly').weekly(); </script>
<div class="weekly"></div>
<div class="weekly1"></div> <div class="weekly2"></div>
$('.weekly1').weekly(); $('.weekly2').weekly({ showNextWeek: true });
startWeek : "sun" // Set day to start the weekly calendar
shortTitle : true // Only show the first letter of the day of the week, if true
showNextWeek : true // Calendar will show next weeks schedule starting from the "startWeek" day, if true
showNext7Days : true // Ignores "startWeek" & "showNextWeek", and shows the next 7 days
showInTooltip : true // Add events into the icon's tooltip; if false, show the event text
defaultEventIcon : "http://www.axiomfiles.com/Files/278466/icon-info.png" // Icon used if no category icon is available
tooltipWidth : "200", // Width of the tooltip that pops up (only works with the modified tooltip script)
daysOfWeek : ["sun","mon","tue","wed","thu","fri","sat"] // Added in case you use a different language (use lower case)
<b>Events This Week</b> <div class="weekly1"></div> <br><br><br> <b>Events Next Week</b> <div class="weekly2"></div> <b>Events in the next 7 Days</b> <div class="weekly3"></div> <script type="text/javascript" src="/GuildFiles/258012/gp-weekly-min.js"></script> <script type="text/javascript"> /* weekly script code */ $('.weekly1').weekly({ shortTitle : true }); $('.weekly2').weekly({ showNextWeek : true, shortTitle : true }); $('.weekly3').weekly({ showNext7Days : true, shortTitle : true }); </script>
Hi Mottie, I really love this format and I was successful in getting the actual calendar to work, but I need a little assistance with this. First, I cannot get ANY other URLs to work in place of the default event calendar icon URL. Whenever I add one of the URLs below, it makes the entire calendar disappear and I have to start over, I have tried several URLs: http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/icc.png http://www.wow-loot.com/images/icc_img.gif I am willing to try other suggestions, but I wanted an Icecrown Citadel icon and a Ruby Sanctum icon on my guild calendar. I am also not sure how to add events that will display on my calendar. I am okay with them being just tooltips but I cannot get anything to display. I couldn’t add events to the default GP calendar, either. I could only add a list of events, but they never appeared on the actual calendar and there were no tooltips, either. You also had to be a Super Admin to even see the list that I added. Please help! I really like the calendar concept and would love to use it. My GP site is www.iconoclasm.guildportal.com. Thank you!
Hi Mottie,
I really love this format and I was successful in getting the actual calendar to work, but I need a little assistance with this. First, I cannot get ANY other URLs to work in place of the default event calendar icon URL. Whenever I add one of the URLs below, it makes the entire calendar disappear and I have to start over, I have tried several URLs:
http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/icc.png
http://www.wow-loot.com/images/icc_img.gif
I am willing to try other suggestions, but I wanted an Icecrown Citadel icon and a Ruby Sanctum icon on my guild calendar.
I am also not sure how to add events that will display on my calendar. I am okay with them being just tooltips but I cannot get anything to display. I couldn’t add events to the default GP calendar, either. I could only add a list of events, but they never appeared on the actual calendar and there were no tooltips, either. You also had to be a Super Admin to even see the list that I added.
Please help! I really like the calendar concept and would love to use it. My GP site is www.iconoclasm.guildportal.com.
Thank you!
<script type="text/javascript"> /* weekly script code */ $('.weekly').weekly({ defaultEventIcon : "http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/icc.png" }); </script>
#tooltip table { color: #ddd; }
<script type="text/javascript" src="/GuildFiles/258012/gp-weekly-min.js"></script>
$('.weekly').weekly({ startWeek: "mon" });
But then the day of the week that is "Today" this week also gets highlighted on the next week display. If I comment out the CSS formatting for td.weekly-today, it affects both weeks.
<style type="text/css"> .tooltip, .preview, .screenshot { cursor:pointer; } #tooltip, #tooltip2, #preview, #screenshot { color:#dddddd; background:#222222; border: 1px solid #333333; padding:5px; display:none; opacity: 0.9; filter: alpha(opacity=90); text-align:left; border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; } </style> <script src="http://www.axiomfiles.com/Files/258012/tooltip.js" type="text/javascript"></script>