focus Method--------------------------------------------------------------------------------Causes a control to receive the focus, and executes the code specified by the onfocus event. Syntaxobject.focus()
Return ValueNo return value.ResThis method fires the onfocus event.As of Microsoft?Internet Explorer 5, elements that expose the focus method must have the TABINDEX attribute set.Elements cannot receive focus until the document finishes loading.

解决方案 »

  1.   

    很简单
    比如你打开openner.html时候有3个弹出的页面(1.html,2.html,3.html),而你要将3.html放在最前面;那么你就依次在openner.html,1.html,2.html中的<body>标签重写:
    openner.html里:
    *************
    <body onload=widow.open("1.html","","fullscreen=2")>1.html 里
    ***********
    <body onload=widow.open("2.html","","fullscreen=2")>2.html里
    ***********
    <body onload=widow.open("3.html","","fullscreen=2")>
    这样,3.html一定是在最前面了!