• Hi,

    I would like to accomplish this:

    On the list of the comments, instead of displaying all the comments with the CONTENT right ahead, I would that the user will have to click on a specific comment in order to see its content (in the same windows).

    I tried to use javascript with getElementById, but till now with no success.

    It suppose to be something similar to:

    <script type="text/javascript">
    <!--
    function view_comment() {
    	var dtl = document.getElementById("")
    	if  (dtl.style.display == "none"){
    		dtl.style.display = "";
    	}else{
    		dtl.style.display = "none";
    	}
    }
    //-->
    </script>

    And something like <a onclick="view_comment()>Test</a>
    on the link that is responsible to open the content.

    I would really appreciate if someone can help me out.

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display the comment only after clicking’ is closed to new replies.