【问题标题】:popup html page is not opening in crossrider弹出 html 页面未在 crossrider 中打开
【发布时间】:2013-08-05 19:32:59
【问题描述】:

我正在使用 crossrider 创建一个 IE 扩展。在这个扩展中,我想通过单击浏览器操作中的图标来打开一个 html 页面作为弹出窗口。当我单击该图标时,没有弹出 html 页面。

background.js

appAPI.ready(function($) 
{
  appAPI.browserAction.setResourceIcon('icon128.png');
  appAPI.browserAction.setTitle('Tax2290 Extension');
  appAPI.browserAction.setPopup({resourcePath:'index.html'});
});

extension.js

appAPI.ready(function($) {
// Includes remote JS file into extension.js scope
 // Injects remote JS file into HTML page
 appAPI.dom.addRemoteJS('images/feed.js');
// Injects remote CSS file into HTML page
 appAPI.dom.addRemoteCSS('images/style.css');

});

请帮忙。

【问题讨论】:

    标签: jquery internet-explorer plugins javascript-framework crossrider


    【解决方案1】:

    请看我对重复的thread的回复

    [免责声明:我是 Crossrider 的员工]

    【讨论】:

      猜你喜欢
      • 2016-07-14
      • 2015-10-03
      • 1970-01-01
      • 2016-08-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-09
      • 2014-04-23
      相关资源
      最近更新 更多