[annotator-dev] Accessing store options in demo.html

Ewald Zietsman ewald at siyavula.com
Wed Aug 10 09:25:28 UTC 2011


Thanks, that works :-)

On Wed, Aug 10, 2011 at 11:20 AM, Nick Stenning <nick at whiteink.com> wrote:

>
> On 10 Aug 2011, at 10:05, Ewald Zietsman wrote:
>
> > I need to set the store's prefix to some value but I can't see how its
> done anywhere in the documentation.
>
> Hi Ewald,
>
> This is done as seen on the front page of the Annotator website:
>
>    http://okfn.github.com/annotator/
>
> You pass an extra argument to the annotator() function, i.e.
>
>    $('#content').annotator()
>                 .annotator('addPlugin', 'Store', {
>                   prefix: '/my/custom/prefix'
>                 });
>
> Hope that helps,
>
> Nick




-- 
*
Ewald Zietsman

Technical Coor**dinator*
*
*
*
*
Website: www.siyavula.com
The Open Innovation Studio, 27 Buitenkant Street, Cape Town, 8001

A Shuttleworth Foundation Seeded Project
Website: www.shuttleworthfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20110810/5980d250/attachment-0002.html>


More information about the annotator-dev mailing list