Updated Show/Hide script - (with additional links in the same line)
Tuesday, December 30th, 2003Long title. Sorry.
Someone wanted to use the show/hide comments script but have more than just the “show comments”/”hide comments” text in the same line. Basically - what they wanted was :
Permalink | Show Comments(3) | Add Comment | Trackback(2)
Where the “Show Comments” would drop down and do the show/hide comments - and it would only be there IF there had been comments to display. (for this last part, to use this script, you need to be running PHP on your page)
I know this is a very particular case - but there’s pieces in here you could probably cut, mix, and match.
(more…)