It won't. The height/width attributes are relative to the parent
document. You can only achieve that using a frameset.

On Apr 26, 1:59 am, His Abness <afad...@gmail.com> wrote:
> bump
>
> On Mar 7, 1:19 pm, Nguyễn Quốc Vinh <kureik...@gmail.com> wrote:
>
> > Well, i have a iframe element with ID iframe-template
> > Then, i used $('#iframe-template').attr('src', url) to load content of url
> > into that iframe!
> > It works fine! But i dunno how to make it grow up to it's actually
>
> > This is my iframe tag
> > <iframe width='100%' height='100%' id='iframe-template'
> > name='iframe-template' frameborder=0 src='' scrolling='no'></iframe>

Reply via email to