Arrays are Objects are Functions are Objects?Posted by Jeff Jones in
Note: I should probably do a follow up post, as this was when I was first really learning javascript. Thanks to #phpc and #js on freenode, I did end up finding good JS reference material.
<script type="text/javascript"> function form() { function validate(s) { return s; } this.validate = validate; this.var = "!"; } form = new form(); document.write(form.validate("hello world") + form["var"]); </script> Coming from PHP and C type coding, this makes absolutely no sense. It does, however, work. It also gives me some ideas for it's use. My reason for writing this post it to ask for your help. Readers of the world: Do you know a website that clearly explains how one would write a "class" with methods and properties in javascript? Despite my googling, I had to figure this one out myself by trial and error. Perhaps I just need a good JS reference. Where is the JavaScript manual? My Halloween Haunted HousePosted by Jeff Jones in
Every year for the past 10 years I've done a haunted house for Halloween with the help of my family and friends. This year we continued that trend, but we went all out. We had 5 rooms, 4 actors, and 320 square feet of terror. Here's pictures and a description of the rooms. |
QuicksearchCategoriesSyndicate This BlogLinks
Static Pages |
Powered by Serendipity 1.1.2.
Design by Carl Galloway.






