未调用childbrowser中提到的链接

时间:2012-03-01 05:01:26

标签: javascript android phonegap-plugins

我在儿童浏览器中打开一个静态页面。 html页面中提到了某些链接。这些链接应该在点击时调用某些功能。反过来,这些函数应该在子浏览器中打开另一个静态页面。但链接没有响应点击。

我做错了什么?

下面将提到打开子浏览器的功能。

function openTerms() { 
    var options = {
            'showLocationBar' : true,
            'pageDesc':'Terms of Use'
    };
    window.plugins.childBrowser.showStaticPage("terms_of_use.html",options);
}

用于调用该函数的HTML代码如下所述。

    <tr>
        <td><font face="Arial"  size="2pt">6.4 <b>Privacy Policy.</b> This
    Application may collect personal information.  For information on how
    your personal information is handled, see the Cargo Portal Services
    Privacy Policy at  <a href="" onclick="openPrivacy();">https://www.cargoportalservices.com/lmsweb/disclaimer.jsp.</a>

</font></td>
      </tr>

0 个答案:

没有答案