Resize of IFrame

 [script type="text/javascript"]
   document.domain='your domain'

    function AdjustIFrame(h, w,framename)
    {
        document.getElementById(framename).style.height = h + "px";
        document.getElementById(framename).style.width = w + "px";
    }
[/script]


[iframe style="border:none;" scrolling="no"  frameborder="0px" src="yoursite"  width="100%" id="testframe"][/iframe]

Comments

Venu said…
Put [] brakets instead of <> brackets

Popular posts from this blog

Windows Azure Package Build Error: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Resource ID : 1. The request limit for the database is 180 and has been reached.

How to get Client's Location using IPAddress