Hi all,
I'm using some code from Google to display my calendar on my site. The calendar has the page all to itself, so I want it to use that space.
Here is the code that Google has given me:
As you can see, within the src attribute there is a width flag, and there is also a width and a height attribute as part of the iframe tag.
What I want to do (I think) is grab how big the users window is, then place the width and height in the given places (probably best to take a few pixels off for good measure before hand too).
Anyone know how I can achieve this? JavaScript is and option, as is PHP.
If anyone could lend a hand that'd be great,
Ben
Edit: Page will be displayed here:
http://www.hashbang0.com/calendar/