[thelist] [fun-wtf] I just found a piece of code that makes me blink and confuses me a lot

Christian Heilmann codepo8 at gmail.com
Mon Aug 6 09:23:28 CDT 2007

function doBlink() {
  var blink = document.all.tags("BLINK")
  for (var i=0; i<blink.length; i++)
    blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : ""
  function startBlink() {
    if (document.all)  setInterval("doBlink()",1000)
window.onload = startBlink;


part of a portfolio of a hire sent to me by an agency.

Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/

More information about the thelist mailing list