It often surprises me to see the ways people come up with uses for Tippy. Someone recently asked about embedding a PDF in Tippy. Here is one way to do it:
The code for this is straightforward since (almost) any markup can be added inside a tooltip:
[tippy title="You should see a PDF in this tooltip" height="400" width="600" autoclose="false"] <object data="http://croberts.me/wp-content/uploads/2013/08/decind.pdf" type="application/pdf" width="100%" height="100%"> <p>Be sure to include an alternate download method. <a href="http://croberts.me/wp-content/uploads/2013/08/decind.pdf">The Declaration of Independence</a></p> </object> [/tippy]
The tooltip itself is fairly typical: a title, a manually specified width and height, and autoclose set to false. You will probably want to do that – prevent Tippy from automatically closing when displaying a PDF inside a tooltip. Inside the tooltip is a standard object tag which can embed the PDF in any page – in this case, embedding it inside the tooltip.
Be sure to keep in mind that some browsers or some computers might not be able to embed a PDF on a web page.