Citations.
This commit is contained in:
@ -172,17 +172,6 @@ while ($row = $series->fetchArray()) {
|
|||||||
<!-- Core theme CSS (includes Bootstrap)-->
|
<!-- Core theme CSS (includes Bootstrap)-->
|
||||||
<link href="item/css/styles.css" rel="stylesheet" />
|
<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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -249,6 +238,17 @@ while ($row = $series->fetchArray()) {
|
|||||||
<h3 class="fw-bolder"><u>Citations</u></h3><br />
|
<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>
|
<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>
|
<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>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h3 class="fw-bolder"><u>Metadata</u></h3>
|
<h3 class="fw-bolder"><u>Metadata</u></h3>
|
||||||
|
Reference in New Issue
Block a user