JavaScript

TicTacToe in JavaScript by Apple

TicTacToe in JavaScript by Apple

Here is some of the key pieces of code:

The full code can be found here: JS and CSS

Image Gallery — Better approach

Image Gallery — Better approach

Very nice approach for a image gallery — rotating images — using Slideshow – A javascript class for Mootools to stream and animate the presentation of images on your website. MooTools is a Object Oriented JavaScript Tools. http://mootools.net/developers/ Here is a piece of code on how it works:

Lastly, you just…

Image Gallery — Static elements

Image Gallery — Static elements

Here is an example of a very simple and easy to use JavaScript and listing elements to get an image gallery on your website. First, we can create a list of items:

If we want to click on an image and show on the image gallery:

Then, we…