Edited at 2006/07/23 12:25:57 PDT
GENERAL ANNOUNCEMENT: I got on Lloyd's case and he went and registered a text alias for the IP you guys have been using. So from now on, in addition to using the numbers, you can use "atdpcube.berkeley.edu" to access your class sites. So, for example, my FTP username is "kass", so the address would be http://atdpcube.berkeley.edu/~kass.
(the address isn't actually working now, but should start working around 3:00 AM tomorrow.)
You do NOT have to go back and change all your previous addresses. (i'm not that cruel.) But I highly recommend that you start using this address from here on out, ESPECIALLY for your personal website projects. A large number of you are doing topics that require using pictures or material that are the property of large, rich and fiercely overprotective corporations. By using the text address, it will be clear that your personal website projects are the product of an educational venture, so that you will not be sued for whatever you're using.
Of course, it is still important that you give credit where credit is due. :P So if you use a lot of material from specific sites, have a sources page, please.
|
8:30-8:45 / 1:00-1:15 |
Wake up |
|
8:45-9:15 / 1:15-1:45 |
Javascript lecture |
|
9:15-10:00 / 1:45-2:30 |
Project proposal discussion and approval / work time |
|
10:00-10:30 / 2:30-3:00 |
Break |
|
10:30-11:15 / 3:00-3:45 |
Group project grades / Personal project work time |
|
11:15-11:40 / 3:45-4:10 |
Journal / Class log |
|
11:40-12:00 / 4:10-4:30 |
Free Time |
Javascript lecture
-
The difference between Javascript and Java
-
Where to put Javascript
-
<script type="text/javascript"> document.write("Hello World!"); </script> -
"script" tags contain the javascript
-
Can also link to an external javascript file, like so:
<script type="text/javascript" src="site.js"></script>
-
-
What is a function ... f(x)
-
What is a variable ... x
-
document.write( blah blah blah );
-
Proper syntax: curly braces, semi-colons, case sensitive!, etc.
-
Calling the function in your HTML ... javascript:functionName(parameters)
-
Popular uses of Javascript
-
Text menu toggles
<script type="text/javascript"> function toggle(idName) { varName = document.getElementById(idName); if (varName.style.display != 'block') { varName.style.display = 'block'; } else { varName.style.display = 'none'; } } </script> <p><a href="javascript:toggle('div1')">Show div1</a> <a href="javascript:toggle('div2')">Show div1</a></p> <div id="div1"> <p>this is a link</p> <p>this is a link</p> <p>this is a link</p> </div> <div id="div2"> <p>this is another link</p> <p>this is another link</p> <p>this is another link</p> </div> -
Image rollovers
<script type="text/javascript"> if (document.images) { imgOn = new Image(); imgOn.src = "image_when_on.gif"; imgOff = new Image(); imgOff.src= "image_when_off.gif"; } function handleOver() { if (document.images) document.imgName.src = imgOn.src; } function handleOut() { if (document.images) document.imgName.src = imgOff.src; } </script> <a onmouseover="handleOver();" onmouseout="handleOut();" /> <img src="image_when_off.gif" name="imgName" alt="image" /> </a> -
Image rollovers for more than one set of images: http://virtualatdp.berkeley.edu:8081/tic/forums/tech/21
Journal Questions
What is your handle (screen name) for most sites/IMing/E-mail? Does this internet persona differ much from you in real life? In other words, are you overall the same person online as you are in real life? I know lots of people who are a lot more outgoing and crazy online than they are in real life, and sometimes the case can be the opposite. If this is the case for you, why do you think these differences occur for you? I highly doubt anyone in the class is exactly the same online as offline, so don't you use that answer as a cop out from answering more questions. Are you more creative in one world than the other? What is it about the internet or real life that changes the way you express yourself or your ideas?
Homework
Continue working on your individual websites. You probably won't have any time to work on your site on Friday, so Monday will be the last in class time to work on them.