A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
T1 digital carrier to xmit a DS-1 formatted signal at 1.544 Mb/s.
T3 digital carrier to xmit a DS-3 formatted signal at 44.746 Mb/s.
TABLE - one of the main HTML tags.
Sub-elements are TR for each row, and TD.
The rows are numbered from 0 across the whole table. The attribute sectionRowIndex is the index within the THEAD
or TBODY sections of the table, if it is so divided [or it should be; in IE3.5 it seems stuck at 0 for XML generated rows].
The data from individual table cells in the current row can be accessed using TableId.rows[...].cells[...].innerText,
and in the TR tag this can be shortened to cells[...].
- note that the innerText of a SELECT element tends to be just a concatenated list of the OPTIONs text.
Can be loaded from an XML file (see datasrc and datafld).
- If multiple rows are loaded due to repeated elements in the XML file, then the row position within the table can be
obtained from the rowIndex attribute. This is only available in the TR tag, but can be made available
elsewhere for most purposes by e.g.
<SCRIPT> var thisRow; </SCRIPT>
<TR onmouseover="thisRow = rowIndex;">
(- the TR events onmouseover, onclick etc are fired by the appropriate mouse activity in any of
the TD elements in the row.)
- unfortunately the above does not allow for navigating by pressing the tab key. The TR tag must be extended to:
(most of the other TR methods mentioned in the specs seem not to work (with IE v5.5)).
The onselectstart event also fires for the TD tag, but for the first element the TD event seems to come
before the TR event, which is no good. However the onclick event also works with TD (again, most of the
others in the spec do not), and the following seems sufficient:
<TD onclick="rowSelected=rowMouse;">
<INPUT ... onchange="someUpdateFn( Table.rows[rowSelected].cells[0].innerText, value );">
where the left hand column numbers the rows. Note that rows[0] is usually a heading;
or more simply:
<TR onmouseover="rowMouse=rowIndex;" onselectstart="rowSelected=rowIndex;">
<TD onclick="rowSelected=rowMouse;">
<INPUT ... onchange="someUpdateFn( rowSelected, value );">
N.B. Tabbing to a button and pressing Return also fires the onclick event, so the above method fails.
If there is only the button to worry about, try:
<SCRIPT> var rowSelected;</SCRIPT>
<TR onmouseover="rowSelected=rowIndex;" onselectstart="rowSelected=rowIndex;">
<TD onclick="actionButton( rowSelected );">
N.B. Beware of using sectionRowIndex - see above.
To access, say, an INPUT value that is in an XML generated table, use the firstChild and nextSibling methods. e.g.
tableAbc.rows[ i ].firstChild.nextSibling.firstChild.value
or
tableAbc.rows[ i ].cells[ 1 ].firstChild.value
to get to <TR><TD>Name: </TD><TD><INPUT id="idName" datafld="Name">
Alternatively, scan the tree for the id - e.g.
grandchildWithId( tableAbc.rows[ i ], "idName" ).value
using
function grandchildWithId( oMe, sId ){
var c = oMe.firstChild;
while( c != null ){
var g = c.firstChild;
while( g != null )
if( g.id == sId )
return g;
else
g = g.nextSibling;
c = c.nextSibling;
}
return null;
}
To display part of the table at a time, set tableAbc.dataPageSize to an appropriate number of rows.
To navigate, use the methods tableAbc.firstPage() .nextPage() .previousPage() .lastPage().
N.B. Use COLGROUP and COL tags to define table columns. e.g.
<TABLE>
<COLGROUP style="font-weight:bold">
<COL style="width:60px; color:red">
<COL style="width:70px; color: green">
</COLGROUP>
<COL span="3" style="width:40px;">
<TR><TD> Red, bold, 60px </TD>
<TD> Green, bold, 70px </TD>
<TD> 40px </TD>
<TD> 40px </TD>
<TD> 40px </TD>
</TR></TABLE>
| Red, bold, 60px |
Green, bold, 70px |
40px |
40px |
40px |
Tables can be generated using insertRow() and insertCell(),
or by using the DOM functions createElement() and appendChild()
- see
MSDN: How to Build Tables Dynamically.
- DOM uses huge amounts of memory unless delete each element before next createElement().
- Note that this seems to occur for innerHTML settings that create nodes (as all of them will),
and with this construction it is not possible to delete the element afterwards.
See print table with repeated header on each page.
Also see
TABLE Element | table Object - good list of attributes and methods. Scroll down for links to other tags.
How to Build Tables Dynamically
Cascading Style Sheets, level 2: CSS2 Specification: 17 Tables
- many diagrams.
MSDN: table-layout Attribute | tableLayout Property.
Speed Up Those Tables.
Tag is an HTML or XML keyword which starts an
element, or may also be used for all the text within the angle brackets containing the keyword.
e.g. H1.
TAP Telocator Alphanumeric Input Protocol - an SMS protocol
TAP was formerly known as the Motorola Page Entry (PET) as well as the IXO alphanumeric entry protocol until it was adopted by Telocator in September 1988 as an industry standard for the input of paging requests. Telocator is known as the Personal Communications Industry Association - PCIA, and the protocol is now referred to as the Telocator Alphanumeric Protocol (TAP).
TAPI Telephony API - Microsoft: talk by phone to PC.
TAU Token Ring Access Unit
Tcl/Tk Tool Command Language / Tool Kit. A scripting language.
Tk is a "graphical user interface" toolkit.
Tcl is pronounced "tickle".
See:
Tcl/Tk Resources on the Web
Sun - tcl syntax
Tcl/Tk keywords
Tcl Developer Xchange - tcl (tclsh) and tk (wish) syntax
Tcl for Web Nerds
How To.. Compile, Extend etc
How To get Tcl/Tk
Tcl/Tk Cookbook
Tcl/Tk Resources
Scriptics Tcl Resource Centre
Scriptics Tcl/Tk
Scriptics Tcl primer
Tcl ftp
visual-tcl 1.10-0.2 - a freeware Tcl development platform (but .deb).
IE3/4 & Navigator Tcl Plug-in 2.0 Download
Graphical Applications with Tcl
Links2Go Tcl links
Tcl/Tk on Windows Frequently-Asked Questions.
TCP Transmission Control Protocol - OSI level 4. End-to-end, reliable.
Also see UDP.
TCP/IP Transmission Control Protocol over Internet Protocol
TDC (Microsoft) Tabular Data Control (also known as Text Data Control). A DSO.
Gets data from a text file which must be in a delimited format. Supplied with IE5.
TDI EDI: ??? (eg Tradacoms, Brokernet).
TDM Time Division Multiplexor (or Multiplexing)
TELNET Teletype Network Protocol
Template
a) HTML code before it is rendered.
b) C++ construction similar to macros (#define ...) but with a bit more clout.
Almost always used by stuffing template <class T> in front of a class or function definition,
and sprinkling the definition with Ts. The replacement for T is some class name. There may be more
than one such class (e.g. template <class T1, T2>).
The classic example is:
template <class T> T min( T a, T b ){ return ( a < b )? a : b; }
and the necessary functions are automatically generated depending on the types of parameters that are used in subsequent
calls to the min function.
This could have been done by e.g.
#define min( a, b ) ( (a) < (b) )? (a) : (b);
but this obviously gets more clumsy for larger examples.
The replacement for T may be specified explicitly by putting it in angle brackets after the class or function
name, when this is used subsequent to the definition. e.g.
template <class T> class Cabc { . . . }
. . . Cabc <Cxyz> . . .
TFT Thin Film Transistor - active colour matrix portable screens
- transistor per pixel - quality colour, but uses more power.
TFTP Trivial File Transfer Protocol - cut down FTP for autodownload.
No user authentication or directory visibility. Uses UDP rather than TCP.
See RFC 1350.
THEnet The Texas Higher Education Network
TLA Three Letter Acronym - like this.
TCM Trellis Code Modulation - combines coding and modulation in one.
TRUMPET Winsock compatible Windows dial-up program, based on SLIP.
Token Ring Token Ring A type of LAN. Examples are IEEE 802.5, ProNET-10/80 and FDDI.
The term "token ring" is often used to denote 802.5.
TSAPI Telephony Services API - Novell link private phone net & LAN.
TSR DOS: Terminate and Stay Resident (a program that does this).
TSS Task State Segment - register save area etc for each task
TTL Transistor-Transistor Logic
TUPLE column (of a table)
TWAIN Scanner standard - used by many Windows graphics & DTP progs
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z