Posts Tagged ‘javascript’
Using FB.api to make a full post to a users wall
By David Pratt / Tags: facebook, javascript / 15 Comments » / Published: 26-09-10
The JavaScript snippet you need to make a full wall post (including image) to a users wall using the Facebook JavaScript API.
Calculate text width and height with JavaScript
By David Pratt / Tags: css, javascript, ui / 4 Comments » / Published: 22-04-10
A tutorial that shows you how to measure the height and width of a text element using JavaScript.
Always cache the length property in for loops when using JavaScript
By David Pratt / Tags: javascript, performance, recursion / No Comments » / Published: 26-01-10
Well, you don’t have to, but it helps a smidgen when it comes to performance…
Using the logical OR operator in setting variables
By David Pratt / Tags: javascript / 2 Comments » / Published: 11-01-10
A technique that sets a variable by testing the result of the logical OR operator based on the existence of the two conditions.
Using a function’s arguments array in JavaScript
By David Pratt / Tags: function, javascript / No Comments » / Published: 29-11-09
A tutorial that explains how to access a functions arguments array.
Subscribe via RSS
Twitter