UltimateZoneBuilder/Help/scripts.js
MaxED 5853624dc5 Updated documentation.
Increased maximum zoom level in Classic modes to 3000%.
Added "1 mp" option in grid size menu.
Added "400%" option in zoom menu.
Renamed "Toggle GZDoom rendering effects" action to "Toggle Geometry Effects".
Sync camera position: Visual Camera height is now changed only if camera is above or below current sector.
Classic modes: view was not redrawn after "Test map from current position" action.
"Test map from current position" action: incorrect player start was used when a map had several Player 1 Start things.
2013-08-19 12:12:31 +00:00

20 lines
No EOL
506 B
JavaScript

function autoadjustheight(iframeid)
{
// Find the height of the internal page
var doc_height = document.getElementById(iframeid).contentWindow.document.body.scrollHeight;
// Change the height of the iframe
document.getElementById(iframeid).height = doc_height;
}
//mxd
function ToggleSpoiler(t){
var d = t.nextSibling.nextSibling;
if (d.style.display != '') {
d.style.display = '';
t.value = 'Hide image';
} else {
d.style.display = 'none';
t.value = 'Show image';
}
}