Is it possible to use jQuery to manipulate XUL elements?

前端 未结 6 863
一向
一向 2020-12-08 05:30

I know its possible to integrate jQuery within Firefox addons, but are we able to manipulate (animate, move, adjust transparency, etc) XUL elements themselves?

From

6条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-08 06:20

    Short answer: Yes

    Long Answer:

    I experimented with it myself. I could only use it in a limited way. Manipulation of XUL elements is possible. But I am having a hard time observing events, since I am pretty new to jQuery - I don't know how to tweak it to observe events at Firefox/XUL level - I don't even know whether tweaking is required :D

    Example:

    overlay.xul

        
    
    
    
    
        
    
                                     
                  
提交回复
热议问题