Created
May 26, 2011 12:07
-
-
Save 0xRoch/993004 to your computer and use it in GitHub Desktop.
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
$(document).ready(function() { | |
$('.insite').live("click", function(ev) { | |
var href = $(this).attr('href'); | |
if ( history.pushState ) history.pushState( {}, document.title, href); | |
ev.preventDefault(); | |
$('#content').fadeOut().load(href+' #content', function() { | |
$(this).fadeIn(); | |
_gaq.push(['_trackPageview', href ]); | |
//window.disqus_no_style = true; | |
//$.getScript("http://disqus.com/forums/mnml/embed.js") | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment