Wiki Markup |
---|
{html}<head>/*
The Visibility Toggle
Copyright 2003 by Sim D'Hertefelt
www.interactionarchitect.com
info@interactionarchitect.com
*/
var hotspots = document.getElementsByName('hotspot');
var toggles = document.getElementsByName('toggle');
function visibilitytoggle()
{
for (var i = 0; i < hotspots.length; i++)
{
hotspots[i].someProperty = i;
hotspots[i].onclick = function() {toggle(this.someProperty)};
}
for (var i = 0; i < toggles.length; i++)
{
toggles[i].style.display = 'none';
}
}
function toggle(i)
{
if (toggles[i].style.display == 'none')
{toggles[i].style.display = ''
}
else
toggles[i].style.display = 'none'
}
function showall()
{
for (var i = 0; i < toggles.length; i++)
{
toggles[i].style.display = '';
}
}
function hideall()
{
for (var i = 0; i < toggles.length; i++)
{
toggles[i].style.display = 'none';
}
}
</head>{html} |
Excerpt | ||
---|---|---|
| ||
Graphing 1D motion with constant acceleration. |
Pictured here is the University of Manitoba Center for Earth Observation Science's air/ice boat "Skippy" (photo courtesy CEOS). Skippy has a large fan at the back to allow it to accelerate as it slides across icy surfaces. Suppose you are piloting a similar craft on very slippery ice which will not slow the boat at all if it is coasting. Suppose also that the fan on your boat can be reversed instantanously, switching its direction of thrust from forward to backward. Assume the action of the fan (when it is on) always produces an acceleration with the same constant magnitude. Air resistance is negligible.
...