It dont work sorry!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
<html>

        <head>
                <title></title>
                <script type="text/javascript" 
src="jquery-latest.pack.js"></script>
                <script type="text/javascript">
                        $('#showCommentBox').click(function() {
                                $('#addcomment:hidden').slideDown();
                        });
                        $('#hideCommentBox').click(function() {
                                $('#addcomment').slideUp();
                        });
                </script>
                <style>
                        #addcomment {
                                display: block;
                                border: 1px solid red;  
                                width: 300px;
                                
                        }
                </style>
        </head>
        <body>
                 javascript:void(0) Show Comment Form  
                <div id="addcomment">
                        safglkjahdsgakljfhgad glkaf hj aflkjg haf g jk lkj aglj
                         javascript:void(0) Hide Comment Form 
                </div>
        </body>
</html>




any ideas? Also whats the deal with 'javascript:void(0)'? whast that do?

thanks
-- 
View this message in context: 
http://www.nabble.com/little-help-tf2235942.html#a6222954
Sent from the JQuery forum at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to