Archive for the 'javascript' Category
Whitespace in Firefox
I have been busy doing stuff with the DOM at work. One thing that continually bugs me is that Firefox seems to find a lot of whitespace and called them textnodes. Obviously when you use firstChild, lastChild, nextSibling or previousSibling and you think that what you are getting from your script should be a div or something other than a textnode this can cause some problems. Internet Explorer seems to ...External Interface and local connections
External interface is a class in Flash that allows the swf to talk to javascript and vice versa. There a two basic methods: call - you can call a javascript function from the swf addCallback - you can call a actionscript function from javascript So to get it to work first of all you need to import the External Interface class: import flash.external.ExternalInterface; Then you need add your calls and callbacks. For a callback: ExternalInterface.addCallback("actionScriptFunc", this, ...Bite Size Standards
Bite Size Standards - again another site a bit like A List Apart although more blog like. It looks a bit like an older version A List Apart from perhaps a couple of years ago - anyway I haven't really looked at it properly yet but it looks promising!Using prototype.js v1.3.1
Using prototype.js v1.3.1 I have recently started using prototype. Not sure if thats good or not – I like to keep things small and modular but some of the scripting I have done recently has been quite large. When I first came across prototype I tried looking for some documentation and I couldn’t find any. This is the best/only documentation I have come across. This is another Quick ...Bubbles and propagation
Dicsovered something useful today. One of those things you might scour the internet for and almost find the answer but not quite. Basically if you want to stop propagation of event through the DOM the events cannot be inline. For example to stop an onclick event bubbling up it must be assigned along the lines of: thing.onclick = dosomething; not like this: For more detail about this subject look here:Event orderDOM ExamplesDocument Object Model EventsCategories Technorati Delicious
Stuff I Dugg
- Swear (PIC)
Imperial Stormtrooper is sworn in for the American army in Iraq.
- Linux Media Center Edition
Controls everything from your TV to your security system using anything from your cell phone to a Wii remote.
- 7 Visions Of Social Networking’s Future: Is This Web 3.0?
Considering that there are now kids in college who don’t remember a time before the Internet, we can only imagine what will be possible in just a few short years.Here is a list of scenarios and technologies that will shape the Internet’s future. Some are already available and a few we’d like to look forward to in the near future:
- Samba Team Releases Samba 3.2
The Samba Team is proud to announce the release of Samba 3.2, a major new release of the award-winning Free Software file and print server suite for Microsoft Windows clients.
- Eee Monitor shots reveal Linux's $500 iMac rival
ASUS' Eee Monitor today has been captured in official photos that confirm the system to be the company's direct answer to the iMac. The all-in-one computer confirms earlier teaser photos and reveals a cross between Apple's Cinema Displays and the iMac, but with two big differences: the use of Linux and just a $500 price tag.
- Sales Guy vs. Web Dude
The Website is Down - This is super funny.
- PC Magazine's 12 Favorite Music Sites
These days, a good radio station is hard to come by and CDs are $20 a pop. So, what's a music lover to do? Turn to the Internet, of course, where you can find music-streaming services that are not only free and legal (like all radio) but customizable.
- Lego Star Wars Clone Trooper Army Fights Autism
What are 35,310 Lego Star Wars Clone Troopers mini-figs doing together, apart from planning a planet invasion after breaking out of the giant Lego storage cathedrals? Raising awareness and funds for autism, that's what.
- 10 Useful Apps To Reduce Your Dependency On Google
They are worth being familiar with so that you can avoid a crisis situation when you cannot access a Google product for some reason.
- A cross between a motorcycle, a Segway and 'Star Wars'
Meet the Uno. The Uno's custom hoops aren't front and rear like a motorcycle's, but side by side and inches apart under the rider, rising and falling independently over the road as he leans the gyroscope-stabilized machine through effortless turns.
