This repository was archived by the owner on Apr 2, 2023. It is now read-only.

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.