Created
August 19, 2011 04:45
-
-
Save disinfeqt/1156060 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<style type="text/css"> | |
#off-screen-preload { | |
position: absolute; | |
top: -5000px; | |
left: -5000px; | |
height: 1px; | |
width: 1px; | |
overflow: hidden; | |
} | |
#off-screen-preload .content-fe-sprites { | |
position: absolute; | |
height: 1px; | |
width: 1px; | |
background: url(http://a1.twimg.com/a/1313081238/phoenix/img/sprite_icons-contentfe.png); | |
} | |
</style> | |
</head> | |
<body> | |
<div id="off-screen-preload"> | |
<div class="content-fe-sprites"></div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how about pure js way: https://gist.github.com/1156086 ?
can control image list by js not html and css.