Affichage + animations jquery okay

This commit is contained in:
Fred Tempez 2022-03-31 21:57:52 +02:00
parent c775bcd998
commit d5bc4c87d9
3 changed files with 29 additions and 3 deletions

View File

@ -12,10 +12,10 @@
* @link http://zwiicms.fr/ * @link http://zwiicms.fr/
*/ */
div #topBackPosition .bottom { #topBackPosition.bottom {
display: none; display: none;
} }
div #bottomBackPosition .top { #bottomBackPosition.top{
display: none; display: none;
} }

View File

@ -0,0 +1,26 @@
/**
* This file is part of Zwii.
*
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
*
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2022, Frédéric Tempez
* @license GNU General Public License, version 3
* @link http://zwiicms.fr/
*/
/**
* Gestion des événements
*/
// Activation des options pour les galeries non uniques
$("#galleryOptionShowUniqueGallery").click(function() {
if ($(this).prop("checked")) {
$("#galleryOptionBackPosition, #galleryOptionBackAlign").prop( "disabled", true );
} else {
$("#galleryOptionBackPosition, #galleryOptionBackAlign").prop( "disabled", false );
}
});

View File

@ -25,7 +25,7 @@
]); ?> ]); ?>
</div> </div>
</div> </div>
<div class="row"> <div class="row" id="containerBackOptions">
<div class="col6"> <div class="col6">
<?php echo template::select('galleryOptionBackPosition', $module::$galleryOptionBackPosition, [ <?php echo template::select('galleryOptionBackPosition', $module::$galleryOptionBackPosition, [
'label' => 'Position du bouton de retour à l\'index des galeries', 'label' => 'Position du bouton de retour à l\'index des galeries',