elifesciences/lens

Can I render it outside the body?

Opened this issue · 1 comments

Hi, I made this question in the PKP forum

Is it possible to add a div inside the body and render all the content in that div?

how?

thanks!

gnott commented

I imagine yes, if in https://github.com/elifesciences/lens/blob/develop/reader/lens_view.js the $('body') selectors are changed, and in the HTML template you use it has the particular <div> tag you added. I didn't test it but it would probably work. I'm not entirely sure how PKP has connected it, or if you would be able to substitute it there.