在加载php页面的时候,   怎么跳到多个不同的页面.
 header("Location: index.htm");  //好像只能跳到一个页面.或者有其他方法吗?包括  javascript也行.    只要不被拦截的.

解决方案 »

  1.   

    没明白 楼主意思什么叫跳转多个页面?
    你一个浏览器 能同时开 csdn 和 sina 是这个意思吗?
      

  2.   

    加载html页面的时候,跳到多个不同的页面.“跳到”?,只能是打开新窗口


    <script language="javascript">
    window.open("http://www.a.com/");
    </script>
    ........
    .........
    <script language="javascript">
    window.open("http://www.b.com/");
    </script>
    ................
      

  3.   

    header("Location: index.htm"); 
    可转向的呀,接分,
      

  4.   

    第一种:在Onclick中写,能打开两个标签页或者窗体
     <input   type=button   value= "submit "   onclick= "window.open( 'ddd.html ');window.open( 'cc.html ') "> 第二种:调用自定义函数方法:openWin(a)   里面的变量a为参数列表,只用按照序列输入文件名,或者网页。如 "index.asp ", "show.asp "将打开index.asp和show.asp
    <input   type=button   value= "submit "   onclick= 'openWin( "index.asp ", "show.asp "); '>
    <script   type= "text/javascript ">
    function   openWin(){
      var   argl=arguments.length;
      for(var   i=0;i <argl;i++)
      window.open(arguments[i], " ", " ");
    }</script>