I'm trying to understand what this does -- it first sets the value of #serendipity_replyTo to the id of the corresponding link. But what does {$comment_onchange} do?
comment_onchange is a plugin event handler so that other plugins can execute stuff there, like the livecommentpreview plugin.
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/
garvinhicking wrote:comment_onchange is a plugin event handler so that other plugins can execute stuff there, like the livecommentpreview plugin.
Hm. I'm trying to build a template using as little inline JS and CSS as possible by putting them in external JS/CSS files as far as possible. I think I have figured out how to do the first part, but I have no idea how to handle the {$comment_onchange}, especially since I don't have access to smarty variables in external JS files. So it's probably pointless. Too bad.
So if your jquery took care about injecting the onclick to getElementById, you only need to have a onclick inline handler, if users are using a plugin that would require it.
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/
# 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/