Alex, I could kiss you. It actually works in Safari! I was trying to use offsetHeight and pixelHeight, but wasn't getting consistent heights across browsers (Safari was way off), but grabbing the height from the CSS seems to work in every browser. I'm ecstatic...
Alex Cook wrote: > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of meekish > Subject: [jQuery] Scripting Iframes > > I already posted about this, but it was a bit of a half-hearted post and > (big surprise) no one replied. > > So let's try this again... > > ------ > > Alright, I found a few moments to try to play around with this. I've > got something working in Win/FF2, so it should be a good place to start > and you can iron out any bugs you find. > > Parent Page: http://pastie.caboo.se/25925 > Content Page: http://pastie.caboo.se/25926 > > The child frame calls the parent frame, passing along the height of the > body and telling iframeSetHeight to resize the iframe css accordingly. > Hope this helps you or at least gives you a direction to continue on. > > -ALEX > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/Scripting-Iframes-tf2745384.html#a7713491 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
