Initial commit
This commit is contained in:
4
plugins/galleria-io/_plugin.php
Normal file
4
plugins/galleria-io/_plugin.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
addHead('<script src="/plugins/galleria-io/galleria.min.js"></script>');
|
||||
addBody('<script>if($(".gallery[data-gid]").length){Galleria.loadTheme("/plugins/galleria-io/themes/classic/galleria.classic.min.js");$(".gallery[data-gid]").each(function(){$(this).css("width","100%").css("min-height","500px");Galleria.run(".gallery[data-gid="+$(this).attr("data-gid")+"]");});}</script>');
|
Reference in New Issue
Block a user