James asked in 電腦與網際網路軟體 · 2 decades ago

http://home.kimo.com.tw/justin

http://home.kimo.com.tw/justinreloaded/Justin/bomb...

誰可以幫我解釋這個程式的語法

<BODY onload=WindowBomb()><SCRIPT LANGUAGE=JavaScript>function WindowBomb(){var iCounter = 0 // dummy counter

while (true)

{

window.open("Justin.htm","CRASHING" + iCounter,"width=50,height=10,resizable=no")

iCounter++

}

}

</script

Update:

counter是什麼

icounter呢

resizable呢

1 Answer

Rating
  • 2 decades ago
    Favorite Answer

    <BODY onload=WindowBomb()><SCRIPT LANGUAGE=JavaScript>function WindowBomb(){var iCounter = 0 // dummy counter

    //把counter 設為0

    while (true) //無限迴圈

    {

    window.open("Justin.htm","CRASHING" + iCounter,"width=50,height=10,resizable=no") //開視窗的TITLE 是CRASHING + 個睥開到爆。

    iCounter++ 然把CONUNTER +1

    }

    }

    </script

    Source(s): 很簡單..但不知道WORK 不WORK
Still have questions? Get your answers by asking now.