On Feb 5, 10:56 am, Jhonte <[email protected]> wrote:
> On 5 Feb, 18:35, John J Barton <[email protected]> wrote:
>
> > On Feb 5, 3:27 am, Jhonte <[email protected]> wrote:
>
> > > Hello!
> > > If I have the css:
> > > .x { width:100px; }
>
> > > And change the css with $(".x").css("width", 200);
>
> > Sorry I don't know what this does.
>
> It is a jQuery line that changes the style tag of all elements matched
> by .x
>
>
>
>
>
> > > Since the change inserts the css change in the style tag, is there a
> > > way to insert it into FB:s css already parsed version of the .x ?  So
> > > that when you continue editing .x in FB, you see width:200px and
> > > no .element style above the correct class.
>
> > > I am listening on onCSSSetProperty: function(...  which does not work
> > > if the style tag i changed?
>
> > I guess you mean: does not work if the element.style attribute
> > changes?
>
> > jjb
>
> Yes :)
>
>
>
> > > Change flow I am after:
> > > External program transmits a css change to -> My Firebug add on -> I
> > > would like to change the corresponding css in the body -> When I edit
> > > the changed css class in FB -> onCSSSetProperty should be
> > > triggered  :)
>
> > > A bit hard to explain, hope you understand and can help me.

Sounds like you want to change the CSS rules or selectors ?

jjb

>
> > > Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to