Updating iframe

6854933580_2c8b688306_z

Setting this property to a negative number will force the interval check to run instead of mutation Observer. you may need to change this setting to one of the following options.Each can give different values depending on how CSS is used in the page and each has varying side-effects.This library enables the automatic resizing of the height and width of both same and cross domain i Frames to fit their contained content.It provides a range of features to address the most common issues with using i Frames, these include: The second file (iframe Resizer.content js) is a native Java Script file that needs placing in the page contained within your i Frame.These options can be used to override the option set in the parent page (See above for details on available values).

updating iframe-73updating iframe-61

If this callback function returns false, it will stop the library from repositioning the page, so that you can implement your own animated page scrolling instead.

Note that scrolling is set to 'no' in the i Frame tag, as older versions of IE don't allow this to be turned off in code and can just slightly add a bit of extra space to the bottom of the content that it doesn't report when it returns the height.

If you have problems, check the troubleshooting section below.

To see this working take a look at this example and watch the console.

When enabled changes to the Window size or the DOM will cause the i Frame to resize to the new content size.

Some CSS technics may require you to change this setting to one of the following options.

You must have an account to comment. Please register or login here!