<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Area and Perimeter Calculator</title><meta name="description" content="Surface Area and Perimeter Calculator, from http://coursesweb.net" />
<meta name="keywords" content="perimeter calculator, area calculator" />
<style type="text/css"><!--
body, html {
margin:0;
padding:1em;
text-align:center;
}
p {
text-align:left;
}
pre {
margin:1em 3em;
background:#fefe09;
text-align:left;
font-weight:bold;
font-size:1.15em;
color:#0102da;
padding:.2em .3em;
overflow:auto;
word-wrap:break-word
}
--></style>
<link href="apcalculator/apclc.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Area and Perimeter Calculator</h1>
<div id="araprm">
<h3 id="apobj"></h3>
<div id="apimgs"></div>
<div id="addselitem"></div>
<div id="apsel">
<h4>Select an object</h4>
<div class="apselfl">
<a href="http://coursesweb.net/javascript/" title="Javascript jQuery Course" id="cwn">Javascript Course</a>
<label for="circle_sel"><input type="radio" name="volittem" id="circle_sel" value="circle" />Circle</label>
<label for="circle_sector_sel"><input type="radio" name="volittem" id="circle_sector_sel" value="circle_sector" />Circle Sector</label>
<label for="circle_zone_sel"><input type="radio" name="volittem" id="circle_zone_sel" value="circle_zone" />Circle Zone</label>
<label for="circular_ring_sel"><input type="radio" name="volittem" id="circular_ring_sel" value="circular_ring" />Circular Ring</label>
<label for="ellipse_sel"><input type="radio" name="volittem" id="ellipse_sel" value="ellipse" />Ellipse</label>
</div>
<div class="apselfl">
<label for="equilateral_triangle_sel"><input type="radio" name="volittem" id="equilateral_triangle_sel" value="equilateral_triangle" />Equilateral Triangle</label>
<label for="hexagon_sel"><input type="radio" name="volittem" id="hexagon_sel" value="hexagon" />Hexagon</label>
<label for="isosceles_triangle_sel"><input type="radio" name="volittem" id="isosceles_triangle_sel" value="isosceles_triangle" />Isosceles Triangle</label>
<label for="parallelogram_sel"><input type="radio" name="volittem" id="parallelogram_sel" value="parallelogram" />Parallelogram</label>
<label for="rectangle_sel"><input type="radio" name="volittem" id="rectangle_sel" value="rectangle" />Rectangle</label>
</div>
<div class="apselfl">
<label for="rhombus_sel"><input type="radio" name="volittem" id="rhombus_sel" value="rhombus" />Rhombus</label>
<label for="right_triangle_sel"><input type="radio" name="volittem" id="right_triangle_sel" value="right_triangle" />Right Triangle</label>
<label for="scalene_triangle_sel"><input type="radio" name="volittem" id="scalene_triangle_sel" value="scalene_triangle" />Scalene Triangle</label>
<label for="square_sel"><input type="radio" name="volittem" id="square_sel" value="square" />Square</label>
<label for="trapezoid_sel"><input type="radio" name="volittem" id="trapezoid_sel" value="trapezoid" />Trapezoid</label>
</div><br style="clear:both;"/>
</div>
</div>
<script src="apcalculator/apclc.js" type="text/javascript"></script>
<hr/>
<p>To add this area and perimeter calculator in a web page, copy the directory "<b>apcalculator</b>" on your server (with all its files):<br/>
1) Add the following code in the place where you want to display it:</p>
<pre>
<div id="araprm">
<h3 id="apobj"></h3>
<div id="apimgs"></div>
<div id="addselitem"></div>
<div id="apsel">
<h4>Select an object</h4>
<div class="apselfl">
<a href="http://coursesweb.net/javascript/" title="Javascript jQuery Course" id="cwn">Javascript Course</a>
<label for="circle_sel"><input type="radio" name="volittem" id="circle_sel" value="circle" />Circle</label>
<label for="circle_sector_sel"><input type="radio" name="volittem" id="circle_sector_sel" value="circle_sector" />Circle Sector</label>
<label for="circle_zone_sel"><input type="radio" name="volittem" id="circle_zone_sel" value="circle_zone" />Circle Zone</label>
<label for="circular_ring_sel"><input type="radio" name="volittem" id="circular_ring_sel" value="circular_ring" />Circular Ring</label>
<label for="ellipse_sel"><input type="radio" name="volittem" id="ellipse_sel" value="ellipse" />Ellipse</label>
</div>
<div class="apselfl">
<label for="equilateral_triangle_sel"><input type="radio" name="volittem" id="equilateral_triangle_sel" value="equilateral_triangle" />Equilateral Triangle</label>
<label for="hexagon_sel"><input type="radio" name="volittem" id="hexagon_sel" value="hexagon" />Hexagon</label>
<label for="isosceles_triangle_sel"><input type="radio" name="volittem" id="isosceles_triangle_sel" value="isosceles_triangle" />Isosceles Triangle</label>
<label for="parallelogram_sel"><input type="radio" name="volittem" id="parallelogram_sel" value="parallelogram" />Parallelogram</label>
<label for="rectangle_sel"><input type="radio" name="volittem" id="rectangle_sel" value="rectangle" />Rectangle</label>
</div>
<div class="apselfl">
<label for="rhombus_sel"><input type="radio" name="volittem" id="rhombus_sel" value="rhombus" />Rhombus</label>
<label for="right_triangle_sel"><input type="radio" name="volittem" id="right_triangle_sel" value="right_triangle" />Right Triangle</label>
<label for="scalene_triangle_sel"><input type="radio" name="volittem" id="scalene_triangle_sel" value="scalene_triangle" />Scalene Triangle</label>
<label for="square_sel"><input type="radio" name="volittem" id="square_sel" value="square" />Square</label>
<label for="trapezoid_sel"><input type="radio" name="volittem" id="trapezoid_sel" value="trapezoid" />Trapezoid</label>
</div><br style="clear:both;"/>
</div>
</div>
<script src="apcalculator/apclc.js" type="text/javascript"></script>
</pre>
<p>2) Add this code in the <head> zone of your web page:</p>
<pre>
<link href="apcalculator/apclc.css" rel="stylesheet" type="text/css" />
</pre><br/><br/>
<a href="http://coursesweb.net" title="Programming, Web Development Courses">http://coursesweb.net</a><br/>
</body>
</html> |