If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Resize iFrame based on Content

So i'm trying to create a sharepoint web part via a Content Editor Web Part. I'm pasting in the following code. The purpose of the code is to be able to edit the &Date= + &EndDate= variables in the URL so that the page loads based on the current day. My function just gets the day, and formats it and shoves it into the url src of the iFrame.

The problem i'm running into is that i want to dynamically change the height of the iFrame based on the content. I've tried a few different approches and nothing seems to work. height="100%" doesnt work within the iframe tag. And the functions i've created using onLoad do not seem to work either. Does anyone have ideas for how to get this working?