Difference between revisions of "Template:Team:UGent Belgium/header"

 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
     a.fancybox img {
 
     a.fancybox img {
 
         border: none;
 
         border: none;
        box-shadow: 0 1px 7px rgba(0,0,0,0.6);
 
 
         -o-transform: scale(1,1); -ms-transform: scale(1,1); -moz-transform: scale(1,1); -webkit-transform: scale(1,1); transform: scale(1,1); -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
 
         -o-transform: scale(1,1); -ms-transform: scale(1,1); -moz-transform: scale(1,1); -webkit-transform: scale(1,1); transform: scale(1,1); -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
 
     }  
 
     }  
Line 18: Line 17:
 
     }
 
     }
 
</style>
 
</style>
 
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
 
<script type="text/javascript" src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
 
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/fancybox/1.3.4/jquery.fancybox-1.3.4.pack.min.js"></script>
 
<script type="text/javascript">
 
    $(function($){
 
        var addToAll = false;
 
        var gallery = true;
 
        var titlePosition = 'inside';
 
        $(addToAll ? 'img' : 'img.fancybox').each(function(){
 
            var $this = $(this);
 
            var title = $this.attr('title');
 
            var src = $this.attr('data-big') || $this.attr('src');
 
            var a = $('<a href="#" class="fancybox"></a>').attr('href', src).attr('title', title);
 
            $this.wrap(a);
 
        });
 
        if (gallery)
 
            $('a.fancybox').attr('rel', 'fancyboxgallery');
 
        $('a.fancybox').fancybox({
 
            titlePosition: titlePosition
 
        });
 
    });
 
    $.noConflict();
 
</script>
 
  
 
</head>
 
</head>
 
</html>
 
</html>

Latest revision as of 23:13, 3 September 2016

Bootstrap 101 Template