Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Jon Maggio - Retoucher - Montreal</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" type="text/css" href="http://www.pixlsnap.com/j/css/demo.css" />
- <link rel="stylesheet" type="text/css" href="http://www.pixlsnap.com/j/css/elastislide.css" />
- <link rel="stylesheet" type="text/css" href="http://www.pixlsnap.com/j/css/simplegrid.css" />
- <!-- Include Cloud Zoom CSS. -->
- <link rel="stylesheet" type="text/css" href="http://www.pixlsnap.com/j/cloudzoom.css" />
- <link rel="stylesheet" type="text/css" href="http://www.pixlsnap.com/j/source/jquery.fancybox.css" media="screen" />
- <style>
- ul.links {list-style-type:none;}
- #social li{
- margin-left:10px;
- width:160px;
- padding:10px;
- display: inline;
- list-style-type: none;}
- .image {
- width: 900px; /* or whatever you want */
- height: 600px; /* or whatever you want */
- line-height: 600px; /* or whatever you want, should match height */
- text-align: center;
- }
- .image > img {
- vertical-align: middle;
- }
- .fancybox-nav span {
- visibility: visible;
- }
- /* Gradient color1 - color2 - color1 */
- hr {
- border: 0;
- height: 1px;
- width: 85%;
- margin-top: 15px;
- margin-bottom: 15px;
- background: #333;
- background-image: -webkit-linear-gradient(left, #ccc, #707070, #ccc);
- background-image: -moz-linear-gradient(left, #ccc, #707070, #ccc);
- background-image: -ms-linear-gradient(left, #ccc, #707070, #ccc);
- background-image: -o-linear-gradient(left, #ccc, #707070, #ccc);
- }
- #bottom-menu {
- position: absolute;
- width:100%;
- top: 623px;
- bottom: 0;
- left: 0; }
- #capwrap {
- position: absolute;
- width:100%;
- bottom: 20px;
- }
- #socialwrap {
- position: absolute;
- width:100%;
- top: 43px;
- }
- p.cap {
- font-size:12px;
- }
- #imgconstrain
- {
- height:600px;
- width:900px;
- }
- #imgconstrain img
- {
- max-width:100%;
- max-height:100%;
- margin:auto;
- display:block;
- }
- .hover
- {
- height:600px;
- width:900px;
- }
- .hover img
- {
- max-width:100%;
- max-height:100%;
- margin:auto;
- display:block;
- }
- </style>
- <script src="http://www.pixlsnap.com/j/js/modernizr.custom.17475.js"></script>
- <!-- Include jQuery. -->
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
- <!-- Include Cloud Zoom script. -->
- <script type="text/javascript" src="http://www.pixlsnap.com/j/cloudzoom.js"></script>
- <!-- Call quick start function. -->
- <script type="text/javascript">
- CloudZoom.quickStart();
- </script>
- <script type="text/javascript" src="http://www.pixlsnap.com/j/source/jquery.fancybox.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- $('ul#carousel.elastislide-list img').on('click',function(){
- $new_hoverid = $('img.cloudzoom-gallery-active').attr('id');
- $('#imgconstrain a').attr('href','#'+$new_hoverid);
- caption_text = $(this).attr('alt');
- var caption_element = document.getElementById('caption');
- caption_element.innerHTML = caption_text;
- });
- $('#imgconstrain a.open-fancybox').on('click',function(){
- $to_open = $(this).attr('href');
- $('a.fancybox[href="'+$to_open+'"]').click();
- });
- });
- $(function(){
- // Bind a click event to a Cloud Zoom instance.
- $('#1').bind('click',function(){
- // On click, get the Cloud Zoom object,
- var cloudZoom = $(this).data('CloudZoom');
- // Close the zoom window (from 2.1 rev 1211291557)
- cloudZoom.closeZoom();
- // and pass Cloud Zoom's image list to Fancy Box.
- $.fancybox({
- afterShow: function () {
- $(this.content).attr("tabindex",1)
- }
- });
- });
- });
- </script>
- <script type="text/javascript">
- var imageHeight = $('#imgconstrain img').height();
- if (logoHeight < 900) {
- var margintop = (900 - imageHeight) / 2;
- $('#imgconstrain img').css('margin-top', margintop);
- }
- </script>
- <script type="text/javascript">
- var imageHeight = $('.hover img').height();
- if (logoHeight < 900) {
- var margintop = (900 - imageHeight) / 2;
- $('.hover img').css('margin-top', margintop);
- }
- </script>
- <script type="text/javascript">
- $(".fancybox").fancybox({
- afterShow: function () {
- $(this.content).attr("tabindex",1)
- }
- });
- </script>
- <style>
- .fancybox-image {cursor: pointer;}
- </style>
- <script type="text/JavaScript">
- // prepare the form when the DOM is ready
- $(document).ready(function() {
- $(".img-swap").hover(
- function(){this.src = this.src.replace("_on","_off");},
- function(){this.src = this.src.replace("_off","_on");
- });
- var imgSwap = [];
- $(".img-swap").each(function(){
- imgUrl = this.src.replace("_off","_on");
- imgSwap.push(imgUrl);
- });
- $(imgSwap).preload();
- });
- $.fn.preload = function() {
- this.each(function(){
- $('<img/>')[0].src = this;
- });
- }
- </script>
- <script type="text/JavaScript">
- $(document).ready(function() {
- // Declare the array variable
- var imgSwap = [];
- // Select all images used in the image swap function - in our case class "img-swap"
- $(".img-swap").each(function(){
- // Loop through all images which are used in our image swap function
- // Get the file name of the active images to be loaded by replacing _off with _on
- imgUrl = this.src.replace("_off","_on");
- // Store the file name in our array
- imgSwap.push(imgUrl);
- });
- // Pass the array to our preload function
- $(imgSwap).preload();
- });
- </script>
- </head>
- <body>
- <div class="grid grid-pad">
- <div class="col-3-12">
- <div class="menucontent">
- <ul class="links">
- <li><h3>Jon Maggio - Retoucher</h3></li>
- <hr>
- <li><a href="beauty.php" >Beauty</a></li>
- <li><a href="fashion.php" >Fashion</a></li>
- <li><a href="portrait.php" class="active">Portrait</a></li>
- <li><a href="editorial.php" class="active">Editorial</a></li>
- <li><a href="commercial.php" >Commercial</a></li>
- <br>
- <br>
- <br>
- <br>
- <li><a href="about.php">About</a></li>
- <li><a href="ccontact.php" >Contact</a></li>
- </ul>
- <div id="bottom-menu">
- <div id="capwrap">
- <p id="caption" class="cap">LIG Hippie Commune</p></div>
- <hr>
- <div id="socialwrap">
- <ul id="social">
- <li><a href="http://www.facebook.com/JonathanMaggioRetoucher"><img src="img/social-006_facebookgrey.png"></a></li>
- <li><a href="ccontact.php" ><img src="img/social-015_tumblrgrey.png"></a></li>
- <li><a href="ccontact.php" ><img src="img/social-003_twittergrey.png"></a></li>
- </ul>
- <a rel="gallery" class="fancybox" href="#hover1"></a><a rel="gallery" class="fancybox" href="#hover2"></a><a rel="gallery" class="fancybox" href="#hover3"></a><a rel="gallery" class="fancybox" href="#hover4"></a><a rel="gallery" class="fancybox" href="#hover5"></a><a rel="gallery" class="fancybox" href="#hover6"></a>
- <div id="hover0" style="display: none"><p style="padding:70px" align="center">Use the Navigation Arrows to scroll<br>through the gallery, and hover your mouse over<br>the image to see the original.</p></div>
- <div class="hover" id="hover1" style="display: none"><img src="http://brecksargent.com/slideshowpro/albums/album-16/lg/lig5_on.jpg" class="img-swap" /></div><div class="hover" id="hover2" style="display: none"><img src="http://brecksargent.com/slideshowpro/albums/album-16/lg/dod_on.jpg" class="img-swap" /></div><div class="hover" id="hover3" style="display: none"><img src="http://brecksargent.com/slideshowpro/albums/album-16/lg/lig1_on.jpg" class="img-swap" /></div><div class="hover" id="hover4" style="display: none"><img src="http://brecksargent.com/slideshowpro/albums/album-16/lg/lig2_on.jpg" class="img-swap" /></div><div class="hover" id="hover5" style="display: none"><img src="http://brecksargent.com/slideshowpro/albums/album-16/lg/pumacolor_on.jpg" class="img-swap" /></div><div class="hover" id="hover6" style="display: none"><img src="http://brecksargent.com/slideshowpro/albums/album-16/lg/pumatest_on.jpg" class="img-swap" /></div>
- </div>
- </div>
- </div>
- </div>
- <div class="col-9-12">
- <div class="content">
- <div id="imgconstrain">
- <a class="open-fancybox" href="#hover1">
- <img class = "cloudzoom" id="1" src =
- "http://brecksargent.com/slideshowpro/albums/album-16/lg/lig5_on.jpg" alt ="LIG Hippie Commune" data-cloudzoom = "zoomImage: 'http://brecksargent.com/slideshowpro/albums/album-16/lg/lig5_on.jpg' , zoomPosition:'inside', zoomOffsetX: 0" />
- </a>
- </div>
- <ul id="carousel" class="elastislide-list">
- <li><img class = 'cloudzoom-gallery' id="hover1" src ="http://brecksargent.com/slideshowpro/p.php?a=eXt1NExlZT1uemwuIjItOjI6Hys4OzouNio%2BNC4iKyAiPjQjJjs%2FNCY%2BLiY0&m=1383849642" alt ="LIG Hippie Commune" data-cloudzoom = "useZoom: '.cloudzoom', image:'http://brecksargent.com/slideshowpro/albums/album-16/lg/lig5_on.jpg', zoomImage:'http://brecksargent.com/slideshowpro/albums/album-16/lg/lig5_on.jpg' "> </li><li><img class = 'cloudzoom-gallery' id="hover2" src ="http://brecksargent.com/slideshowpro/p.php?a=cX12XnxkJXl0bSczJSgwOzIDOjY5OyYzKzE8LTI%2BMiU%2BJzE%2FOicjKD8nNyM%3D&m=1383853420" alt ="Dunno weird though" data-cloudzoom = "useZoom: '.cloudzoom', image:'http://brecksargent.com/slideshowpro/albums/album-16/lg/dod_on.jpg', zoomImage:'http://brecksargent.com/slideshowpro/albums/album-16/lg/dod_on.jpg' "> </li><li><img class = 'cloudzoom-gallery' id="hover3" src ="http://brecksargent.com/slideshowpro/p.php?a=eXt1MExlZT1uemwuIjItOjI6Hys4OzouNio%2BNC4iKyAiPjQjJjs%2FNCY%2BLiY0&m=1383861455" alt ="No one dresses like this in this neighborhood" data-cloudzoom = "useZoom: '.cloudzoom', image:'http://brecksargent.com/slideshowpro/albums/album-16/lg/lig1_on.jpg', zoomImage:'http://brecksargent.com/slideshowpro/albums/album-16/lg/lig1_on.jpg' "> </li><li><img class = 'cloudzoom-gallery' id="hover4" src ="http://brecksargent.com/slideshowpro/p.php?a=eXt1M0xlZT1uemwuIjItOjI6Hys4OzouNio%2BNC4iKyAiPjQjJjs%2FNCY%2BLiY0&m=1383861459" alt ="Putting this shit in my bag" data-cloudzoom = "useZoom: '.cloudzoom', image:'http://brecksargent.com/slideshowpro/albums/album-16/lg/lig2_on.jpg', zoomImage:'http://brecksargent.com/slideshowpro/albums/album-16/lg/lig2_on.jpg' "> </li><li><img class = 'cloudzoom-gallery' id="hover5" src ="http://brecksargent.com/slideshowpro/p.php?a=ZWd%2FYHBlZ3x2VWRsPW5xbC47ICs4OzoLKzc5MS4jKyInPjE%2FPzs%2FMTonMj80LT4uPyY%3D&m=1383861464" alt ="Happy V-Day" data-cloudzoom = "useZoom: '.cloudzoom', image:'http://brecksargent.com/slideshowpro/albums/album-16/lg/pumacolor_on.jpg', zoomImage:'http://brecksargent.com/slideshowpro/albums/album-16/lg/pumacolor_on.jpg' "> </li><li><img class = 'cloudzoom-gallery' id="hover6" src ="http://brecksargent.com/slideshowpro/p.php?a=ZWd%2FYGdveGdbZWUseXRmJzM8OjY5OwMuNjY5LTM%2BMCA%2BIi0mOicmNCY7LiMoNCc3Og%3D%3D&m=1383861469" alt ="Stairwell crouching new Olympic Sport" data-cloudzoom = "useZoom: '.cloudzoom', image:'http://brecksargent.com/slideshowpro/albums/album-16/lg/pumatest_on.jpg', zoomImage:'http://brecksargent.com/slideshowpro/albums/album-16/lg/pumatest_on.jpg' "> </li>
- </ul>
- </div>
- </div>
- </div>
- <script type="text/javascript" src="http://www.pixlsnap.com/j/js/jquery.elastislide.js"></script>
- <script type="text/javascript">
- $( '#carousel' ).elastislide({
- onClick: null
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement