Week #7
* Talk about "PROJECT #2"
*Review file management
WWW : History (if there's extra time)
More CSS
Positioning & other fun stuff
* Positioning:
static, relative, absolute & fixed
<iframe src="//player.vimeo.com/video/24715531" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen>
</iframe>
more CSS Stuff: <link href="365.css" rel="stylesheet" type="text/css" /> * using an external style sheet w3schools.com/css/css_boxmodel Margin - Clears an area around the border. The margin does not have a background color, it is completely transparent Border - A border that goes around the padding and content. The border is affected by the background color of the box Padding - Clears an area around the content. The padding is affected by the background color of the box Content - The content of the box, where text and images appear (page layout) htmldog.com/guides/cssadvanced/layout/ LAYERS WITH CSSposition:relative; top:-50; left:5; color:red; font-size:80px; z-index:2;http://www.echoecho.com/csslayers.htm Z-INDEX EXAMPLE Always remember : Just Because You Can Doesn't Mean You Should |
#gal{
width:200px;
background-color:#000;
float:left;
color:white;
text-align:center;
margin-bottom:10px;
}
#gal img{
padding:5px;
}
a img{
opacity: 0.4;
filter: alpha(opacity=40); /* For IE8 and earlier */
}
img:hover {
opacity: 1.0;
filter: alpha(opacity=100); /* For IE8 and earlier */
}
var slideimages = new Array() // create new array to preload images
slideimages[0] = new Image() // create new instance of image object
slideimages[0].src = "1.jpg" // set image src property to image path, preloading image in the process
slideimages[1] = new Image()
slideimages[1].src = "2.jpg"
slideimages[2] = new Image()
slideimages[2].src = "3.jpg"
slideimages[3] = new Image()
slideimages[3].src = "4.jpg"
Homework :
*Keep working on "Project #2"
- have some html pages (& CSS) finished
- finish as much of the site as you can (have an index.html page)
- add video, (or do research on how to add sound)
- try adding a slideshow, or animation
* Bring in hard
copies of site structure and wire frames
Next Week:
- Bring in all your homework & projects on a flash drive, or hard drive.
- Copy them
to a WWW folder
- All work should be uploaded by the end of next week's class
Let's postpone presentations 1 week. So, Week #9 for in-class presentations.