I am trying to customize a theme and I’d like to hide comments and have them slide into view if someone clicks the show comments button.
so the comments are initially hidden via css: display:none;
after checkingn a few sites, this is not such a good idea, since users without js won’t ever reach my comments.
the tutorial I use for hiding is this one: http://papermashup.com/simple-jquery-showhide-div/
then I found a suggested solution of hiding the comments via js so if a user has js turned of he will see the comments and those that have js will have to click to see them…
The suggested solution was:
can someone help me out here with a line of code?
hiding with js also has the benefit of the hidden text getting indexed by google :wink: