laoa 发表于 2009-6-2 10:14:29

建议,firefox浏览PA问题

0905,原版的top.htm,在firefox总是不能控制页面跳转。。

我改了下,希望接下来的版本里不会再对IE有依赖。function openurl2(newid, url1, url2)
{
      if(document.all)
      {
                document.all(currentid).className = "";
                document.all(newid).className = "current";
                window.parent.document.all('menu').src=url1;
                window.parent.document.all('content').src=url2;
      }
      else
      {
                document.getElementById(currentid).className="";
                document.getElementById(newid).className="current";
                window.parent.document.getElementById('menu').src=url1;
                window.parent.document.getElementById('content').src=url2;
      }
      currentid=newid;
}

panabit 发表于 2009-6-2 10:34:46

原帖由 laoa 于 2009-6-2 10:14 发表 http://www.panabit.com/forum/images/common/back.gif
0905,原版的top.htm,在firefox总是不能控制页面跳转。。

我改了下,希望接下来的版本里不会再对IE有依赖。function openurl2(newid, url1, url2)
{
      if(document.all)
      {
                do ...


Very Good!!!

laoa 发表于 2009-6-2 11:34:13

对不起,忘记说,为了兼容,还必须把index.htm改一下。。

加两个ID就行。。<FRAME title=menu name=menu id="menu" src="/cgi-bin/Monitor/menu" noResize>
<FRAME title=content name=content id="content" src="/cgi-bin/Monitor/group_stat" noResize>

panabit 发表于 2009-6-2 11:35:44

原帖由 laoa 于 2009-6-2 11:34 发表 http://www.panabit.com/forum/images/common/back.gif
对不起,忘记说,为了兼容,还必须把index.htm改一下。。

加两个ID就行。。


呵呵,谢谢!

frog1984 发表于 2009-6-2 16:23:51

那老大什么时候换一下啊??

microsoftwxj 发表于 2009-6-2 17:22:48

期待在下个版本上会看到这个。。。。
页: [1]
查看完整版本: 建议,firefox浏览PA问题