diff --git a/module/album/view/index/index.js.php b/module/album/view/index/index.js.php new file mode 100644 index 0000000..59acb37 --- /dev/null +++ b/module/album/view/index/index.js.php @@ -0,0 +1,11 @@ +/* Affecte la bordure des blocs à la class galleryPicture */ +$(document).ready(function(){ + borderColor = "getData(['theme', 'block', 'borderColor'])?>"; + borderRadius = "getdata(['theme', 'block', 'blockBorderRadius'])?>"; + textColor = "getData(['theme', 'text', 'textColor'])?>"; + + $(".galleryPicture").css("border","solid 1px"); + $(".galleryPicture").css("border-color", borderColor); + $(".galleryPicture").css("border-radius", borderRadius); + $(".galleryName").css("color", textColor); +});