New Plugin: Expand Comments (w/ AJAX)
-
Hey guys,
I just wrote my first plugin for WordPress, and it needs testing. I don’t have a huge amount of free time to test, so I’d love if people could tell me what they think. So far I’m sure it works on WP 2.0…
Anyway, Expand Comments is a plugin that uses AJAX to provide a blog with a link on the bottom of each post. When the link is pressed, the comments (read from the RSS feed) will be appeneded immediately below the post, without any page refreshing. It really speeds up the reading of a site, and also gives it a sexy feel. The comments can then be hidden by clicking the same link. Each expansion/contraction of a comment section is only downloaded once. after that, CSS just hides/displays the comments.
This is my first real time working with javascript, and first time ever with any php. I’m sure there’s a lot to improve upon, so I’m hoping you guys can help me with that.
The plugin also degrades gracefully. If the user is not using javascript, the “Expand” link becomes the RSS link to that post.
to see a working demo, go to my site: https://nymb.us
You can find a bit more info + download at https://nymb.us/?page_id=45
thanks
- The topic ‘New Plugin: Expand Comments (w/ AJAX)’ is closed to new replies.