Skip to content

Tag Archives: async

Load jQuery Slideshow After Page Has Loaded

17-Feb-11

I needed a slideshow that would load (in a way, asynchronously) after the page has been loaded and would show something without JavaScript. This solution requires jQuery and jQuery Cycle plugin (lite version will do). <div id="slideshow"> <img src="default-image.jpg" alt="" /><!--defaults to this image without javascript --> </div> <script type="text/javascript"> $(document).ready(function() { //// random slides […]

[Google Analytics] Track to Two Profiles the Async Way

15-Dec-09

The new asynchronous tracking in Google Analytics requires new code as well. If you need to track more than one profile, this is how you do it.