including item list rather than copy/paste
Arkanic opened this issue · 4 comments
Arkanic commented
could you include the items list with a bit of code rather than copy/pasting it into every page?
something like this:
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js">
$(
function() {
$("#includeContent").load("itembar.htm");
});
</script>
</head>
<body>
<p>i is p element</p>
<div id="includeContent"></div>
</body>
</html>
it may be useful if new items are added, as it saves completely re-writing every file.
i made an issue bc i am nobody to tamper with code like this
Anuken commented
Which items list are you referring to?
Anuken commented