ScreenStepsCustomizing your ScreenSteps Site Customizing Your SiteHow to reduce the size of the "Add comment" box

How to reduce the size of the "Add comment" box

Add custom javascript

Add this script to hide the comment form on your site, but make it visible by clicking on a link.

$(document).ready(function() {                  
  $('#add-comment').hide();         
  $('#add-comment').before('<a href="#" id="add-comment-link">Add a comment</a>');         
  $('#add-comment-link').click(function(event) {           
    $('#add-comment').show();           
    $(this).hide();           
    return false;         
  });         
});

Here is how to add custom javascript.

Here is what it will look like

User clicks on link.

Here is what it will look like

They see the full form.

0 Comments

Add your comment

E-Mail me when someone replies to this comment