可能我没说清楚我的问题。我是说那个applet不仅仅能控制自己所在页的那个IE,还能控制其他的IE。举个例子吧,它控制自己所在页的那个IE Open 一个新的页面 showDocument(url,"_blank") ,而后它还能同时控制这个两个IE。这个是怎么做到的?我知道showDocument(url,name)中的name可以是window的name,但这个name怎么得到?不会是title吧?
The name argument can have the values listed below. "_blank" Display the document in a new, nameless window. "windowName" Display the document in a window named windowName. This window is created if necessary. "_self" Display the document in the window and frame that contain the applet. "_parent" Display the document in the applet's window but in the parent frame of the applet's frame. If the applet frame has no parent frame, this acts the same as "_self". "_top" Display the document in the applet's window but in the top-level frame. If the applet's frame is the top-level frame, this acts the same as "_self".
showDocument(url,"_blank") ,而后它还能同时控制这个两个IE。这个是怎么做到的?我知道showDocument(url,name)中的name可以是window的name,但这个name怎么得到?不会是title吧?
"_blank"
Display the document in a new, nameless window.
"windowName"
Display the document in a window named windowName. This window is created if necessary.
"_self"
Display the document in the window and frame that contain the applet.
"_parent"
Display the document in the applet's window but in the parent frame of the applet's frame. If the applet frame has no parent frame, this acts the same as "_self".
"_top"
Display the document in the applet's window but in the top-level frame. If the applet's frame is the top-level frame, this acts the same as "_self".