![]() |
|
default theme and toggleComments javascript function - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: default theme and toggleComments javascript function (/thread-6770.html) |
default theme and toggleComments javascript function - vincent3569 - 2010-03-13 hello in image.php of the defaukt theme, there is a javascript function writing in the header : [code]
[/code] what this function is suposed to do ? default theme and toggleComments javascript function - sbillard - 2010-03-14 There are two functions there. The first (colorbox) is for the showing of the "colorbox" window with image metadata. The second, toggleComments() was probably intended to show and hide the comments of the image. However, it seems never referenced, so it is probably redundant. default theme and toggleComments javascript function - vincent3569 - 2010-03-15 precisely, I would like to use this feature on my page image.php to show or hide comments. Can you explain how? default theme and toggleComments javascript function - sbillard - 2010-03-15 The simplest way would be to upgrade to tonight's build were there is a show/hide button option for the plugin. The code that was left over was (presumably) from a time in the past before the comment form plugin. |