css, html, interaction, the base of web documents
Mary presented a lot of css and html examples, showing how these
elements work so you can integrate them into your WONDERFUL AND HAPPY
final class projects. Yes, there was discussion of those, too!
Links
Class Downloads
- week9-html-files.zip
-- all the html/javascript files we created in class (covered below).
Mary wrote a pretty good set of notes for her lecture. I've included part
of them here:
for you to access.
Here are the html files shown in class:
- input-css-demo1.html
-- basic mouse/button interaction (with lots of good comments by Mary!)
- input-css-demo2.html
-- display a css-created 'div' area with mouse in/out functions
- input-css-demo3.html
-- add a second css-created 'div' area showing mouse coordinates
and keyboard input. Note that the two different coordinates
("cientX/Y" and "pageX/Y") measure differently -- the y-coordinate
will change depending on if the page is scrolled or not
- input-css-demo4.html
-- add a third css-created 'div' area with 'draggability'
- input-css-demo5.html
-- more <input ...> types (like the "button" we started with)
[scroll down on the page to see them all]
- input-css-demo6.html
-- change the font using css
- input-css-demo6.html
-- change the font using css
- input-css-demo7.html
-- change the font and the button using css
use your "view source" browser capability to see the code of these
examples, or check them in the downloadable archive above