[annotator-dev] annotator ipad support

Gong Huaiyu James (NCS) jamesh at ncs.com.sg
Wed Oct 16 09:47:53 UTC 2013


When we  add a new annotation,   The annotator captures mouse down/mouse up event,  but the touch screen ipad   has no mouse down/mouse up event,  How to make it working?

Any alternative solution for iPAD/iPhone?

Thanks



-----Original Message-----
From: annotator-dev-bounces at lists.okfn.org [mailto:annotator-dev-bounces at lists.okfn.org] On Behalf Of annotator-dev-request at lists.okfn.org
Sent: Thursday, 10 October, 2013 7:00 PM
To: annotator-dev at lists.okfn.org
Subject: annotator-dev Digest, Vol 30, Issue 7

Send annotator-dev mailing list submissions to
	annotator-dev at lists.okfn.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.okfn.org/mailman/listinfo/annotator-dev
or, via email, send a message with subject or body 'help' to
	annotator-dev-request at lists.okfn.org

You can reach the person managing the list at
	annotator-dev-owner at lists.okfn.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of annotator-dev digest..."


Today's Topics:

   1. Re: Plugin Development Question (Ulrike Schmidt)


----------------------------------------------------------------------

Message: 1
Date: Wed, 09 Oct 2013 21:10:28 +0200
From: Ulrike Schmidt <ulrike at gol.com>
Subject: Re: [annotator-dev] Plugin Development Question
To: annotator-dev at lists.okfn.org
Message-ID: <5255AA24.6000300 at gol.com>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

Ooops, it is my expectations that were wrong. The message does not appear in the editor, but when I finish editing and then hover over the annotation, it does appear. Problem solved! :-)



Am 08.10.13 23:58, schrieb Ulrike Schmidt:
> The first problematic line is:
> plugin.pluginInit:  function  ()  {
>
> Firebug says: " invalid label"
>
> So I changed it to:
> plugin.pluginInit = function () {
>
> Firebug says: " annotator is not defined"
>
>
> Am 08.10.13 19:11, schrieb Randall Leeds:
>>
>> Looks like it should be "this.annotator".
>>
>> Do you get a stack trace? Console errors?
>>
>
> With this I get no Console errors, but also no message if I add the 
> plugin according to the wiki instructions and make an annotation:
> $('body').annotator().annotator('addPlugin', 'Message', 'Hello World!')
>
>> On Oct 8, 2013 8:43 AM, "Ulrike Schmidt" <ulrike at gol.com 
>> <mailto:ulrike at gol.com>> wrote:
>>
>>     Hello,
>>
>>     I am trying to develop a plugin for annotator that adds fields to
>>     the viewer and had a close look at
>>     https://github.com/okfn/annotator/wiki/Plugin-Development.
>>     Unfortunately the following example code from the wiki does not work:
>>
>>     Annotator.Plugin.Message  =  function  (element,  message)  {
>>        var  plugin  =  {};
>>
>>        plugin.pluginInit:  function  ()  {
>>            annotator.viewer.addField({
>>              load:  function  (field,  annotation)  {
>>                field.innerHTML  =  message;
>>              }
>>            })
>>        };
>>
>>        return  plugin;
>>     }
>>
>>
>>     Could someone enlighten me on how to get this working?
>>
>>     Thanks!
>>
>>     Ulrike
>>
>>
>>
>>     _______________________________________________
>>     annotator-dev mailing list
>>     annotator-dev at lists.okfn.org <mailto:annotator-dev at lists.okfn.org>
>>     http://lists.okfn.org/mailman/listinfo/annotator-dev
>>     Unsubscribe: http://lists.okfn.org/mailman/options/annotator-dev
>>
>
>
>
> _______________________________________________
> 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/20131009/be71838f/attachment-0001.htm>

------------------------------

_______________________________________________
annotator-dev mailing list
annotator-dev at lists.okfn.org
http://lists.okfn.org/mailman/listinfo/annotator-dev
Unsubscribe: http://lists.okfn.org/mailman/optionss/annotator-dev


End of annotator-dev Digest, Vol 30, Issue 7
********************************************




More information about the annotator-dev mailing list