firefox - How to set a number of error with xul like firebug does -
as question explains i've button firebug , wanted set there number when events happens firebug doeas when detects errors on page.
does know how set it?
this code of top button displays panel, want set there number when certains events happens..
<panel id="asv-panel"> <hbox align="start"> <vbox> <hbox align="center" style="background-color:#ffffff"> <image id="asvbutton-panel-icon" width="200px" height="50px" style="margin-left:10px"/> </hbox> <hbox style="background-color:#fff" id="menupanelcontainer"> <html:div style="margin-top:20px;margin-left:20px;width:150px" id="menuloggininicial"> <description value="&asbutton.signin;"/> <html:hr/> <image id="asvbutton-logoface" width="50px" height="50px" style="cursor:pointer" onclick="asvbutton.login();"/> <image id="asvbutton-logogoogle" width="47px" height="45px" style="align:left;cursor:pointer"/> <image id="asvbutton-logotwitter" width="50px" height="50px" style="align:left;cursor:pointer"/> </html:div> </hbox> </vbox> </hbox> </panel> </toolbarbutton>
after thousands of pages , samples... easiest way creating div , doing appendchild (old school method) :d
hope helps someone.
Comments
Post a Comment