okham
10-28-2003, 09:22 PM
Howdy, folx... how does one name a window when a source file is opened so it can be referred to in a later target?
okham
okham
|
Click to See Complete Forum and Search --> : naming a window okham 10-28-2003, 09:22 PM Howdy, folx... how does one name a window when a source file is opened so it can be referred to in a later target? okham Charles 10-28-2003, 09:42 PM Windows, like cats, have two names. In this case though, there's a JavaScript and an HTML name. The JavaScript name is returned by the "window.open()" method and the HTML name is passed to the same method as the second argument. <a href="http://www.w3.org/" onclick="window.open(this.href, 'aelfred'); return false">W3C</a> <a href="http://xml.apache.org/" target="aelfred">XML</a> okham 10-28-2003, 10:40 PM ...I can see that as far as an anchor goes, Charles... but does that apply to referencing a file when it's first opened, say, the index.htm? I toy with what you told me, and let you know what I find out... thanks okh webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |