繁体   English   中英

如何像Firebug一样使用Xul设置许多错误

[英]How to set a number of error with xul like firebug does

正如问题本身所解释的那样,我有一个类似firebug的按钮,我想在发生诸如Firebug doeas之类的某些事件时,在它检测到页面错误时在其中设置一个数字。

有人知道如何设置吗?

这是显示面板的顶部按钮的代码,所以当某些事件发生时,我想在此处设置一个数字。

    <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>

成千上万的页面和示例之后...最简单的方法是创建一个div并对其执行一个appendChild(旧学校方法):D

希望这可以帮助某人。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM