- The first thing we should get under our belts is the process of
creating a separate window.
- Really, this is incredibly easy and simply involves an extension to
the <A> tag.
- Specifically, in Navigator 2.0, Netscape rallied behind the TARGET
attribute that would instruct the browser to create a new frame/window
as a separate target for an HTML document.
- Thus, to open up another browser window and display the Scripts
Archive in the last section, we simply used the following code:
<A HREF = "http://www.extropia.com/Scripts"
TARGET = "ResourceWindow">
- So the HREF part should be familiar by now. But what is this
- Well, every window that pops up from your browser is named so that
you can always reference it later. In this case, we have named our
second window "ResourceWindow". The name does not matter, it could be
"GoochySmoochy" if you wanted. All that maters is that you know the
name and that when you wish to modify the contents of that window, you
call it by name with the TARGET attribute.
Previous Page |