I'm a member of the copyleft FAT Lab and study the internet at Rocketboom
I also teach the Internet Famous Class at Parsons, where your grade depends on your online popularity.
As seen on
NBC,
TIME,
CurrentTV,
Gawker,
BuzzFeed
, ArtNews
Using the fabulous jQuery Javascript library. (P.S. I need a good syntax highlighting plugin; ako_syntax isn't flying)
<script type="text/javascript" src="/javascript/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.ajaxLoad').click(function() {
$('#replaceMe').load("<txp:permlink />") );
});
});
</script>
<txp:dub_if_ajax>
This page <strong>was</strong> requested with XMLHttpRequest! Sweet!
<txp:else />
This page was <em>not</em> requested with XMLHttpRequest. <a href="#" class="ajaxLoad">Load it below using Ajax</a>
<p id="replaceMe"></p>
</txp:dub_if_ajax>
Commenting is closed for this article.