Yes, I noticed that error. I guess my real question is... what is your ultimate goal? You want to get the styles/size of a particular element, but not in the context of the current document which contains certain CSS? Why? The reason I'm prodding further is to see if you can do it without and iframe or maybe approach this problem from a different angle.
~Philip On Thu, May 19, 2011 at 10:03 AM, Izzy <[email protected]> wrote: > so if you run the jsfiddle i linked, it throws an error. > > why is it throwing that particular error? > does the .getComputedSize() method not exist on elements grabbed from > that iframe? > is there something i'm not doing right when interacting with the > iframe from the current window using mootools? > is the iframe bugged? > > kind of a general "why doesn't this work" type thing. > sorry for the inclarity. > -i > > On May 19, 10:52 am, Philip Thompson <[email protected]> wrote: > > What is your actual "question"? :) > > > > ~Philip > > > > > > > > > > > > > > > > On Thu, May 19, 2011 at 9:20 AM, Izzy <[email protected]> wrote: > > > 1: thanks ahead of time > > > > > the short: > > >http://jsfiddle.net/5HBq3/6/ > > > > > the long: > > > first, if i could do this without an iframe, i would. > > > i need to use an iframe to measure elements in a context separate from > > > the page's css, using a different set of css. > > > i can certainly do things a little more manually, but i'd prefer not > > > to. > > > > > the docs suggest that the IFrame should be extended with mootools > > > methods, but it doesn't appear to be totally true. > > > > > any help is greatly appreciated, > > > thanks, > > > -izzy >
