[annotator-dev] annotation viewer displayed in the wrong place
Gong Huaiyu James (NCS)
jamesh at ncs.com.sg
Wed Apr 16 07:35:50 UTC 2014
The quick fix and temp solution for this issue: I modified the annotator.min.js
search "left:b.pageX" and change into "left:b.pageX-200" 200 is the my left block small window width pixels!
Thanks
-----Original Message-----
From: Gong Huaiyu James (NCS)
Sent: Wednesday, 16 April 2014 1:01 PM
To: 'annotator-dev at lists.okfn.org'
Subject: RE: annotation viewer displayed in the wrong place
Hi , Team:
The viewer/editor DIV style left position should minus the left block window width.
<div class="annotator-outer annotator-viewer annotator-hide" style="top: 142px; left: 487px;">
<div class="annotator-outer annotator-editor" id="yui_patched_dev_3_x_1_1397622015226_439" style="top: 190px; left: 501px;">
The question is how to do minus the left block window width before pop up the annotation editor/Viewer?
I am trying catch the two events "annotationEditorShown" and "annotationViewerShown" and change the Editor/Viewer style .
.subscribe("annotationEditorShown
.subscribe("annotationViewerShown",
Best Regards
-----Original Message-----
From: Gong Huaiyu James (NCS)
Sent: Tuesday, 15 April 2014 3:25 PM
To: annotator-dev at lists.okfn.org
Subject: annotation viewer displayed in the wrong place
Hi, Team :
Please see the attached screenshots, When the left bar space is more(the left red rectangle area) , the annotation viewer is displayed far from the selected text(the quoted text), It should be displayed at the top of the selected text.
More information about the annotator-dev
mailing list