[jQuery] Get font-family from iframe

2010-02-17 Thread jordanrynard
I'm trying to retrieve the current font from an element that is within an iframe... unsuccessfully. From within the document itself I can retrieve the font just fine using the following: $(document).ready(function(){ var getFontFamily = $(#get_font_of_this).css(font-family);

Re: [jQuery] Get font-family from iframe

2010-02-18 Thread jordanrynard
Wow, you're absolutely right -- I didn't even bother to try any other browsers as it's just the sort of thing I wouldn't think would be the result of a 'browser issue'. I tested this code in recent versions of IE, Chrome, Opera, and Safari, and it works perfectly. In Firefox 3.5.7 this appears

Re: [jQuery] Get font-family from iframe

2010-02-18 Thread jordanrynard
I have just downloaded the latest trunk nightly build for Firefox (Minefield), and this bug has been fixed in this version. So now I just have to wait for it to be released!! jordanrynard wrote: Wow, you're absolutely right -- I didn't even bother to try any other browsers as it's just

Re: [jQuery] Get font-family from iframe

2010-02-18 Thread jordanrynard
I have two documents: The parent, and the iframe. When activated, the parent document dynamically appends an instance of tinymce to itself. It retrieves the content for the editor (tinymce) from a selected element in the iframe. The style of text displayed in tinymce is identical to the style