+44 7881601035 Skype: dangibas

HYGEN Blog

Web Design • Web Development • Project Management • Travel

HYGEN Blog HomeHome » Use JQuery To Automatically Set IFrame Height

Use JQuery To Automatically Set IFrame Height

April 21st, 2010 | by admin |

Auto Adjust IFrame's Height With JQuery

Auto Adjust IFrame's Height With JQuery

It’s a fairly common problem when developing web applications and using IFrames (inline frames) – the height of an IFrame can’t easily be determined and it’s essentially dynamic as it depends on content and CSS inside the framed page.

A web designer or developer will need to know the height of a page loaded in an IFrame so that the scrollbars can be prevented from appearing.

Check out this great article - http://sonspring.com/journal/jquery-iframe-sizing by Nathan smith to find out how you can automatically adjust the height of IFramed pages so that your users should never need to scroll.  Best of all – the solution is provided in JQuery and uses one simple line of code for including the JavaScript file.

Leave a Reply

Blogging Links

Blog Top List Blog Top List Blog Rankings Blogarama Web Design Blogs - BlogCatalog Blog Directory Web design blogs
BlogMalaysia.com Hygen Web Design at Blogged expat Kuala Lumpur

Games