JavaScript Inheritance and Object Programming
Examples (of Class-Based Inheritance) from Using JSWindows: Lesson 5
© 21 May, 2013, Martin Rinehart
This code launches the Lesson 5 window:
Window
—a basic windowSCREEN
—the top window container'win0'
—unique name (will be DOM ID)[100,400, 300,200]
—left,top, width,height8
—border width (other border specs get defaults){textAlign: 'center'}
—style config object{innerHTML: '<p><p>Close Me!'}
—"other" object(properties/values to attach to DOM element)
Feedback: Martin Rinehart at gmail dot com.
# # #