- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
// Any fool can write code that a computer can understand. Good programmers write code that humans can understand. (C) Martin Fowler.
function changeLogo() {
var pane = document.getElementById("pane");
if(pane != null) {
pane.height = 240;
pane.width = document.body.clientWidth;
} else {
alert("it's sad, so sad...");
}
var logo = document.getElementById("logoJpg");
if(logo != null) {
logo.height = 50;
logo.width = document.body.clientWidth * 0.23;
} else {
alert(" ...it's a sad, sad situation, and it's getting more and more absurd");
}
}