hge.js
上传用户:jnfxsk
上传日期:2022-06-16
资源大小:3675k
文件大小:1k
源码类别:

游戏引擎

开发平台:

Visual C++

  1. if (window==top) top.location.replace("../index.html?"+window.location.href.substring(window.location.href.lastIndexOf('/')+1));
  2. function setContents(filename) {
  3.  if(top.frames["cont"]) {
  4. if(top.cont.location.href.indexOf(filename) == -1)
  5. top.cont.location.replace(filename);
  6.  }
  7. }
  8. function switchContents(filename1, filename2) {
  9.  if(top.frames["cont"]) {
  10. if(top.cont.location.href.indexOf(filename2) == -1)
  11. { top.cont.location.replace(filename2); }
  12. else
  13. { top.cont.location.replace(filename1); }
  14.  }
  15. }