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
(function () { | |
var tapClass = ""; | |
var hoverClass = ""; | |
var Hover = window.Hover = function (ele) { | |
return new Hover.fn.init(ele); | |
}; | |
Hover.fn = { | |
//Hover Instance | |
init : function (ele) { |
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
(function () { | |
var offsetX = 0; | |
var offsetY = 0; | |
var offsetScroolY = 0; | |
var currentDeg = 0; | |
var currentX = 0; | |
var currentY = 0; | |
var dX = 0; | |
var dY = 0; |
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
$.extend({ | |
attachScrollEventTracking: function(eventcategory, pagePartsIdList) { | |
var pageParts = {}; | |
var windowHeight = $(window).height(); | |
$.each(pagePartsIdList, function(key, pagePartsId){ | |
//console.log(pagePartsId); | |
var target = $("#" + pagePartsId); | |
if (target.length > 0) { | |
pageParts[pagePartsId] = target.offset().top; |