find form height

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, is there any way to find the height of a webform (that is being loaded into an Iframe) from another webform? I'm not sure how to do that...

Thanks!
 
Tammy,

window.frames["nameofyourframe"].height/width

should give you what you need. I think this will also work with external
windows as long as they were launched from the current browser instance.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web


Tammy said:
Hi, is there any way to find the height of a webform (that is being loaded
into an Iframe) from another webform? I'm not sure how to do that....
 
I'm a little new here so please bare with me. Is the code snippet you posted code behind? That is what I need... .if it is code behind how do I reference 'window'? If that is typed in now, it is not recognized...

Thanks.
 
you can't get it from code behind, you'll have to get it clientside and pass
it in

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


Tammy said:
I'm a little new here so please bare with me. Is the code snippet you
posted code behind? That is what I need... .if it is code behind how do I
reference 'window'? If that is typed in now, it is not recognized....
 
That is what I was afraid of... ok, any clues or pointers on how to do that? :

It's my birthday today if that helps you have sympathy toward me. hee hee

Thanks!!
 
hit up a javascript site (I like www.DevGuru.com) and you should be able to
get what you need.
it will be something like, surprisingly, window.height

Happy b-day too.
 
Back
Top