window.addEvent('domready', function(){
$('detail_block_table').addEvent('click', function(){
if ($('detail_showDiv').getStyle('display') == 'none')
{
$('detail_showDiv').setStyle('display','block');
}
else
{
$('detail_showDiv').setStyle('display','none');
}
});
});
This is the code, it looks fine but something prevents it from working.
Any ideas?