[annotator-dev] AnnotatorJs on iFrame
tilgovi at hypothes.is
Wed Feb 4 05:47:17 UTC 2015
On Tue, Jan 27, 2015 at 2:08 AM, Gianpaolo Trotta <
gianpaolo.trotta at gmail.com> wrote:
> I use readiumJS to read ebook.
> I would annotate this ebook but ebook viewer is in an iFrame.
> I add js and css annotator's files in head of iFrame but annotator doesn't
> work maybe because
> <div class="annotator-notice"></div>
> <div class="annotator-touch-widget annotator-touch-controls
> are in the document of html container page and not in the document of
I'm not aware of any reason why this should happen if you put the scripts
in the iframe head.
> The annotator js file is minified and so i can't modify it.
The un-minified version can be found here:
If you determine the cause I'd be glad to help fix it.
Even a simple test case, perhaps an example html page with an iframe in it
and no other scripts beside annotator would help to reproduce and see what
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the annotator-dev