Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Iframe Height Property?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am trying to change the height of an iframe using a sub routine in vbscript.


The Iframe looks like this

<iframe id = &quot;MiddleFrame&quot; src = &quot;home.htm&quot; frameborder = &quot;0&quot; target=&quot;main&quot; width = &quot;100%&quot; height = &quot;200&quot;></iframe>

In VBscript I have tried many ways to change the height of this iframe.. I have tried

MiddleFrame.height
MiddleFrame.style.height
MiddleFrame.style.posheight
window.MiddleFrame.height
window.MiddleFrame.style.posheight


Any suggestions? Thank you for your help!
- Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top