On 20 Aug 98, Suzanne wrote:

> This is the only frames page in the
> site. All others are non-frames and should open in a full window.
> 
> What is the proper syntax for the "top" ? Is it target="_top" or
> target="top". My browsers seem to have differing opinions about it.

The correct syntax is "_top", which is one of the reserved words for 
referencing windows within framesets. "top" without the underscore will be 
interpreted by the browser as either a user-selected window name, or as 
a slightly faulty rendering of a reserved name, or possibly both.  Which 
would fry its wee digital brain quick enough, I guess.  On my system (NS 
4.05 Win95) the pages do load in a new window, BTW; Netscape appears 
to be looking for a window named "top", not finding it, and thus loading a 
new window for lack of anything better to do.

Here's the word from Stephen LeHunte's excellent "HTML Reference 
Library":

* * *

Several reserved names have been defined, which start with an 
underscore.     These are currently:

_blank  Always load this link into a new, unnamed window.
_self   Always load this link over yourself.
_parent Always load this link over your parent.  (becomes self if you have 
no parent).
_top    Always load this link at the top level.  (becomes self if you are at 
the top).

NOTE : Although these are reserved names for the NAME attribute of the 
<FRAME> element, they should only be referred to using an Anchor 
Target.  That is, used to target specific windows, allowing smoother 
transition between framed documents and between framed and normal 
documents.

* * *


-----------
Brent Eades, Almonte, Ontario
   E-mail: [EMAIL PROTECTED]
           [EMAIL PROTECTED]
   Town of Almonte site: http://www.almonte.com/
   Business site: http://www.federalweb.com

____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to