[annotator-dev] Ask for help

Rufus Pollock rufus.pollock at okfn.org
Fri Apr 19 12:02:30 UTC 2013


See the github repo for uncompressed source:

https://github.com/okfn/annotator

Rufus


On 18 April 2013 17:27, Gong Huaiyu James (NCS) <jamesh at ncs.com.sg> wrote:

>  Hi, Team:
>              The annotator  is very easy to use.      We can enhance it
> together.  I would like to join the team.   And we  need to enhance
> annotator.min.js    How to get a uncompressed Javascript copy?
> The current version is not readble version .
>                My questions and suggestions are as following:
>
>    1. How to change the highlighted text color?
>
>
>
>    1. The currently  highlighted text   HTML are as following:
>
> <span class="annotator-hl" style="background-color: rgb(46, 254, 46);">
>        Highlighted text 1….
>  </span>
> <span class="annotator-hl"    style="background-color: rgb(46, 46,
> 254);">
>        Highlighted text 2 ….
>  </span>
>
>              Can we add the annotations  ID into the <span> node  as
> following:
> <span class="annotator-hl" id= annotation[id]   style="background-color:"+
> annotation[color]>
>        Highlighted text 1
> </span>
> <span class="annotator-hl"  id= id= annotation[id]
> style="background-color:"+ annotation[color]>
>      Highlighted text 2 ….
> </span>
>
>
>    1. How to print the annotations with the master document in HTML?
>
>
> I suggest append the annotations after the master documents
>
>
>   Print  Master  doc HTML
>
> *All the annotations*
> *[1**] annotations1*
> *[2**] annotations2*
> *[3**] annotations3*
>
> And append the [1] , [2], [3]    after the selected/highlighted  range
> text in the master doc,  So the user can know which annotation is belong to
> which highlighted text.
>
> Warmest Regards
> James
>
>
>
>
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/annotator-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20130419/3d2de423/attachment-0001.html>


More information about the annotator-dev mailing list