Josh Fraser
52p130 comments posted · 52 followers · following 25
1 day ago @ Feld Thoughts - Watching People Come o... · 0 replies · +1 points
4 days ago @ Online Aspect - Queue events that occu... · 0 replies · +1 points
http://ajaxian.com/archives/labjs-simple-abstract...
5 days ago @ Online Aspect - Queue events that occu... · 1 reply · +1 points
1 week ago @ Online Aspect - Queue events that occu... · 1 reply · +1 points
When it comes to website performance, it's usually the perceived speed that matters. You can have something downloading for a minute behind the scenes and it's okay as long as the site still *feels* fast.
What about just throwing up a loading indicator when something is added to the queue? That way you acknowledge the users' action but still keep the perception that the page loaded in 2 seconds... even if we're still a few seconds away from being truly done.
1 week ago @ Online Aspect - Queue events that occu... · 1 reply · +1 points
A more complicated version could easily take an array of scripts to be lazy-loaded and then watch the onload/onreadystatechange for each of them & only call dequeue_actions() once they were all done. I found some code that would be a great start for anyone interested in taking that on: http://www.nczonline.net/blog/2009/06/23/loading-...
1 week ago @ Online Aspect - Auto detect a time zon... · 0 replies · +1 points
2 weeks ago @ Online Aspect - How to use variable va... · 0 replies · +1 points
In other words, I know it's temping, but don't do it. It's not good practice.
4 weeks ago @ Online Aspect - Looking for a job? Do... · 0 replies · +1 points
4 weeks ago @ Online Aspect - Looking for a job? Do... · 0 replies · +1 points
4 weeks ago @ Online Aspect - Looking for a job? Do... · 3 replies · +1 points