See "About This JavaScript Site" in JavaScript Index and Introduction.
Code will be added and removed from time to time; do not assume that anything will remain here. Code here is at best liable to be under-tested and at worst may be totally wrong. Good bits are likely to be put into Date and Time Introduction ff. or JavaScript General or JavaScript Maths or JavaScript Alarm. See notes at JavaScript Date and Time Introduction.
Font Size
My Default Font
normal normal medium Times New Roman
Generics
Families
Font
E.G. bold italic small Papyrus ; normal normal medium Helvetica
I now use function Wryt for this, previously it demonstrated function DynWrite from my file include1.js, much as was found in the news:comp.lang.javascript FAQ.
Redirection Test - what should this do?.
Work on-line only :-
I now put almost all code into functions, which are displayed by using the toString() method as illustrated in Index and Introduction.
Code generally used can be seen in Include Functions.
To get more accurate results, copy the code and increase Loops.
var buf = []
for (...long loop...) { // ...
buf.push("string to append") }
... buf.join("")
Using an object? :-
function SB() { this.buf = [] }
SB.prototype.Ap =
function Ap(string) { this.buf.push(string)
return this }
SB.prototype.toString =
function toString() { return this.buf.join("") }
Str = new SB().Ap("hello ").Ap("world")
For IE4, .push must be added or emulated.
Now in Output Formatting.
Insert slashes as characters are typed, as required for YYYY/MM/DD.
N.B. Incompatible with convenient editing.