1 | <HTML>
|
---|
2 | <!-- This file is part of the HTML Reference Library ('HTMLib') -->
|
---|
3 | <!-- It should not be used outside of the HTMLib package -->
|
---|
4 | <!-- The HTMLib is © 1995-1998 Stephen Le Hunte -->
|
---|
5 | <!-- htmlib@htmlib.demon.co.uk -->
|
---|
6 | <HEAD>
|
---|
7 | <LINK REL="stylesheet" HREF="../style.css" TYPE="text/css">
|
---|
8 | <TITLE><INS></TITLE>
|
---|
9 | </HEAD>
|
---|
10 | <BODY TOPMARGIN="0" BGCOLOR="#FFFFE0" TEXT="#000000">
|
---|
11 |
|
---|
12 | <CENTER>
|
---|
13 | <SPAN CLASS="NSRtitle"><INS...></SPAN>
|
---|
14 | </CENTER>
|
---|
15 |
|
---|
16 |
|
---|
17 | <P>The <CODE><INS></CODE> element specifies that the enclosed text has been inserted, since the document was originally written. Along with <CODE><A HREF="del.htm" TITLE="View the <DEL> topic"><DEL></A></CODE>, it is one of the HTML 4.0 elements used to mark document revisions and is currently only supported by <STRONG>Internet Explorer</STRONG> 4.0. Typically it renders underlined, but any style can be used with the <CODE><INS></CODE> element. For example:
|
---|
18 |
|
---|
19 | <SPAN CLASS="egcode">
|
---|
20 | <BLOCKQUOTE>
|
---|
21 | <CODE><INS CITE="http://yourcomp.com/procs/sales1.proc" DATETIME="1997-06-01T17:53:12+0:00">New procedure information...<BR>
|
---|
22 | </INS>
|
---|
23 | </CODE>
|
---|
24 | </BLOCKQUOTE>
|
---|
25 | </SPAN>
|
---|
26 |
|
---|
27 | <P>would be rendered as:
|
---|
28 |
|
---|
29 | <P><BLOCKQUOTE><INS CITE="http://yourcomp.com/procs/sales1.proc" DATETIME="1997-06-01T17:53:12+0:00">New procedure information...
|
---|
30 | </INS>
|
---|
31 | </BLOCKQUOTE>
|
---|
32 |
|
---|
33 | <P><CODE><INS></CODE> supports the following attributes:
|
---|
34 |
|
---|
35 | <P><A NAME="CITE"><SPAN CLASS="attr">CITE</SPAN></A>="citation"<BR>
|
---|
36 | The <CODE>CITE</CODE> attribute should contain a URL, defining a document that specifies the details of the newly inserted text. For example, an author who inserts some text in a document, based on a new company procedure for example, could use the <CODE>CITE</CODE> attribute to specify the URL of a document that defines the new procedure.
|
---|
37 |
|
---|
38 | <P><A NAME="DATETIME"><SPAN CLASS="attr">DATETIME</SPAN></A>="Date/time of insertion"<BR>
|
---|
39 | The <CODE>DATETIME</CODE> attribute can be used to specify the date and time that the insertion was made. The <CODE>DATETIME</CODE> attribute value is of a specific format, being YYYY-MM-DDThh:mm:ssTZD to specify the year, month, date, hours (using 24-hour clock notation), minutes, seconds and a Time Zone identifier. For example, in the above example, the <CODE>DATETIME</CODE> attribute is set to <CODE>1997-06-01T17:53:12+0.00</CODE>, which would mark the new procedure information as being inserted as 5.53:12pm on the 6<SUP>th</SUP> January 1997, Greenwich Mean Time, also referencing the source of the new procedure information.
|
---|
40 |
|
---|
41 | <P><A NAME="TITLE"><SPAN CLASS="attr">TITLE</SPAN></A>="informational ToolTip"<BR>
|
---|
42 | The <STRONG>Internet Explorer</STRONG> 4.0 (and above) specific <CODE>TITLE</CODE> attribute is used for informational purposes. If present, the value of the <CODE>TITLE</CODE> attribute is presented as a ToolTip when the users mouse hovers over the <CODE><INS></CODE> section.
|
---|
43 |
|
---|
44 | <P><A NAME="LANG"><SPAN CLASS="attr">LANG</SPAN></A>="language setting"<BR>
|
---|
45 | The <CODE>LANG</CODE> attribute can be used to specify what language the <CODE><INS></CODE> element is using. It accepts any valid ISO standard language abbreviation (for example <CODE>"en"</CODE> for English, <CODE>"de"</CODE> for German etc.) For more details, see the <A HREF="../Document_Localisation/ov.htm" TITLE="View the HTML localisation topic">Document Localisation</A> section for more details.
|
---|
46 |
|
---|
47 | <P><A NAME="LANGUAGE"><SPAN CLASS="attr">LANGUAGE</SPAN></A>="Scripting language"<BR>
|
---|
48 | The <CODE>LANGUAGE</CODE> attribute can be used to expressly specify which scripting language <STRONG>Internet Explorer</STRONG> 4.0 uses to interpret any scripting information used in the <CODE><INS></CODE> element. It can accept values of <CODE>vbscript</CODE>, <CODE>vbs</CODE>, <CODE>javascript</CODE> or <CODE>jscript</CODE>. The first two specify the scripting language as Visual Basic Script, the latter two specify it as using Javascript (the default scripting language used if no <CODE>LANGUAGE</CODE> attribute is set.
|
---|
49 |
|
---|
50 | <P><A NAME="CLASS"><SPAN CLASS="attr">CLASS</SPAN></A>="Style Sheet class name"<BR>
|
---|
51 | The <CODE>CLASS</CODE> attribute is used to specify the <CODE><INS></CODE> element as using a particular style sheet class. See the <A HREF="../Style_Sheets/ov.htm" TITLE="View the Style Sheets overview">Style Sheets</A> topic for details.
|
---|
52 |
|
---|
53 | <P><A NAME="STYLE"><SPAN CLASS="attr">STYLE</SPAN></A>="In line style setting"<BR>
|
---|
54 | As well as using previously defined style sheet settings, the <CODE><INS></CODE> element can have in-line stylings attached to it. See the <A HREF="../Style_Sheets/ov.htm" TITLE="View the Style Sheets overview">Style Sheets</A> topic for details.
|
---|
55 |
|
---|
56 | <P><A NAME="ID"><SPAN CLASS="attr">ID</SPAN></A>="Unique element identifier"<BR>
|
---|
57 | The <CODE>ID</CODE> attribute can be used to either reference a unique style sheet identifier, or to provide a unique name for the <CODE><INS></CODE> element for scripting purposes. Any <CODE><INS></CODE> element with an <CODE>ID</CODE> attribute can be directly manipulated in script by referencing its <CODE>ID</CODE> attribute, rather than working through the <A HREF="../Scripting_Reference/allcol.htm" TITLE="View the All collection topic">All collection</A> to determine the element. See the <A HREF="../Scripting_Reference/ov.htm" TITLE="View the Scripting Introduction topic">Scripting introduction</A> topic for more information.
|
---|
58 |
|
---|
59 | <P><HR WIDTH="75%" ALIGN="center">
|
---|
60 |
|
---|
61 | <P>Every <CODE><INS></CODE> element in a document is an object that can be manipulated through scripting. Note that scripting of the <CODE><INS></CODE> element/object is only supported by <STRONG>Internet Explorer</STRONG> 4.0 in its <A HREF="../Dynamic_HTML/dhtml.htm" TITLE="View the Dynamic HTML Overview">Dynamic HTML</A> object model as <STRONG>Netscape</STRONG> doesn't support the <CODE><INS></CODE> element.
|
---|
62 |
|
---|
63 | <P><A NAME="INS_Properties" TITLE=""><STRONG><CODE><INS...></CODE> Properties</STRONG></A><BR>
|
---|
64 | The <CODE><INS...></CODE> element/object supports <EM>all</EM> of the standard <A HREF="../Dynamic_HTML/dhtml.htm" TITLE="View the Dynamic HTML overview topic">Dynamic HTML</A> properties (i.e. <SPAN CLASS="attr">className</SPAN>, <SPAN CLASS="attr">document</SPAN>, <SPAN CLASS="attr">id</SPAN>, <SPAN CLASS="attr">innerHTML</SPAN>, <SPAN CLASS="attr">innerText</SPAN>, <SPAN CLASS="attr">isTextEdit</SPAN>, <SPAN CLASS="attr">lang</SPAN>, <SPAN CLASS="attr">language</SPAN>, <SPAN CLASS="attr">offsetHeight</SPAN>, <SPAN CLASS="attr">offsetLeft</SPAN>, <SPAN CLASS="attr">offsetParent</SPAN>, <SPAN CLASS="attr">offsetTop</SPAN>, <SPAN CLASS="attr">offsetWidth</SPAN>, <SPAN CLASS="attr">outerHTML</SPAN>, <SPAN CLASS="attr">outerText</SPAN>, <SPAN CLASS="attr">parentElement</SPAN>, <SPAN CLASS="attr">parentTextEdit</SPAN>, <SPAN CLASS="attr">sourceIndex</SPAN>, <SPAN CLASS="attr">style</SPAN>, <SPAN CLASS="attr">tagName</SPAN> and <SPAN CLASS="attr">title</SPAN>). Details of these can be found in the <A HREF="../Dynamic_HTML/dhtmlp.htm" TITLE="View the standard Dynamic HTML Properties topic">standard Dynamic HTML properties</A> topics. Additionally, the <CODE><INS></CODE> element supports the <SPAN CLASS="attr">cite</SPAN> and <SPAN CLASS="attr">datetime</SPAN> properties, which directly reflect the <CODE>CITE</CODE> and <CODE>DATETIME</CODE> attribute values.
|
---|
65 |
|
---|
66 | <P><A NAME="INS_Methods" TITLE=""><STRONG><CODE><INS...></CODE> Methods</STRONG></A><BR>
|
---|
67 | The <CODE><INS...></CODE> element/object supports <EM>all</EM> of the standard <A HREF="../Dynamic_HTML/dhtml.htm" TITLE="View the Dynamic HTML overview topic">Dynamic HTML</A> methods (i.e. <SPAN CLASS="attr">click</SPAN>, <SPAN CLASS="attr">contains</SPAN>, <SPAN CLASS="attr">getAttribute</SPAN>, <SPAN CLASS="attr">insertAdjacentHTML</SPAN>, <SPAN CLASS="attr">insertAdjacentText</SPAN>, <SPAN CLASS="attr">removeAttribute</SPAN>, <SPAN CLASS="attr">scrollIntoView</SPAN> and <SPAN CLASS="attr">setAttribute</SPAN>). Details of these can be found in the <A HREF="../Dynamic_HTML/dhtmlm.htm" TITLE="View the standard Dynamic HTML Methods topic">standard Dynamic HTML Methods</A> topics.
|
---|
68 |
|
---|
69 | <P><A NAME="INS_Events" TITLE=""><STRONG><CODE><INS...></CODE> Events</STRONG></A><BR>
|
---|
70 | The <CODE><INS...></CODE> element/object supports <EM>all</EM> of the standard <A HREF="../Dynamic_HTML/dhtml.htm" TITLE="View the Dynamic HTML overview topic">Dynamic HTML</A> events (i.e. <SPAN CLASS="attr">onclick</SPAN>, <SPAN CLASS="attr">ondblclick</SPAN>, <SPAN CLASS="attr">ondragstart</SPAN>, <SPAN CLASS="attr">onfilterchange</SPAN>, <SPAN CLASS="attr">onhelp</SPAN>, <SPAN CLASS="attr">onkeydown</SPAN>, <SPAN CLASS="attr">onkeypress</SPAN>, <SPAN CLASS="attr">onkeyup</SPAN>, <SPAN CLASS="attr">onmousedown</SPAN>, <SPAN CLASS="attr">onmousemove</SPAN>, <SPAN CLASS="attr">onmouseout</SPAN>, <SPAN CLASS="attr">onmouseover</SPAN>, <SPAN CLASS="attr">onmouseup</SPAN> and <SPAN CLASS="attr">onselectstart</SPAN>). Details of these can be found in the <A HREF="../Dynamic_HTML/dhtmle.htm" TITLE="View the standard Dynamic HTML Events topic">standard Dynamic HTML events</A> topics.
|
---|
71 |
|
---|
72 |
|
---|
73 | <P>
|
---|
74 |
|
---|
75 | <P ALIGN="right" CLASS="copyright">© 1995-1998, Stephen Le Hunte</P>
|
---|
76 | </BODY>
|
---|
77 | </HTML>
|
---|