Loading...
Flash中HTML全屏窗口调用方法
弈龙网络 www.hlzi.com 2007-9-11
    下面代码放到html里

<SCRIPT LANGUAGE="javascript">
function openwinfull_greenteadesign()
{
 var Pop;
            if (self.screen) {
            sw = screen.width;
            sh = screen.height;
   w = sw - 10; // to center: use desired width
   h = sh - 70; // to center: use desired height
   cx = 0;  // to center: (.5*sw) - (w*.5)
   cy = 0; // to center: (.5*sh) - (h*.5)

      var  dimentions_and_such = 'width='+w+','+'height='+h+',' + 'screenX=' +cx+','+'screenY='+cy+','+'left='+cx+','+'top='+cy+',toolbar=0,status=1,menubar=0,scrollbars=0,resizable=0';
          var  dimentions_and_such1 = 'width='+w+','+'height='+h+',' + 'screenX=' +cx+','+'screenY='+cy+','+'left='+cx+','+'top='+cy+',toolbar=0,status=0,fullscreen=1,menubar=0,scrollbars=0,resizable=0';

  if (screen.width <900)
  {
   Pop=window.open("show.html","","toolbar=0,location=0,fullscreen=1,directories=0,status=0,menubar=0,scrollbars=0,resizable=0");  
 
  }
  else
  {
   
   Pop=window.open("show.html","",dimentions_and_such1);  
  }
 } 

}

</SCRIPT>

  。。。。。。。。。。。。。。。。。

  flash按钮上用的链接地址

getURL("javascript :openwinfull_greenteadesign()");
Loading...
责任编辑:admin本文仅代表作者观点,与弈龙网络立场无关。
收藏】 【推荐】 【投稿】 【 】 【打印】 【关闭
Loading...
Loading...