OK - then the answer I gave you doesn't really help, I didn't get that from what you said. To get messages to show and hide, you need to put them in a div ( a div tag does nothing by create a DIVision, it's used for grouping ) and then you'd use javascript to set the visiblity of each div when it's clicked on, something like function showMessage(messageId) { var message = document.getElementById(messageId); if (message) { message.style.display = "block"; } } function hideMessage(messageId) { var message = document.getElementById(messageId); if (message) { message.style.display = "none"; } } Of course, these could be merged into a function that toggles a message. Then, an onclick for each header, would pass through the id of the div containing it's body.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )