Citations.
This commit is contained in:
@ -172,17 +172,6 @@ while ($row = $series->fetchArray()) {
|
||||
<!-- Core theme CSS (includes Bootstrap)-->
|
||||
<link href="item/css/styles.css" rel="stylesheet" />
|
||||
|
||||
<script>
|
||||
let text = document.getElementById('chicago').innerHTML;
|
||||
const copyContent = async () => {
|
||||
try {
|
||||
await navigator.clipboard.writeText(text);
|
||||
console.log('Content copied to clipboard');
|
||||
} catch (err) {
|
||||
console.error('Failed to copy: ', err);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@ -249,6 +238,17 @@ while ($row = $series->fetchArray()) {
|
||||
<h3 class="fw-bolder"><u>Citations</u></h3><br />
|
||||
<p class="metadata" id="chicago"><?php echo $row_author_sort.' <em>'.$row_title.'.</em> '.$row_publisher.', '.$row_pubdate.'.' ?></p>
|
||||
<button onclick="copyContent()">Copy Chicago citation</button>
|
||||
<script>
|
||||
let text = document.getElementById('chicago').innerHTML;
|
||||
const copyContent = async () => {
|
||||
try {
|
||||
await navigator.clipboard.writeText(text);
|
||||
console.log('Content copied to clipboard');
|
||||
} catch (err) {
|
||||
console.error('Failed to copy: ', err);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h3 class="fw-bolder"><u>Metadata</u></h3>
|
||||
|
Reference in New Issue
Block a user