Loading 2html.xsl +1 −1 Changes for 2html.xsl: 1 added line, 1 removed line. Original line number Diff line number Diff line certic.xsl No newline at end of file certic-jats2html.xsl No newline at end of file certic.xsl→certic-jats2html.xsl File moved. View file resources/javascript/xml2html.js +8 −3 Changes for resources/javascript/xml2html.js: 8 added lines, 3 removed lines. Original line number Diff line number Diff line window.addEventListener('DOMContentLoaded', (event) => { //todo : how to remove it from ojs template ? //@todo : how to remove it from ojs template ? document.querySelectorAll("link").forEach((e) => { let href = e.getAttribute('href'); //@todo : removes 2 last tests (pdn-pp tests only) Loading Loading @@ -44,12 +44,13 @@ function bindFootnotes() { let footnote = document.getElementById(fnc.dataset.target) fnc.addEventListener('click', () => { openTab('footnotes'); console.log(fnc.dataset.target); document.getElementById(fnc.dataset.target).scrollIntoView({ block :'center', behavior: "smooth" }); document.querySelectorAll('.footnote').forEach((fn) => fn.classList.remove('focus')); document.querySelectorAll('.footnote').forEach( (fn) => fn.classList.remove('focus') ); footnote.classList.add('focus'); }); Loading @@ -60,6 +61,10 @@ function bindFootnotes() { block :'start', behavior: "smooth" }); document.querySelectorAll('.footnote').forEach( (fn) => fn.classList.remove('focus') ); footnote.classList.add('focus'); }) }) Loading resources/styles/article.css +1 Changes for resources/styles/article.css: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ section.back{ .article-wrap{ max-width: 820px; margin-left: auto; margin-right: auto; } .right-contents { Loading Loading
2html.xsl +1 −1 Changes for 2html.xsl: 1 added line, 1 removed line. Original line number Diff line number Diff line certic.xsl No newline at end of file certic-jats2html.xsl No newline at end of file
resources/javascript/xml2html.js +8 −3 Changes for resources/javascript/xml2html.js: 8 added lines, 3 removed lines. Original line number Diff line number Diff line window.addEventListener('DOMContentLoaded', (event) => { //todo : how to remove it from ojs template ? //@todo : how to remove it from ojs template ? document.querySelectorAll("link").forEach((e) => { let href = e.getAttribute('href'); //@todo : removes 2 last tests (pdn-pp tests only) Loading Loading @@ -44,12 +44,13 @@ function bindFootnotes() { let footnote = document.getElementById(fnc.dataset.target) fnc.addEventListener('click', () => { openTab('footnotes'); console.log(fnc.dataset.target); document.getElementById(fnc.dataset.target).scrollIntoView({ block :'center', behavior: "smooth" }); document.querySelectorAll('.footnote').forEach((fn) => fn.classList.remove('focus')); document.querySelectorAll('.footnote').forEach( (fn) => fn.classList.remove('focus') ); footnote.classList.add('focus'); }); Loading @@ -60,6 +61,10 @@ function bindFootnotes() { block :'start', behavior: "smooth" }); document.querySelectorAll('.footnote').forEach( (fn) => fn.classList.remove('focus') ); footnote.classList.add('focus'); }) }) Loading
resources/styles/article.css +1 Changes for resources/styles/article.css: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ section.back{ .article-wrap{ max-width: 820px; margin-left: auto; margin-right: auto; } .right-contents { Loading