Skip to content

Instantly share code, notes, and snippets.

@edeustace
Created November 18, 2010 15:17
Show Gist options
  • Save edeustace/705103 to your computer and use it in GitHub Desktop.
Save edeustace/705103 to your computer and use it in GitHub Desktop.
step-one
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0045)http://sarahbrownenutrition.ie/slideshow.html -->
<html><head profile="http://www.w3.org/2005/10/profile"><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="./Sarah Browne Nutrition _ Cookery_files/jquery-1.4.4.js"></script>
<script src="./Sarah Browne Nutrition _ Cookery_files/jquery.min.js" type="text/javascript"></script>
<script src="./Sarah Browne Nutrition _ Cookery_files/jquery.nivo.slider.pack.js" type="text/javascript"></script>
<script type="text/javascript">
$(window).load(function() {
$('#slider1').simpleSlideShowExample();
});
jQuery.fn.simpleSlideShowExample = function(){
console.log("hello there");
var imageLinks = this.find('img');
imageLinks.each( function()
{
console.log('found image with url:' + $(this).attr('src') );
});
}
</script>
<div id="slider1" class="nivoSlider">
<img src="./Sarah Browne Nutrition _ Cookery_files/bslide1.jpg" alt="" style="display: none; ">
<img src="./Sarah Browne Nutrition _ Cookery_files/bslide2.jpg" alt="" style="display: none; ">
<img src="./Sarah Browne Nutrition _ Cookery_files/bslide3.jpg" alt="" style="display: none; ">
</div></body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment