Profile
Achievement
nighthawk's Recent Snippets
- All /
« Prev 1 Next »
Based on templates by luxuryluke and Kevin Hale.
Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is dis...
8
1249
posted 16 years ago by nighthawk
Thanks to Matt Farina
This snippet is useful for preloading content with media that has been received via an AJAX request. For simple preloading of known images, see similar snippet.
6
942
posted 16 years ago by nighthawk
Thanks to Matt Farina
Also see similar snippet for preloading arbitrary content, e.g. media in content received via AJAX.
14
1080
posted 16 years ago by nighthawk