Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demonstration on Annotator home page not working #36

Open
alexandergantikow opened this issue Jun 4, 2020 · 1 comment
Open

Demonstration on Annotator home page not working #36

alexandergantikow opened this issue Jun 4, 2020 · 1 comment

Comments

@alexandergantikow
Copy link

Dear developers,

it seems that your demo on http://annotatorjs.org/ does not work anymore. The JavaScript files can't be loaded. My Chrome (v83) console returns:

annotatorjs.org/:20 GET http://assets.annotateit.org/annotator/v1.2.10/annotator.min.css net::ERR_NAME_NOT_RESOLVED
annotatorjs.org/:242 GET http://assets.annotateit.org/annotator/v1.2.10/annotator-full.min.js net::ERR_NAME_NOT_RESOLVED
(index):296 GET http://annotatorjs.org/css/images/glyph-logo.png 404 (Not Found)
(index):286 Uncaught TypeError: $(...).annotator is not a function
at initAnnotator ((index):286)
at initAnnotator:1

Best,
Alexander

@zahqresh
Copy link

zahqresh commented Dec 4, 2020

Hi,

You need to download the annotator.min.css and annotator-full.min.js from here https://github.com/openannotation/annotator/releases/tag/v1.2.10 and then add them in your html file with link and script tag this should solve the error that says net::ERR_NAME_NOT_RESOLVED which means you are trying get something thats not there or ip adress cant be found.

For the other error you are facing Uncaught TypeError: $(...).annotator is not a function you should include jquery in your file if you haven't and it should be in the header that way it will work because its a jquery function thats where its having problem finding the function for the other parts follow the guide on annotatorjs docs you should be good to go.

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants