Google Tech Talks Web Exponents presented by Doug Crockford February 27, 2009 blog post: google-code-updates.blogspot.com JavaScript is a language with more than its share of bad parts. It went from non-existence to global adoption in an alarmingly short period of time. It never had an interval in the lab when it could be tried out and polished. JavaScript has some extraordinarily good parts. In JavaScript there is a beautiful, highly expressive language that is buried under a steaming pile of good intentions and blunders. The best nature of JavaScript was so effectively hidden that for many years the prevailing opinion of JavaScript was that it was an unsightly, incompetent abomination. This session will expose the goodness in JavaScript, an outstanding dynamic programming language. Within the language is an elegant subset that is vastly superior to the language as a whole, being more reliable, readable and maintainable. Speaker: Douglas Crockford Douglas Crockford is a product of our public education system. A registered voter, he owns his own car. He has developed office automation systems. He did research in games and music at Atari. He was Director of Technology at Lucasfilm. He was Director of New Media at Paramount. He was the founder and CEO of Electric Communities/Communities.com. He was founder and CTO of State Software, where he discovered JSON. He is interested in Blissymbolics, a graphical, symbolic language. He is developing a secure programming language. He …
I found this code that can display a visitor’s name. However, there is an extra bit I don’t want, the last visit date of the visitor, can someone tidy this up a bit?
NewCode:
this code is rather long can someone tidy it up a bit? I do not want the last visit time, just the name and the option to change the name.
thanks
Hello,
I want to include a code on my site, this script will display the visitor’s name but they would have to enter it before entering the site, and then a cooky would be put there, welcoming them back.
My issue is that if the person press escape it will say “Hello null!” I want to change it to “Hello Visitor if they decide to ignore the message box.
Please view the below code, tidy and fix it if you can, if anyone know a better code please share.