Helping you solve those tough coding problems!
Learn some great web development and web design tips and techniques through recipes that clearly define the problem being solved with a working solution.
Popular Tags: cakephp | theory | optimization | javascript-development | asp-net | css | jquery-development | sql | ajax | php-development

Follow @endyourif rss Facebook LinkedIn

A Fancier Twitter Timeline A Fancier Twitter Timeline

Published on Sep 25, 2012 by Jamie Munro

I truly enjoy the finer things in life.  For example, if I'm going to eat a steak I don't want some fatty low grade piece of meat.  I would much rather (in this case, spend the additional money) to get an AAA grade of meat.  The taste is worth it.

The same is true with development; the Twitter Timeline is "nice", but I personally don't want a linear, scrollable representation of my Tweets!  I want the AAA grade where in this case it just takes a little bit more time instead of money…  As you can see above, my Tweets are sliding in and out every 7.5 seconds.  Once it cycles through my latest 10, it restarts again.

Read more >

Tags: setInterval() | twitter | JavaScript | jQuery | Twitter | timeline

JavaScript: Easy Creation of "Countdown Timers" JavaScript: Easy Creation of

Published on Aug 28, 2012 by Jamie Munro

If there is one thing I don't like doing – it's doing the same thing twice or even more!  So I was building an application on the side where I need to have a listing that performs a simple countdown.  At this point I've been lazy and just have it counting down the seconds, but this example would be really easy to update to put a proper countdown of days, hours, minutes, and seconds – and heck if you get really adventurous even weeks, months, and years!

Read more >

Tags: Javascript | setInterval() | JavaScript

setTimeout() vs setInterval() in Javascript setTimeout() vs setInterval() in Javascript

Published on May 5, 2009 by Jamie Munro

It feels like it has been a lifetime since my last blog!  I must apologize for the long delay, but between finding the time and finding a good topic to blog about, it's being difficult.

In today's article, it's been a while since I've needed to use either the setTimeout or setInterval functions and it seems many people are not familiar with the setInterval function.

Let's start by describing the two.

Read more >

Tags: setTimeout() | setInterval() | JavaScript