This repository was archived by the owner on Apr 2, 2023. It is now read-only.
This repository was archived by the owner on Apr 2, 2023. It is now read-only.
[Annotorious] usage #204
Open
Description
How to use annotorious.js with dynamic images.
For Example: var img = $('');
img.attr('src', samplePath + 'pages/' + (page - 2) + '.jpg');
img.load(function () {
var container = $('.docs-brochure .p' + page);
img.css({ width: container.width(), height: container.height() });
img.appendTo($('.docs-brochure .p' + page));
//anno.makeAnnotatable(document.getElementById(page));
});
Please help, Thanks.
Metadata
Metadata
Assignees
Labels
No labels