I'm not sure how to describe the effect I'm trying to achieve, so I'll point out a website that has implemented what I'd like to do:
http://isohunt.com/torrents.php?ihq=nature&ext=&op=and
Notice that a 'drop down' menu appears when a title is clicked on.
How is this done? Can PHP accomplish this neat feature?
On my website I have a blog and I want readers to have the option of leaving a comment about a blog entry.
But I don't want all the comments displayed at once. At first, I only want to display the number of comments that exist for a specific blog entry. Then make that number a hyperlink that drops down the comments for that specific blog entry. Make sense?
So basically:
| Blog entry here............|
| blah blah blah blah blah |
| blah blah blah blah blah |
| blah blah blah blah blah |
| blah blah blah blah blah |
| blah blah blah blah blah |
There are 5 comments available. (clicking the #5 would display the comments)
|comment 1: blah blah blah |
--------------------------
|comment 2: blah blah blah |
--------------------------
|comment 3: blah blah blah |
--------------------------
|comment 4: blah blah blah |
--------------------------
|comment 5: blah blah blah |
Close Comments (this feature would make the comments disappear again)
Any help would be greatly appreciated! Thank you for your time,
Nick