Created
July 6, 2011 16:52
-
-
Save gdakram/1067742 to your computer and use it in GitHub Desktop.
cross-domain carousel rendering. source from the staging server.
This file contains hidden or 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> | |
<title>Standalone Carousel</title> | |
</head> | |
<body> | |
<div id="carousel"></div> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script src="http://www.ius.edu/front/javascripts/carousel_cached.js"></script> | |
<link href="http://www.ius.edu/front/stylesheets/carousel_cached.css" rel="stylesheet" type="text/css" media="screen"/> | |
<script> | |
(function($){ | |
$(document).ready(function(e){ | |
var s = document.createElement("script"); | |
s.src = "http://www.ius.edu/front/carousels/1.js?dom_id=carousel"; | |
$(s).appendTo($("head:first")); | |
}); | |
})(jQuery); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment