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
1268
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
961
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
1096
posted 16 years ago by nighthawk