Thread: Dropdown area
View Single Post
Old 05-12-2007, 01:28 PM   #12 (permalink)
exam
Contributing Member
 
exam's Avatar
 
Join Date: 04-20-06
Posts: 310
iTrader: 0 / 0%
Latest Blog:
None

exam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web pro
Add this:

Between your <script> tags:
Code:
function handle_click(e) { e = e || event; var target = e.target || e.srcElement; if (target.id == 'Table1') { e.cancelBubble = true; if (e.stopPropagation) { e.stopPropagation(); } } else { document.getElementById('Table1').style.display = 'none'; } }
And add this to your body tag:

Code:
onclick="handle_click();"
Code:
<body onclick="handle_click();">
__________________
~exam~
exam is offline   Reply With Quote