forked from dimsemenov/PhotoSwipe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ste Brennan
committed
Nov 7, 2011
1 parent
1d6cfea
commit 7e924d2
Showing
7 changed files
with
125 additions
and
7 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#Build Number for ANT. Do not edit! | ||
#Fri Nov 04 09:11:19 GMT 2011 | ||
build.number=32 | ||
#Mon Nov 07 09:53:33 GMT 2011 | ||
build.number=35 |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>PhotoSwipe</title> | ||
<meta name="author" content="Ste Brennan - Code Computerlove - http://www.codecomputerlove.com/" /> | ||
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" /> | ||
<meta name="apple-mobile-web-app-capable" content="yes" /> | ||
<link href="styles.css" type="text/css" rel="stylesheet" /> | ||
|
||
<link href="../photoswipe.css" type="text/css" rel="stylesheet" /> | ||
|
||
<script type="text/javascript" src="../lib/klass.min.js"></script> | ||
<script type="text/javascript" src="../code.photoswipe-%%version%%.min.js"></script> | ||
|
||
|
||
<script type="text/javascript"> | ||
|
||
(function(window, PhotoSwipe){ | ||
|
||
document.addEventListener('DOMContentLoaded', function(){ | ||
|
||
var | ||
options = { | ||
|
||
getImageMetaData: function(el){ | ||
return { | ||
relatedUrl: el.getAttribute('data-related-url') | ||
} | ||
} | ||
|
||
}, | ||
instance = PhotoSwipe.attach( window.document.querySelectorAll('#Gallery a'), options ); | ||
|
||
|
||
instance.addEventHandler(PhotoSwipe.EventTypes.onTouch, function(e){ | ||
|
||
if (e.action === 'tap'){ | ||
var currentImage = instance.getCurrentImage(); | ||
window.open(currentImage.metaData.relatedUrl); | ||
} | ||
|
||
}); | ||
|
||
|
||
}, false); | ||
|
||
|
||
}(window, window.Code.PhotoSwipe)); | ||
|
||
</script> | ||
|
||
</head> | ||
<body> | ||
|
||
<div id="Header"> | ||
<a href="http://www.codecomputerlove.com"><img src="images/codecomputerlovelogo.gif" width="230" height="48" alt="Code Computerlove" /></a> | ||
</div> | ||
|
||
<div id="MainContent"> | ||
|
||
<div class="page-content"> | ||
<h1>PhotoSwipe</h1> | ||
</div> | ||
|
||
<ul id="Gallery" class="gallery"> | ||
|
||
<li><a href="images/full/001.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/001.jpg"><img src="images/thumb/001.jpg" alt="Image 001" /></a></li> | ||
<li><a href="images/full/002.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/002.jpg"><img src="images/thumb/002.jpg" alt="Image 002" /></a></li> | ||
<li><a href="images/full/003.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/003.jpg"><img src="images/thumb/003.jpg" alt="Image 003" /></a></li> | ||
<li><a href="images/full/004.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/004.jpg"><img src="images/thumb/004.jpg" alt="Image 004" /></a></li> | ||
<li><a href="images/full/005.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/005.jpg"><img src="images/thumb/005.jpg" alt="Image 005" /></a></li> | ||
<li><a href="images/full/006.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/006.jpg"><img src="images/thumb/006.jpg" alt="Image 006" /></a></li> | ||
<li><a href="images/full/007.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/007.jpg"><img src="images/thumb/007.jpg" alt="Image 007" /></a></li> | ||
<li><a href="images/full/008.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/008.jpg"><img src="images/thumb/008.jpg" alt="Image 008" /></a></li> | ||
<li><a href="images/full/009.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/009.jpg"><img src="images/thumb/009.jpg" alt="Image 009" /></a></li> | ||
<li><a href="images/full/010.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/010.jpg"><img src="images/thumb/010.jpg" alt="Image 010" /></a></li> | ||
<li><a href="images/full/011.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/011.jpg"><img src="images/thumb/011.jpg" alt="Image 011" /></a></li> | ||
<li><a href="images/full/012.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/012.jpg"><img src="images/thumb/012.jpg" alt="Image 012" /></a></li> | ||
<li><a href="images/full/013.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/013.jpg"><img src="images/thumb/013.jpg" alt="Image 013" /></a></li> | ||
<li><a href="images/full/014.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/014.jpg"><img src="images/thumb/014.jpg" alt="Image 014" /></a></li> | ||
<li><a href="images/full/015.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/015.jpg"><img src="images/thumb/015.jpg" alt="Image 015" /></a></li> | ||
<li><a href="images/full/016.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/016.jpg"><img src="images/thumb/016.jpg" alt="Image 016" /></a></li> | ||
<li><a href="images/full/017.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/017.jpg"><img src="images/thumb/017.jpg" alt="Image 017" /></a></li> | ||
<li><a href="images/full/018.jpg" data-related-url="http://www.photoswipe.com/latest/examples/images/full/018.jpg"><img src="images/thumb/018.jpg" alt="Image 018" /></a></li> | ||
|
||
</ul> | ||
|
||
</div> | ||
|
||
|
||
<div id="Footer"> | ||
<p><small>© 2011 Code Computerlove Ltd - new media agency / digital marketing agency</small></p> | ||
|
||
<div id="SocialLinks"> | ||
<a href="http://blog.codecomputerlove.com/"><img src="images/blogicon.png" width="32" height="32" alt="Blog" /></a> | ||
<a href="http://www.twitter.com/computerlovers"><img src="images/twittericon.png" width="32" height="32" alt="Twitter" /></a> | ||
<a href="http://www.facebook.com/CodeComputerlove"><img src="images/facebookicon.png" width="32" height="32" alt="Facebook" /></a> | ||
<a href="http://www.flickr.com/photos/codecomputerlove"><img src="images/flickricon.png" width="32" height="32" alt="Flickr" /></a> | ||
</div> | ||
|
||
</div> | ||
|
||
</body> | ||
</html> |
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