JavaScript
4-27-06

  • Continue to try out javascript code on your javascript.html page.
  • Copy the address of the place you find good code and comment it into your html code. The html code for comments is: <!--- this is a comment -->
  • Copy the list of questions below and answer them this period.
  • Print your response on one piece of paper, check the print preview button in the file menu, you may need to print multiple pages per sheet, check the advanced properties in the print box.
  1. What javascript techniques do you recognize from your own web use?
  2. What does javascript do?
  3. How is javascript different from html and css?
  4. What is the address of four or five codes that you found useful?


4-26-06
Start a page called Javascript.html in the directory above your Group Site Project. This will be your experimental place to try out the scripts without having to worry about screwing up your other pages.

Take this quiz before starting, add the results to your javascript.html page :
http://www.w3schools.com/js/js_quiz.asp

First you should do the Mouse over tutorial at this link: http://www.pageresource.com/jscript/jmouse.htm
The text on the tutorial will help you understand a bit about how javascript works. Print out the code of your javascript.html page each day you work on it and hand it in. Make sure your name is commented into the code.


Improve your Group Site project

Once you have gotten a handle on how the code works and how to format it properly, you will want to add some javascript to your Group Site Project. Be careful not to go too fast with it, or you could end up screwing up your site with some sloppy code.

At first, add the script to just one page, such as your index.
Then add an external javascript page and call to those commands from the individual pages.

Some possiblities:
- Pop up windows for pictures or video
- pulldown menus for navigation
- make an online quiz

Here is a decent tutorial to help you get started:
http://www.w3schools.com/js/js_examples.asp

Some more links:
javascript tutorials and more - http://echoecho.com/javascript.htm
10 tips for good javascript use - http://www.bobbyvandersluis.com/articles/goodpractices.php
http://www.google.com/search?q=javascript+tutorial
http://www.w3schools.com/js/js_examples.asp
http://www.pageresource.com/jscript/index2.htm
wikipedia entry - http://en.wikipedia.org/wiki/JavaScript


Page Information

  • 2 years ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts