This file contains hidden or 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
| <!-- Slider counter structer --> | |
| <div class="slide-count-wrap trck-count"> | |
| <div class="prev"></div> | |
| <div class="next"></div> | |
| <span class="current"></span> / | |
| <span class="total"></span> | |
| </div> | |
| <script> |
This file contains hidden or 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 css for edge broser */ | |
| @supports (-ms-ime-align:auto) | |
| { | |
| .why-choose-us { | |
| background-attachment: scroll; | |
| } | |
| } | |
| /* This css for IE broser */ | |
| @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { |
This file contains hidden or 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
| var maxHeight = 0; | |
| var heightHolder = []; | |
| $(".wine-info-wrap").each(function(i){ | |
| var getHeight = $(this).outerHeight(); | |
| heightHolder.push(getHeight) | |
| maxHeight = Math.max.apply(null, heightHolder); | |
| }) | |
| $(".wine-info-wrap").each(function(){ |
This file contains hidden or 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
| /* See related post at | |
| https://codepen.io/Javarome/post/full-page-sliding | |
| */ | |
| var width = 0; | |
| $(".scroller-wrap > div").each(function() { | |
| width += $(this).outerWidth( true ); | |
| }); | |
| $('.scroller-wrap').css('width', width); |
This file contains hidden or 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
| $(document).on('DOMMouseScroll mousewheel', function(e) { | |
| var moved = e.originalEvent.wheelDelta || e.originalEvent.detail * -1 || 0; | |
| if (moved > 0) { | |
| // scrolled up | |
| } else if (moved < 0) { | |
| // scrolled down | |
| } | |
| }); |
This file contains hidden or 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
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0, user-scalable=no"> | |
| <meta name="format-detection" content="telephone=no"> | |
| <title> Linton-Park | Our Wines Selected </title> | |
| <style> | |
| body { | |
| margin:0; | |
| padding:0; |
This file contains hidden or 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
| var totalItem = $('#firstMiddle-link-info li').length, | |
| tM = $("#secondMiddle-link-info li").css("margin").split(" "), | |
| Margin = { | |
| Top: tM[0] != null ? parseInt(tM[0]) : 0, | |
| Right: tM[1] != null ? parseInt(tM[1]) : (tM[0] != null ? parseInt(tM[0]) : 0), | |
| Bottom: tM[2] != null ? parseInt(tM[2]) : (tM[0] != null ? parseInt(tM[0]) : 0), | |
| Left: tM[3] != null ? parseInt(tM[3]) : (tM[1] != null ? parseInt(tM[1]) : (tM[0] != null ? parseInt(tM[0]) : 0)) | |
| }, | |
| TotalMargin = Margin.Right + Margin.Left, |
This file contains hidden or 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
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0, user-scalable=no"> | |
| <meta name="format-detection" content="telephone=no"> | |
| <title>Title</title> | |
| <link type="text/css" rel="stylesheet" href="css/style.css"> | |
| <script type="text/javascript" src="scripts/jquery-1.12.4.min.js"></script> |
This file contains hidden or 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
| var delayTime = 0.2 | |
| $('.menu-wrap ul li').each(function(i){ | |
| $(this).find(' > a').css({ | |
| 'transition-delay' : delayTime + (i * .05) + 's' | |
| }); | |
| }) |