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='someWrapper'> | |
<div class='gDrop' data-trigger='parent' data-target='-2' data-align='right'></div> | |
</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).on("throttledresize", function (event) { | |
$('.srSubCatSl').hide(); | |
$('.srSubCatSl').width(0); $('.srSubCatSl').width($('.srSubCatSl').parent().width()); | |
$('.srSubCatSl').show(); | |
if (typeof subCatSl != "undefined") {subCatSl.update(true);} | |
}); | |
window.addEventListener("orientationchange", function () { | |
$('.srSubCatSl').hide(); | |
$('.srSubCatSl').width(0); $('.srSubCatSl').width($('.srSubCatSl').parent().width()); | |
$('.srSubCatSl').show(); |
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
$(document).bind('breakpointChanged', function () { | |
}); |
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).TabWindowVisibilityManager({ | |
onFocusCallback: function(){ | |
// tween resume() code goes here | |
}, | |
onBlurCallback: function(){ | |
// tween pause() code goes here |
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
/* Header Main Navigation Links */ | |
.headermainnav a {} | |
.headermainnav a:hover {} | |
.headermainnavHighlight a {} | |
.headermainnavHighlight a:hover {} | |
/* Default Input Boxes */ | |
.DefaultInput {border:1px solid #ccc; font-size:13px; line-height:16px; padding:5px 3px; height:28px; background:white; -moz-border-radius: 2px;-webkit-border-radius: 2px;-khtml-border-radius: 2px;border-radius: 2px;} | |
.DefaultSelect {border:1px solid #ccc; font-size:13px; line-height:24px; padding:2px 1px; height:24px; background:white; -moz-border-radius: 2px;-webkit-border-radius: 2px;-khtml-border-radius: 2px;border-radius: 2px; height:28px;} |
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
if ( (jQuery.trim($('.SubThankYouMes').html())).length > 0 ) { | |
// do stuff here | |
} |
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
Decode Entities function is supported natively in SCE. | |
Example Call: | |
decodeEntities($('.tempSubBoxThankYou').html()) |
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.fn.extend({ | |
renameAttr: function (name, newName, removeData) { | |
var val; | |
return this.each(function () { | |
val = jQuery.attr(this, name); | |
jQuery.attr(this, newName, val); | |
jQuery.removeAttr(this, name); | |
// remove original data | |
if (removeData !== false) { | |
jQuery.removeData(this, name.replace('data-', '')); |
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
// PURE JS VERSION NEW: | |
var event = new CustomEvent("TEALoaded"); | |
document.dispatchEvent(event); | |
document.addEventListener('TEALoaded', function(e) {alert("tealoaded")}); | |
// example event creation | |
jQuery.event.trigger('onMegaMenuOpen'); |