Forum

Give annotation anchor divs a javascript ID (to enable manipulating them)

16 August 2018 19:38
Well, pretty much what the title line says. I would like to address the DIVs created by the engine for annotation anchors AND for their description element to manipulate them with Javascript dynamically.

This is not possible currently because create_annotation() and create_anchor_descr_elem() in anchors.js create these DIVs with document.createElement("div") but then they don't give IDs to the DIVs.

It would be very helpful to be able to address the divs. Other users have been asking about this too.
25 September 2018 10:29
 
Please register or log in to leave a reply.