JavaScript examples
Examples of JavaScript, including styles
- General introduction on programming
- Mouse over causing image swap,
Tutorial
- Multiple image image swap, Tutorial for making multiple image rollovers
- Slide Show , Slide show tutorial
- Coin toss (random) tutorial
- Random image on loading
- Explanation of code for the following three examples using forms
- Red ball versus Black ball simulation problem
- Bouncing ball tutorial
- Calendar
- Find Daniel: image map game, Notes on how to contruct a 'find' game using client side image maps, changing status bar with mouseover & mouseout (works with IE and Mozilla)
- Example of frames with one click changing two frames
- Shaking window
- JavaScript fill in the blanks story, with optional image
- Model of dog: feeding & petting Tutorial. See also version
done using xml/xslt in XML, XSLT, WML, VoiceXML examples
- Dice throw,
Two dice, pre-loading of images,
Dice game (craps),
Tutorial for all three dice scripts
Dice game with bank roll: decrease to play, increase to win
- Cookie example, mainly from www.webreference.com site, Simple way of saving name while in browser using client-side JavaScript cookie handling, Notes on client-side cookies
- Memory game Memory Tutorial
- Tutorial on use of arrays and the DOM in Javascript, using a virtual/fantasy sports application,
Simple arrays & changing input elements, Probabilistic (even odds) play ,
Set odds for each game ,
Final version of simple game, no ties,
Game with ties
- Demonstrates capturing (detecting) arrow keys in JavaScript
- Demonstrates using arrow keys to move object (div)
- Demonstrates using key capture to play two different tunes
- Various simple style examples (you may
want to reduce the size of the window to see
the effects)
- Moving image (DIV tag)
- Cannonball (works for Netscape Navigator 4x)
- Cannonball (works for NN4, IE, and NN6), Tutorial for cannonball
- Cannonball, moving target (ugly but appears to work
- Notes on making tetris-like game.Working draft tetris-like game. See also
tinytetris.html, tinytetris1.html through tinytetris9.html in this folder and described in the Notes.
- Quiz show: answering questions about image(s)
Old Flash labs, Flash 5 and Flash MX include some tutorial material.
ActionScript 3.0 Flash labs Adobe CS3 Flash examples and tutorials
Meyer Family Origami site has
a variety of types of computer-aided directions.
E-mail Jeanine Meyer
Return to Jeanine's academic activities