Posted in : Code Snippets, JavaScript on by : admin , freemium Comments: 0

Use this snippet to set a delay on your function. var delayMillis = 1000; //1 second setTimeout(function() { //your code to be executed after 1 second }, delayMillis);

Posted in : Code Snippets, JavaScript on by : admin Comments: 0

Modified, from the accepted answer here. function formatDate(date) { var monthNames = [ “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “10”, “11”, “12” ]; var day = date.getDate(); var monthIndex = date.getMonth(); var year = date.getFullYear(); return monthNames[monthIndex] + ‘/’ + day + ‘/’ + year; } alert(formatDate(new Date())); Here‘s a nice one..

Posted in : User Experience, Web Design on by : admin , freemiumfreemium Comments: 0

You can’t get through a meeting without jumping up to the whiteboard. You don’t understand why others don’t understand a concept unless you make a visual for them, which is why you’re constantly producing visuals. Can’t they picture it in their heads like you can? You have the constant urge to improve upon others’ flow..

Posted in : Design Resources, Tutorials, Web Design on by : admin , freemiumfreemiumfreemiumfreemium Comments: 0

Having just made my foray into Sketch, imagine my surprise when I discover that a standard iOS picker is NOT included in the out-of-the-box template. After a surprisingly large amount of Google research (do people just not LIKE pickers?), a friend finally bailed me out with iOS UIpickerview, a Sketch file by Tom Johnson. So..

Posted in : WordPress on by : admin Comments: 0

Here’s a little script for retrieving custom field data associated with a user (as long as it’s stored in the author-meta table). In this case, it’s for an image field, and the code is outside of the Loop.