CJ

The circle of life – ** .Net – Training – MOSS **

  • Past Post

  • Vistor Locations

IFrame Resize and SharePoint

Posted by Clayton James on March 3, 2009

I created a custom IFrame web part that has a dynamic source property. The client wanted the IFrame to dynamically resize itself to the browsers width and height.

 

To achieve this we needed to place the web part directly into the page i.e don’t use a webpart zone. A web part zone wraps tables around the IFrame and controls the width and height properties.

 

I read a few articles about using JQuery….may have to give this a go also.

Advertisements

One Response to “IFrame Resize and SharePoint”

  1. Nico said

    Hm did you give it a go and where you able to dynamically rezise the height?
    Was this also from another domain?

    Thank for any anser or link.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: