|
HTML
Button Script |
| |
|
Annoying Button |
|
|
<!-- START OF SCRIPT -->
<!-- For more scripts visit http://www.netpedia.com -->
<script language=javascript>
<!--
function timid_button(button_obj) {
var n=button_obj.name
if(n=="Q"){
document.scared.Q.value=""
document.scared.A.value="Now Click Again"}
else {
document.scared.Q.value="Now Click Here"
document.scared.A.value=""}
}
//-->
</script>
<center><form name=scared>
<input type=button name="Q" value=" " onClick='timid_button(this)'>
Do what the buttons say and no one get's hurt.
<input type=button name="A" value=" Click Here " onClick='timid_button(this)'>
</form>
</CENTER>
<!-- END OF SCRIPT --> --> |
|
|
|
Blinking Lights |
| |
<!-- START OF SCRIPT -->
<!-- For more scripts visit http://www.netpedia.com -->
<BODY onLoad="animate()">
<SCRIPT LANGUAGE="JavaScript">
<!--
// create row of radio buttons
lay(20)
// set index of lamp to start animation
var current = 0
// set speed (pause in milliseconds between each
movement)
var speed = 100
function lay(num) {
// assign "greater than" character to variable
var gt = unescape("%3e")
// open form
document.write("<FORM NAME='animation'" + gt)
// use loop to lay radio buttons down (all buttons in
same group)
for (var i = 0; i < num; ++i) {
document.write("<INPUT TYPE='radio' NAME='lamps'" + gt)
}
// close form
document.write("</FORM" + gt)
}
function animate() {
// click next radio button
document.animation.lamps[current].click()
// if radio button is the last one reset variable to 0
(otherwise increment)
current = (current == document.animation.lamps.length -
1) ? 0 : ++current
// recursive call after speed milliseconds
timerID = setTimeout("animate()", speed)
}
// -->
</SCRIPT>
<!-- END OF SCRIPT --> |
| |
| |
|
|
|
DOWNLOAD FILE (PDF) |
|
|
|
|
|
: "dikutip
dari berbagai sumber." |
|
|
 |
RESOURCES | |
 |
FREEWARE |
| |
Change Type 1.0 Clear Template 1.0 Cryptext
3.3 HJ Split 2.2 TweakUI W98 Winamp 5.02 | |
 |
SHAREWARE |
| |
Linguist 1.0 Picaview 1.31 SafeClean 3.02 Winhex 10.54
Winrar 3.11 Winzip 9.0 | |
 |
TUTORIAL |
|
|
|
|
|
|
|
|
|
|
|