openWizard()我不知道这是不是一个系统函数如果不是的话
我想这个openWizard("/wizards/setup/index.shtml","setup");
可能是调用了另外一个定义过的函数,"/wizards/setup/index.shtml","setup"是转递的参数

解决方案 »

  1.   

    <script language="javascript">
    <!--
    function openWizard(wizUrl, wizName) {
      launchWindow = window.open(wizUrl, wizName, 'width=640,height=450,titlebar=1,toolbar=0,location=0,menubar=0,scrollbars=0,resizable=0,channelmode=0,directories=0,status=0');
      return launchWindow;
    }function runSetup() {
      openWizard("/wizards/setup/index.shtml","setup");
    }function runUpgrade() {
      openWizard("/wizards/upgrade/index.shtml","upgrade");
    }//-->
    </script>
      

  2.   

    openWizard不是系统函数是个自定义函数
      

  3.   

    function runSetup() {
      openWizard("/wizards/setup/index.shtml","setup");
    }
    我猜的果然没错--哦~~很明显是调用上面openWizard(wizUrl, wizName)函数function openWizard(wizUrl, wizName) {
      launchWindow = window.open(wizUrl, wizName, 'width=640,height=450,titlebar=1,toolbar=0,location=0,menubar=0,scrollbars=0,resizable=0,channelmode=0,directories=0,status=0');
      return launchWindow;
    }-----
    /wizards/setup/index.shtml是弹出窗口的url
    setup是弹出窗口的名字