Added dropin (untested), updated some of the README

This commit is contained in:
2021-05-05 15:12:31 -06:00
parent 3ec4225c36
commit c49fc707ea
2 changed files with 17 additions and 2 deletions

14
dropin.html Normal file
View File

@@ -0,0 +1,14 @@
<script src="https://labs.murkfall.net/bluesaxman/blue.js/raw/master/libs/bluecore.js"></script>
<div id="shomblerContainer">
</div>
<script>
var shomb_cont = elementPlace("#shomblerContainer","shombleList", null,"ul");
function renderShomb(data) {
var parsedData = eval(data);
parsedData.forEach(function (entry) {
var myEntry = elementPlace("#shombleList",null,"shomb_post","li");
myEntry.innerHTML = '<div class="shomb_username">'+entry.USER+'</div><div class="shomb_message">'+entry.DATE+" -- "+entry.POST+'</div>';
});
}
getData("shamble/get.pl", renderShobm);
</script>