Template:Kyoto/js
From 2014.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
document.getElementById("kyoto-background").style.height = screen.height + 'px'; | document.getElementById("kyoto-background").style.height = screen.height + 'px'; | ||
var HEIGHT = $(window).height() - 170 | var HEIGHT = $(window).height() - 170 | ||
- | document.getElementById("kyoto-side_menu").style. | + | document.getElementById("kyoto-side_menu").style.height = HEIGHT + 'px'; |
HEIGHT = HEIGHT - 10 | HEIGHT = HEIGHT - 10 | ||
- | document.getElementById("kyoto-content_page").style. | + | document.getElementById("kyoto-content_page").style.height = HEIGHT + 'px'; |
} | } | ||
</script> | </script> | ||
</html> | </html> | ||
<html><body onload="javascript:adjustHeight()"></html> | <html><body onload="javascript:adjustHeight()"></html> |
Revision as of 05:17, 22 September 2014