Skip to content

Instantly share code, notes, and snippets.

@jakul
Last active December 15, 2015 05:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakul/5207440 to your computer and use it in GitHub Desktop.
Save jakul/5207440 to your computer and use it in GitHub Desktop.
// 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