sthibault bookmarked a link:
Today we are going to look at getting the content of a post using ajax and then display it in a popup box. The popup part is actually the easiest part, thanks to the fantastic Simple Modal plugin for jQuery written by Eric Martin.
So the basics here are:
* we call a page using ajax, passing the id of the post
* The page grabs the content of the post we requested and returns it to the script
* We then output the content in a div and “simplemodal” it