Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML

JavaScript Examples

This page contains JavaScript examples - examples of JavaScript tricks that you can use for your own website.

You can use any of these examples simply by copying and pasting the code straight into your website.

We've got plenty of HTML examples too!

CodeResult

Popup Window:

Get your HTML codes in a popup!

More info: Popup Windows

CodeResult

Jump Menu:

More info: Jump Menu

CodeResult

"Print" dialog with printer icon:

Print this page

More info: JavaScript Print

CodeResult

"Print" dialog with printer icon:

Print Version

More info: JavaScript Print

CodeResult

Alert Box:

More info: JavaScript Alert

CodeResult

Confirm Box:

More info: JavaScript Confirm

CodeResult

Prompt:

More info: JavaScript Prompt

CodeResult

Status Bar Messages:

Hover over me!
CodeResult

Image Rollover:

Picture of Jack

More info: Image Rollovers

CodeResult

Timed Redirect:

Redirect in 2 seconds...

More info: Timed Redirect

CodeResult

Timed Refresh:

Refresh this page in 3 seconds...

More info: JavaScript Refresh

Enjoy this page?

  1. Link to this page (copy/paste into your own website or blog):
  2. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!

Sponsored Link: Design CODE-FREE Websites