Website: Make printable version with footnotes?

Posted by DavidR on Stack Overflow See other posts from Stack Overflow or by DavidR
Published on 2010-06-02T04:28:32Z Indexed on 2010/06/02 4:33 UTC
Read the original article Hit count: 276

Filed under:
|
|

I have a website that uses editable divs so that a user can modify or make notes to a text. Is there a way I can have the website generate a pdf or some printable document with footnotes, such that if a user has this:

<div class="text" id="text_1">
    <div class="bodyTest">This is the body text</div>
    <div class="notes">These are the notes</div>
</div>
<div class="text" id="text_2">
    <div class="bodyTest">This is the body text</div>
    <div class="notes">These are the notes</div>
</div>

the website will generate a printable version (or document) in such a way thatdiv.notes will appear as a footnote on the same page on which div#text_1 appears? I don't need a full answer, just a shove in the general direction will be amazing. Thanks.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about pdf