lignes 544 à 553 conflictuelles avec script fullpage (module album...) supprimées
This commit is contained in:
parent
0212c7b3dc
commit
46dbcef9f1
|
@ -2,18 +2,19 @@
|
||||||
* This file is part of DeltaCMS.
|
* This file is part of DeltaCMS.
|
||||||
* For full copyright and license information, please see the LICENSE
|
* For full copyright and license information, please see the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
* @author Sylvain Lelièvre <https://deltacms.fr/contact>
|
* @author Sylvain Lelièvre
|
||||||
* @copyright 2021 © Sylvain Lelièvre
|
* @copyright 2021 © Sylvain Lelièvre
|
||||||
* @author Lionel Croquefer <https://deltacms.fr/contact>
|
* @author Lionel Croquefer
|
||||||
* @copyright 2022 © Lionel Croquefer
|
* @copyright 2022 © Lionel Croquefer
|
||||||
* @license GNU General Public License, version 3
|
* @license GNU General Public License, version 3
|
||||||
* @link https://deltacms.fr/
|
* @link https://deltacms.fr/
|
||||||
|
* @contact https://deltacms.fr/contact
|
||||||
*
|
*
|
||||||
* Delta was created from version 11.2.00.24 of ZwiiCMS
|
* Delta was created from version 11.2.00.24 of ZwiiCMS
|
||||||
* @author Rémi Jean <remi.jean@outlook.com>
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
* @copyright 2008-2018 © Rémi Jean
|
||||||
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
|
* @copyright 2018-2021 © Frédéric Tempez
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var core = {};
|
var core = {};
|
||||||
|
@ -536,22 +537,7 @@ core.relativeLuminanceW3C = function(rgba) {
|
||||||
var B = (BsRGBA <= .03928) ? BsRGBA / 12.92 : Math.pow((BsRGBA + .055) / 1.055, 2.4);
|
var B = (BsRGBA <= .03928) ? BsRGBA / 12.92 : Math.pow((BsRGBA + .055) / 1.055, 2.4);
|
||||||
return .2126 * R + .7152 * G + .0722 * B;
|
return .2126 * R + .7152 * G + .0722 * B;
|
||||||
};
|
};
|
||||||
|
$(document).ready(function(){
|
||||||
|
|
||||||
|
|
||||||
$(document).ready(function(){
|
|
||||||
|
|
||||||
/* Passage de petit écran à grand écran : annulation de position static et du padding */
|
|
||||||
$(window).on("resize", function() {
|
|
||||||
if($(window).width() > 799 ) {
|
|
||||||
// Valeurs pour application immédiate avant reload
|
|
||||||
$("nav li ul").css("position","absolute");
|
|
||||||
$("nav li ul").css("padding-left","0");
|
|
||||||
$("nav ul li ul").css("display","none");
|
|
||||||
location.reload();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Affiche le sous-menu quand il est sticky
|
* Affiche le sous-menu quand il est sticky
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue