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 $lC = $loadingObject.find('.loading-cube'), | |
sT = $(window).scrollTop(), | |
eOT = $thisOffset.top, | |
eH = $this.height(), | |
wH = $(window).height(), | |
cH = 25, | |
nCP; | |
eVH; | |
if(sT > eOT) { | |
if(eOT + cH > sT + wH) { |
- When scrolling inline element, add CSS class to allow JS to prevent body scroll when reaching end of element's scroll
- When scrolling body, don't allow other elements to scroll (another CSS class?), find all elements with overflow
auto
orscroll
, and temporarily add class to prevent scroll, then on stop, remove said class.
Fix ECFE Course dates issue, examples:
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
/* Firefox display hack */ | |
@media only screen and (max-width: 600px) { | |
table[class="body"] .row tr, | |
table[class="body"] .row tbody { | |
display: block; | |
} | |
} |
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
COLORS: | |
Blue: #459ED8 | |
Red: #E25566 | |
Purple: #9D66AB | |
Yellow: #EDAE03 | |
Green: #60B687 | |
CSS Classes |
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
<!-- | |
You can't do position absolute + visibility/opacity in gmail | |
display: none; only works if you inline it as !important, but then this destroys the functionality for | |
all other clients, this workaround has been working wonders for us!!! | |
--> | |
<style> | |
div.gmail { | |
display: block; | |
width: 0; | |
overflow: hidden; |
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
window.detect_browser = function() { | |
window.is_chrome = navigator.userAgent.indexOf('Chrome') > -1; | |
window.is_explorer = navigator.userAgent.indexOf('MSIE') > -1; | |
window.is_firefox = navigator.userAgent.indexOf('Firefox') > -1; | |
window.is_safari = navigator.userAgent.indexOf("Safari") > -1; | |
window.is_Opera = navigator.userAgent.indexOf("Presto") > -1; | |
if ((window.is_chrome)&&(window.is_safari)) {window.is_safari=false;} | |
} | |
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
if(window.chrome != undefined) { | |
} | |
if(window.opera != undefined) { | |
} | |
if(window.mozInnerScreenX != undefined) { | |
} | |
if(window.safari != undefined) { |
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
#!/usr/bin/env bash | |
# This is an RVM Project .rvmrc file, used to automatically load the ruby | |
# development environment upon cd'ing into the directory | |
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional. | |
environment_id="ruby-1.9.2-p180@TCE" | |
# | |
# Uncomment the following lines if you want to verify rvm version per project |