table of contents

Can anyone help me with this problem:I created a table of contents (indented list) which pops up when you click on an button. But.. you have to make a choiche in the menu to make the table of content disappear again. To solve this I made a transparant button outside the table of contents which hides it. (so when you click outside the table of content, anyware on the page, the list goes away. The problem is that when I publish I get an error in this action.iS there an other way to click away the table of contents (indented list) by clicking anywere in on the page. (or by mouse exit)?

Discussions have been disabled for this post