2010/8/14 Magnus Manske magnusman...@googlemail.com:
Hi all,
after some discussion on wikitech-l, I made a Google Books-like
display demo for wikisource content.
Please do not confuse en Wikisource with Wikisource. BTW: I don't
understand the sense of this viewer.
Klaus Graf
On Sat, Aug 14, 2010 at 8:00 PM, thoma...@gmx.de wrote:
nice demo ; it would be nice to make it more efficient.
I see that you are generating images with a size that is adapted to the
user's screen. If you do this, hundreds of thumbnails of all possible sizes
will be generated at commons
Also, in on_body_scroll, you could avoid the for loop : divide
$('#body').position()['scrollTop'] by the height of an image
'fraid not - sometimes the rendered text runs longer than the image,
so the row can be higher than the image. Example: