20 saniyede kaç tane checkbox işaretleyebilir sin?

Javascript kodları 20 saniyede kaç tane checkbox işaretleyebilir sin? Hazır program kodları hakkında bilgi paylaş; HTML-Kodu: <!-- TWO STEPS TO INSTALL CHECKBOXES: 1. Paste the coding into the HEAD of your HTML document 2. ...
Cevapla
WebMasTer SiTeSi
 
Seçenekler
  #1  
Arama 25-11-2007, 10:50
banias - ait Kullanıcı Resmi (Avatar)
Pseudo Coder
Üyelik Tarihi: 23/08/07
Mesajlar: 1.177
 
     WS-Ticareti: (2)
Blog Yazıları: 2
Teşekkürleri: 9
100 Msg. 180 Tşkr.
Rep Gücü: 100 banias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud of

20 saniyede kaç tane checkbox işaretleyebilir sin?

HTML-Kodu:
<!-- TWO STEPS TO INSTALL CHECKBOXES:

   1.  Paste the coding into the HEAD of your HTML document
   2.  Put the last coding into the BODY of your HTML document  --> <!-- STEP ONE: Copy this code into the HEAD of your HTML document  --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Original:  Tomer Shiran

<!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin
var total = 0
var play = false
function display(element) {
var now = new Date()
if (!play) {
play = true
startTime = now.getTime()}
if (now.getTime() - startTime > 20000) {
element.checked = !element.checked
return
}
 if (element.checked)
total++
else
total--
element.form.num.value = total
}
function restart(form) {
total = 0
play = false
for (var i = 1; i <= 100; ++i) {
 form.elements[i].checked = false
   }
}
// End --> </SCRIPT> <!-- STEP TWO: Copy this code into the BODY of your HTML document  --> <BODY> <CENTER>Test your skill.  How many boxes can 
you check in 20 seconds?</CENTER> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin
document.write("<FORM><CENTER>")
document.write('<INPUT TYPE="text" VALUE="0" ');
document.write('NAME="num" SIZE=10 onFocus="this.blur()"><BR>')
document.write("<HR SIZE=1 WIDTH=40%>")
for (var i = 0; i < 10; ++i) {
for (var j = 0; j < 10; ++j) {
document.write('<INPUT TYPE="checkbox" ');
document.write('onClick="display(this)">')}
document.write("<BR>")}
document.write("<HR SIZE=1 WIDTH=40%>")
document.write('<INPUT TYPE="button" VALUE="restart" ');
document.write('onClick="restart(this.form)">')
document.write("</CENTER></FORM>")
// End --> </SCRIPT> <p><center> <font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p> <!-- Script Size:  1.63 KB  -->
__________________
| | |
| |
|
|
|
Alıntı ile Cevapla
Cevapla
Arama Etiketleri: , , , ,



Seçenekler


Benzer Konular
Konu Konu Açanlar Forum Cevaplar Güncel Mesajlar
::::::karlı link değişimi 1 tane pr3-7 tane pr2 ye eklen 3 kod ekle:::::::. dincer Webmastersitesi çöplüğü 23 12-02-2008 04:21
2 tane pr 5 2 tane Pr 4 Link Değişimi servantes Webmastersitesi çöplüğü 8 30-01-2008 08:45
checkbox sorunu fatih35 Javascript kodları 0 29-01-2008 10:21
2 Tane Pr 5 2 tane pr 4 Siteden Herkesle Kalıcı Link Değişimi servantes Webmastersitesi çöplüğü 5 12-12-2007 01:56
linke tıklayınca checkbox işaretlensin banias Javascript kodları 0 25-11-2007 10:28


Webmaster web tasarım online reviews ~ Kadınlar blogu ~ Apple iPhone, iPod Touch ( iTouch ) Forum ~ iPhone