javascript - Override Zurb Foundation 5 change Clearing default template globally -
I am trying to change the global template of the clearing plugin (responsive lightbox gallery), but the documentation does not say how it is Programatically to do about; The I have been seen that in fact the It works, but I'm not sure if I can trust it because this document is not ... There is a better idea? Perhaps there is an API for this ... data-option is explained in the manner but nothing else.
foundation. There is a template in libs.clearing ... Namespace After some attempts I came over it:
// Include the script // Change the template. Foundation.libs.clearing.settings.templates.viewing = '' + '& lt; One class = "clearing-pass" & gt; & Amp; times; & Lt; / A & gt; '+' & Lt; Div class = "visible-img" style = "display: none" & gt; div class = "clearing-touch-label" & gt; & Lt; / Div & gt; & Lt; Img src = "data: image / gif; base 64, rll global a qubaad / aquaaaaaaaaaaaaaaaaaaaaaaaaaaaadas% 3d" alt = "" /> '+' & Lt; p class = "clearing-caption" & gt; & Lt; / P & gt; & Lt; One class = "clearing-main-east" & gt; & Lt; Span & gt; & Lt; / Span & gt; & Lt; / A & gt; + '& Lt; One class = "clearing-main-next" & gt; & Lt; Span & gt; & Lt; / Span & gt; & Lt; / A & gt; & Lt; / Div & gt; '; // INIT $ (document). Foundation ();
Comments
Post a Comment