Basic HTML version of Foils prepared 11 March 99

Foil 59 Define a Layer in a Document using <div></div>

From Overview of JavaScript II -- From Cookies to Dynamical HTML CPS616 Technologies of the Information Age -- Spring Semester 99. by Geoffrey C. Fox (Tom Scavo)

First DHTML Example in html and text for Foil 59
<style type="text/css" >
#WWmessage1 {position:absolute; color:black; visibility:visible; left:200; top:450; }
</style>
</head>
<body onload="WW_pageisloaded();" >
<h1>This is Page for CPS616 DHTML</h1>
.... See page addon for full material (a form to specify layer properties) .....
<div id="WWmessage1" >
This is a Moving Block of Text<br>
Input (left,top etc.) and see!
</div>
Style
Good Practice for all processing which requires that page elements be fully defined
}
A movable layer



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Mar 11 1999