Archive for the 'javascript' Category
August 18th, 2006
May 3rd, 2006
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 ...
April 19th, 2006
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, ...
April 19th, 2006
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!
January 3rd, 2006
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 ...
November 16th, 2005
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
3d
accessibility
actionscript
ajax
amazon
apple
articles
barcamp
blog
bournemouth
chocolate
css
design
dom
dorset
dotdorset
fairtrade
flash
flickr
fun
gadgets
html
iTunes
javascript
kipple
last.fm
lego
linux
LiveCD
LVM
microformat
milk
networking
Parted Magic
php
picasa
prototype
pvr
resources
rss
soap
software
space
standards
taps
tech
TestDisk
topfield
twitter
ubuntu
un
usability
videos
web
wordpress
xml
xmltv
xsl
Stuff I'm reading
- Automate EC2 Instance Setup with user-data ScriptsSimon Willison's Weblog
- Setting rather than Resetting Default StylingCarsonified » Blog
- Goodbye, privacy: The entire UK set to go on Google Street View tomorrowDownload Squad
- First Look: Bing's UK TV Ads Make A Monkey Out Of GooglepaidContent:UK
- Scott and ScurvySimon Willison's Weblog
- Ubisoft’s Uber DRM Cracked Within a DayTorrentFreak
- Digital rights group blasts Apple over iPhone developer agreementAppleInsider
- The ethics of reportage photographyThe Guardian World News
- Restore a Scratched-Up iPhone with Sandpaper [IPhone]Lifehacker
- Connected - Short Filmmatpol's YouTube Activity
