1. Home
  2. Computing & Technology
  3. JavaScript

Cross Stitch Calculator

1. Introduction and Sample

Join the Discussion

Questions? Comments?

More of this Feature

Obtain the HTML Obtain the Script

A useful addition to any web site dealing with cross stitching is a calculator to help people work out how big a given pattern will be when that pattern is actually stitched up. The easiest way to add a calculator to a web site is of course using Javascript and it is even easier when someone else has written the javascript for you.

Here is a simple cross stitch calculator that I have written that can be easily customized and added to any site.

Cross Stitch Calculator

Design Size:
squares per
Finished Design Size
inches wide by inches high.
cm wide by cm high.

This script actually comes in three parts - the HTML to define the form, the Javascript to perform the calculations, and a few stylesheet commands to get it looking the way that you want.

The first step in adding this calculator to your site is to get the necessary HTML.

Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.