The CSS JavaScript Layout Examples Package contains examples of how to create user interfaces using cascading stylesheet selectors. Examples include a flow layout, a horizontal layout, a vertical layout, and an absolute position layout.
The CSS JavaScript Layout Examples Package was developed using the Easy Java/JavaScript Simulations (EjsS) version 5. Although EjsS is a Java program, it can create stand alone JavaScript programs that run in almost any PC or tablet.
Panel and Window Property Tricks
A simple example that shows how to change a panel size and read screen and window properties. Note that the scale function is called after the size is changed in the changeSize() function. download 181kb .zip
Last Modified: January 24, 2015
previous versions
CSS JS Layout Examples Source Code
The source code zip archive contains an XML representation of the CSS JS Layout Examples Package. Unzip this archive in your EjsS workspace to compile and run these JavaScript model using EjsS version 5 or above. download 104kb .zip
Last Modified: November 8, 2016
previous versions
%0 Computer Program %A Christian, Wolfgang %D 2014 %T CSS JS Layout Examples Package %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13363&DocID=3935
Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.