How can i make my comments look like the ones on this site
http://www.jihadthisfilth.com/archives/ ... morning-2/
When u click on reply comments a comment box opens under that particular comment rather than taking u all the way down to add comment form
reply comment
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: reply comment
You should be able to take that code from the page.
All that is needed is some javascript and a unique ID of your commentform. Then use DOM+Javascript to insert a DOM Node at the anchor link point.
So this is actually all possible within Serendipity, since it's unrelated to serendipity.
Best regards,
Garvin
All that is needed is some javascript and a unique ID of your commentform. Then use DOM+Javascript to insert a DOM Node at the anchor link point.
So this is actually all possible within Serendipity, since it's unrelated to serendipity.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
I guess the preview is done via AJAX? You could make a preview plugin, which just outputs formatted HTML according to the input of a POST field?
You could even fire up a AJAX request to parse the full s9y preview page and just return the comment DOM Node inside the current startpage.
This is all a bit advanced templating/JS/AJAX, so you'll need some good knowledge with this.
Best regards,
Garvin
You could even fire up a AJAX request to parse the full s9y preview page and just return the comment DOM Node inside the current startpage.
This is all a bit advanced templating/JS/AJAX, so you'll need some good knowledge with this.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/