#content-bulk footer img {
box-shadow: none; }
+.fancybox {
+ display: inline-block;
+ height: 100%;
+ width: 100%; }
+
+.fancybox iframe {
+ z-index: 2; }
+
+.iframe-screen {
+ background: transparent;
+ width: 100%;
+ position: absolute;
+ top: 150px;
+ height: 248px; }
+
@media only screen and (max-width: 40em) {
#slideshow {
height: 270px; } }
<img alt="Downtown Petoskey" src="http://cams.gaslightmedia.com/cameras/images/GLM-Downtown-Medium.jpg?x=1">
</div>
<div class="show-for-large-up large-4 columns text-center right">
+ <div class="iframe-screen"> <a href="https://player.vimeo.com/video/128990353" class="fancybox fancybox.iframe" data-fancybox-type="iframe"> </a>
+</div>
<h3 class="text-center large-text-left">Featured Video</h3>
- <iframe src="https://player.vimeo.com/video/128990353" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
+ <iframe src="https://player.vimeo.com/video/128990353" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
<div class="show-for-medium-down small-11 columns small-centered">
<p><a target="_blank" href="http://cams.gaslightmedia.com/cameras/images/GLM-Downtown-Medium.jpg?x=1">Full Resolution</a> ● <a href="#">Refresh Image</a> (image updates at one minute intervals) </p>
//console.log('ul = ' + menuImg);
//console.log('menu-id = ' + menuNum);
});
- $("#second-row iframe").fancybox({
-
+// $("#second-row iframe").fancybox({
+//
+// helpers: {
+// overlay: { locked: false },
+// title: { type: 'inside'},
+// },
+// afterLoad: function(){
+// this.title = $(this.element).find('img').attr('alt');
+// }
+// });
+ $(".fancybox").fancybox({
+ type: 'iframe',
helpers: {
overlay: { locked: false },
title: { type: 'inside'},
//console.log('ul = ' + menuImg);
//console.log('menu-id = ' + menuNum);
});
- $("#second-row iframe").fancybox({
-
+// $("#second-row iframe").fancybox({
+//
+// helpers: {
+// overlay: { locked: false },
+// title: { type: 'inside'},
+// },
+// afterLoad: function(){
+// this.title = $(this.element).find('img').attr('alt');
+// }
+// });
+ $(".fancybox").fancybox({
+ type: 'iframe',
helpers: {
overlay: { locked: false },
title: { type: 'inside'},
}
}
}
+.fancybox{
+ display: inline-block;
+ height: 100%;
+ width: 100%;
+}
+
+.fancybox iframe { z-index: 2; }
+.iframe-screen{
+ background:transparent;
+ width:100%;
+ position: absolute;
+ top: 150px;
+ height: 248px;
+}