Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Toggle layers using Javascript


rocknbil - 5:46 pm on Jul 7, 2009 (gmt 0)


Also,
if (description.style.display == 'block') {
description.style.display = 'none';
return;
firstCell.className = 'start';
secondCell.className = 'end';

}

firstCell and secondCell will never get set in this condition, move return to the end.

if (description.style.display == 'block') {
description.style.display = 'none';
firstCell.className = 'start';
secondCell.className = 'end';
return;
}


Thread source:: http://www.webmasterworld.com/javascript/3947759.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com