Last active
December 15, 2015 05:09
-
-
Save jakul/5207440 to your computer and use it in GitHub Desktop.
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
// the below doesn't work when IE7's privacy settings are set to block 3rd party cookies | |
$('.got-question').click(function(){ | |
if (typeof(window.olark) !== "undefined") { | |
//olark is present | |
} | |
else { | |
//olark is absent | |
} | |
}); | |
// This is the solution suggested by Joe @ Olark | |
alert($('#habla_window_div').height()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment