Fix JavaScript-related BS and a braino with the page title.

This commit is contained in:
Jeff Teunissen 2007-03-09 21:24:02 +00:00
parent 6ed732b469
commit 8f644e6076
4 changed files with 4 additions and 16 deletions

View File

@ -2,12 +2,6 @@
var columnIDs;
function init () {
// this may be called twice
if (arguments.callee.done)
return;
arguments.callee.done = true;
setHeight ('menu', columnIDs);
}
@ -44,12 +38,12 @@ function setHeight (myTarget, columns) {
// determine the maximum height out of all columns specified
for (i = 0; i < divs.length; i++) {
if (maxHeight < divs[i].offsetHeight) {
maxHeight = divs[i].offsetHeight;
maxHeight = divs[i].offsetHeight + 2;
}
}
// set the target column to that maximum height
targetID.style.height = maxHeight + 2 + 'px';
targetID.style.height = maxHeight + 'px';
}
}

View File

@ -35,6 +35,6 @@
}
?>
<DIV id="topMain" <?=$contentClass?>>
<DIV id="topMain">
<H2 class="pageTitle"><?=$pageName?></H2>
</DIV>

View File

@ -7,7 +7,7 @@
function screenshot ($name, $caption)
{
echo '<P class="lined">'
.' <CENTER><A class="screenshot" href="/img/screenshots/' . $name . '.png"><IMG src="/img/screenshots/' . $name . '.jpg" alt="View at full size"></A></CENTER><BR>'
.' <CENTER><A class="screenshot" href="/img/screenshots/' . $name . '.png"><IMG src="/img/screenshots/' . $name . '.jpg" width="200" height="150" alt="View at full size"></A></CENTER><BR>'
. $caption
.'</P>';
}

View File

@ -223,12 +223,6 @@ IMG.screenshot {
padding: 2px;
}
.narrow#topMain {
margin-right: 142px; /* features width + 2px */
_margin-right: 2px;
}
#topMain H2 {
border-bottom: 2px solid white;