This is great! One question, though - how do I change the width of the calendar? I need it to be a little less wide in order to fit it where I want it to go.
var giCellWidth=16; // calendar cell width; if set to -1, it'll be auto-adjusted so as to ensure the width of the entire calendar fits in with the calendar's direct parent tag. NN4 doesn't support -1.
var giCellHeight=16; // calendar cell height;
var giHeadHeight=16; // calendar head row height;
var giWeekWidth=16; // calendar week-number-column width;
Change the 16 to whatever you need ...........and remember to adjust the width and hieght etc
the iframe code below (copy and put it into your template but add your site path where it says "yoursite")
<iframe name="gToday:calendar:" id="gToday:calendar:"src="http://www.yoursite.com/calendar/cal.htm" scrolling="no" frameborder="0"></iframe>
you add to the template your are using ie
if you are adding the calendar to the index page then edit your "Forumhome" Template and it will appear on the forumhome page.(where it appears is up to yourself )
If you want it elsewhere ie side bar then add it to the sidebar code.
if you want it somewhere on your forum let me know where and ill help or add for you.
the iframe code below (copy and put it into your template but add your site path where it says "yoursite")
<iframe name="gToday:calendar:" id="gToday:calendar:"src="http://www.yoursite.com/calendar/cal.htm" scrolling="no" frameborder="0"></iframe>
you add to the template your are using ie
if you are adding the calendar to the index page then edit your "Forumhome" Template and it will appear on the forumhome page.(where it appears is up to yourself )
If you want it elsewhere ie side bar then add it to the sidebar code.
if you want it somewhere on your forum let me know where and ill help or add for you.
No apologies needed. Thank you for your quick response, it was exactly what I needed to get me on the right track. I have now added the little calander and will try it out.
BTW, I figured out how to insert it into the Ultimate Side Columns hack with the following in one of the Blocks.
Well I've installed this and inserted it into the Right Side Column (as released here by Kerry-Anne). It works fine and it's (almost) what I was looking for. The only problem I have is that I need to change the colours to blend it into the style I'm using it with. I tried uploading it into the relevant style folder and changing the path accordingly, but it still appears in the blue & white as shown on the demo at Big Forums.
The sizing is perfect and no changes were needed there, just that I need to vary the colours. Any clues on whether this can be done and what to edit would be appreciated. If it's not possible, maybe someone could point me to a similar calendar mod where the colours are changeable?
The colors are totally changeable within the php file..........not js..........you will see all the color codes as html colors which you can match to your css
Thanks for your quick and extremely helpful reply basilrath. I'd been looking through the js and couldn't figure what to change.
I'll make a copy of the php file and get to changing the colours. Now I know how to do that it's turned a good little mod into a great little mod - thanks again!