View Single Post
Old 08-29-2008, 11:53 AM   #2 (permalink)
Costin Trifan
Meeow!
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,235
iTrader: 0 / 0%
Latest Blog:
None

Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
your js code is working actually, only that you have to click twice before it will start collapsing/expanding the content.

change it with this:
Code:
function toggleview(element1) { element1 = document.getElementById(element1); return element1.style.display = (element1.style.display != 'block') ? 'block' : 'none'; }
__________________
...to be continued
Costin Trifan is offline   Reply With Quote