User:Documentalist/common.js

importArticle({type: "script", article:"User:Documentalist/Objects.js"});

var ObjectBrowser = document.getElementById("ObjectBrowser"); var Objects = new Array; Objects[0] = {ID: "12", name: "Peter", weight: "82"}; Objects[1] = {ID: "23", name: "Iron Dagger", weight: "12"}; /*---*/ function ShowObjects{ // ObjectBrowser.innerHTML = Initialise; var HTML = ""; HTML += ' "; ObjectBrowser.innerHTML = HTML; }

/*---*/ if (typeof ObjectBrowser != "undefined") { ObjectBrowser.style.backgroundColor = "#101010"; var HTML = 'Try it '; ObjectBrowser.innerHTML = HTML; }