SHOW:
|
|
- or go back to the newest paste.
1 | <script> | |
2 | function startTimer(){ | |
3 | var x = 3000 //sample time | |
4 | //more code to execute timer | |
5 | } | |
6 | </script> | |
7 | <script> | |
8 | function killTimer(){ | |
9 | var x = NULL; //set time to NULL | |
10 | } | |
11 | </script> | |
12 | <A ID="content1" CLASS="navlink switcher" STYLE="color:#002EB8" onClick="killTimer();">Home</A> | |
13 | <A ID="content2" CLASS="navlink switcher" STYLE="color:#002EB8" onClick="killTimer();">Meet the Crew</A> | |
14 | <A ID="content3" CLASS="navlink switcher" STYLE="color:#002EB8" onClick="killTimer();">Contact Us</A> | |
15 | <A ID="content4" CLASS="navlink switcher" STYLE="color:#002EB8" onClick="startTimer();">Photos</A> | |
16 | <A ID="content5" CLASS="navlink switcher" STYLE="color:#002EB8" onClick="killTimer();">Partners</A> | |
17 | <A ID="content6" CLASS="navlink switcher" STYLE="color:#002EB8" onClick="killTimer();">Packages</A> |