![]() |
|
ZP 1.2.9, colorBox and plugins - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: ZP 1.2.9, colorBox and plugins (/thread-6532.html) |
ZP 1.2.9, colorBox and plugins - Citron - 19-03-2010 Hi ! Now that thickBox is no more, I switched to colorBox, but I'm not really happy with it : I need to add the following piece of code into the section of my theme :
The share_div is the name of the stuff I want to be shown in the colorBox box. Is there any way to get rid of that piece ? My plugin is only one function which adds the stuff to my image page, and the link to display it in a box. ZP 1.2.9, colorBox and plugins - kagutsuchi - 19-03-2010 You could use ZP 1.2.9, colorBox and plugins - Citron - 19-03-2010 Thx for the reply. I was just going to reply to myself telling me I'm stupid I can simply add the $(".share_link").colorbox({inline:true, href:"#share_div"}); Thx though for the reply. Might help me greatly in another plugin |