31 jQuery Snippets That Will Help Make You A JavaScript Pro →
via siliconchaos
via siliconchaos
A chapter form the book Building iPhone Apps with HTML, CSS, and JavaScript on building a native iPhone app using PhoneGap.
At first I was a little skeptical about putting commas first but now that I’ve seen the code from Rhyan Dahl, I’m convinced. Just look at how easy it is to spot the error in the Comma-First example.
Standard Style
var a = "ape",
b = "bat",
d = "dog"
e = "elf",
f = "fly",
i = "ibu";
Comma-First Style
var a = "ape"
, b = "bat"
, d = "dog"
e = "elf"
, f = "fly"
, i = "ibu";
WebKitBits is an excellent resource for WebKit based web development. WebKit is the base for browsers such as Google Chrome and Apple Safari. Because the iPhone uses Safari Moble as its browser, this site also contains some good info for iPhone and iPad developers.
There’s no one-size-fits-all solution here, and obviously...
I don’t often link to roundups, but this is a pretty...
In early December, 2011, I was both surprised and flattered to discover that Apple...
A common task for CSS is to center text or images. In fact, there are three kinds...
Until you say ‘no’ to everything else, you cannot say ‘yes’...