- Renamed 'trojan.js' to 'tools.js' for future compatibility - Added placeholder team names to the game-adding screen
13 lines
386 B
JavaScript
13 lines
386 B
JavaScript
function resizeIframe(obj) {
|
|
obj.style.height = "200px";
|
|
obj.style.width = "100px";
|
|
obj.style.height = obj.contentWindow.document.documentElement.scrollHeight + 'px';
|
|
obj.style.width = obj.contentWindow.document.documentElement.scrollWidth + 'px';
|
|
}
|
|
|
|
function getURL(path) {
|
|
if (path == undefined) {
|
|
path = "";
|
|
}
|
|
return window.location.href + path;
|
|
} |