Hi,
I want to use CSS.updateRule for the document that is located in iframe.
(I cannot include ExtJS to that iframe).
AS far as I can see looking at the code it's not possible because of this:
PHP Code:
Ext.util.CSS = function(){
var doc = document;
Since doc is private and there are no any getters/setters util.CSS always uses current document.
Any suggestions? What my options are?
In this case I would like to write code like this:
PHP Code:
var css = new Ext.util.CSS(documentOfIframe); // DONT TRY IT! It's just a meta-lang!
css.updateRule("h1", "color", "red");
Cheers,
Dmitriy.