我的history.js代码的iframe浏览器后退按钮问题

时间:2013-06-26 14:15:22

标签: history.js

下面是我的代码在我的页面中完美运行但是当我在iframe中调用同一页面时它无法正常工作

    function History.back() { alert('browser Back Clicked!'); History.forward(); };

(function(window, undefined) {
var State = History.getState();
History.replaceState({ state: 4 }, State.title, "?state=4");

})(window);

0 个答案:

没有答案
相关问题