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
I'm not sure what exactly you're trying to do, maybe if you gave us an
explanation of your overall goal we could help you better. There might
be other ways to do what you're trying that might not even involve
javascript and work everywhere.
FWiW, this behaviour is in FF 3.6 too
Jonathan
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 the
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
So you're basically writing a preview window or something for tinyMCE? I
can't really think of a different way of doing this, unless you want to
implement autosave and reload the content periodically with AJAX.
Jonathan
jordanrynard wrote:
I have two documents: The parent, and the iframe.
does every browser do that?
jordanrynard wrote:
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
I didn't see you posted azn example page. When testing it, I found that
both Opera and Chromium returned the correct thing but they format it
differently. Opera alerts Comic Sans MS [microsoft]. I actually like
how Opera alerts the font you're actually using instead of the whole
font stack,
7 matches
Mail list logo