Monday, November 22, 2010

reqmts

a form floats on a blank page
gets animated
ads

form has two tabs
one displays the html for the page (in text field)
html is simply an empty container (tags: html, head, title, script, style, body)
other displays the javascript

also, two buttons: faster and slower

with form stationary, faster button causes it to travel from left to right at a certain speed
additional clicks increase the speed

when any part of the the whole form passes the right edge of the page, the right edge reappears on the left, and a little lower down

effect is, the form gradually moves down the page

when the top of the form reaches the bottom of the page, the bottom of the form reappears at the top of the page ... still in motion ...

click the slower button as needed to stop the form wherever desired on the page ...
additional clicks reverse the motion

immediately ...

immediate goal is to build a simple demonstration of javascript.