0

正如问题所解释的那样,我有一个像萤火虫这样的按钮,我想在某些事件发生时设置一个数字,比如萤火虫在页面上检测到错误时会发生什么。

有谁知道如何设置它?

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

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

1 回答 1

0

经过数千页和示例......最简单的方法是创建一个 div 并对其执行 appendChild (老派方法):D

希望这可以帮助某人。

于 2013-10-13T00:03:10.403 回答