Iterative Development First Pass – Hearing Dog Training Tool
- Start button
- Random timer
- 30 – 120 second time range
- On alarm, pops up an alert, sounds until button is pressed
- no need to hear the alarm
<form action="#">Alarm range:<br/>
<input name="min" id="min" type="textbox" value="30" size="4" /> to
<input name="max" id="max" type="textbox" value="120" size="4" /> seconds
<br/><input type="button" value="Set Alarm" />
Gives a form that looks like this:
<input type="button" value="Set Alarm" onClick="sound_alarm()"/>
Then I defined this function in a script section in the header. Since this is my first iteration, I only need to implement a small piece of the program function. I decided to start with the pop-up window.
alert("Sound started (not really)\nClick OK to stop the alarm");
When the button is pressed, the following pop-up appears:
You can see this program so far here. Now that this is working, I can go on and add further features until the program is working.
Lend Me an Ear: The Temperament, Selection and Training of the Hearing Ear Dog by Martha Hoffman
This site needs an editor - click to learn more!
You Should Also Read:
Program Planning – Hearing Dog Alert Training Tool
Editor's Picks Articles
Top Ten Articles
Content copyright © 2021 by Julie L Baumler. All rights reserved.
This content was written by Julie L Baumler. If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.