英特尔xdk,“关闭(应用程序名称)”将弹出后退按钮

时间:2014-06-04 22:12:24

标签: intel-xdk

我想弹出" Shutdown(应用名称)"在后退按钮而不是现在的默认按钮..(英特尔xdk应用程序框架) 我怎么能这样做?请帮帮我!

1 个答案:

答案 0 :(得分:0)

为此添加自定义标题,如.........

<div class="panel" title="Custom title" data-footer="footer_1" data-header='custom-header' id="page_5" data-appbuilder-object="page">
   <div class="container" id="page_5_container" style="width:100%" data-appbuilder-object="container" data-position="static">
      your content here...............
   </div>
</div>

<header id="custom-header" data-appbuilder-object="header">
   <a id="backButton"  onclick="popup()" class="button back" style="visibility: visible; ">Back</a>
   <h1 id="pageTitle" class="">
      Custom title
   </h1>
</header>