JavaScript Style - why it's important
I adopted Douglas Crockford's JavaScript code convention some time ago, but at yesterday's @media Ajax he demonstrated, in a beautifully simple way, why it's really important.
I adopted Douglas Crockford's JavaScript code convention some time ago, but at yesterday's @media Ajax he demonstrated, in a beautifully simple way, why it's really important.
Bookmarklets are, IMHO, being used for more and more funky functions. I really like the Facebook and Tumblr bookmarklets that scoop out information about the type of content you want to post and then sends them off to the respective sites. John Gruber recently reposted his JavaScript Bookmarklet Builder - which is useful, but if you're planning [...]
This code will return true while it's waiting to load the external script - and if called again (i.e. at a later date or if you've got an excited user) will know that the script has already been loaded. It allows for scripts to be loaded on demand without the use of an external library such [...]
Although this is should be obvious, since the iPod Touch comes with Safari, I've found to my pleasure: you can run bookmarklets through Safari (mobile).
I've got a handy little bookmarklet that I use to check whether any variables have slipped out in the to global namespace (i.e. on to the window object). Globals Note that all global variables (including functions) that have been added by your page, will be written to via console.log. The bookmarklet will also prompt to filter out globals, [...]
As promised, the second instalment of accessible, degradable style control (that follows part 1). This entry will cover style sheet control, and although this has been covered by other posts in the past, often they rely entirely on JavaScript. This method does not.
jQuery 1.2 introduced JSONP support, but on initial read of the release notes, I wasn't completely sure what it was - so for anyone else that might want the Dr Seuss explanation. JSONP is script tag injection, passing the response from the server in to a user specified function