css mes fichiers
This commit is contained in:
@@ -79,14 +79,6 @@ jQuery(document).ready(function($){
|
||||
|
||||
////////////// tiroir fichiers ///////
|
||||
|
||||
// $(".profile--type--collaborateur").click(function(event) {
|
||||
// // Ouvrir .tiroir fichiers
|
||||
// $(".layout-sidebar-second").animate({translate:'90%'},350);
|
||||
// });
|
||||
// $("#block-reha-views-block-current-user-doc-profile-block-1 > h2").click(function(event) {
|
||||
// // Ouvrir .tiroir fichiers
|
||||
// $(".layout-sidebar-second").animate({translate:'0%'},350);
|
||||
// });
|
||||
$(document).ready(function() {
|
||||
// Vérifier l'état initial depuis sessionStorage
|
||||
if (sessionStorage.getItem('asideOpened') === 'true') {
|
||||
@@ -194,22 +186,6 @@ jQuery(document).ready(function($){
|
||||
// /////////////////
|
||||
//// ancre dans texte au click parragraphe correspondant arrive en dessous du header
|
||||
|
||||
|
||||
// (function($, window) {
|
||||
// var adjustAnchor = function() {
|
||||
// var $anchor = $('.block-region-first'),
|
||||
// fixedElementHeight = 300;
|
||||
// console.log($anchor);
|
||||
// if ($anchor.length > 0) {
|
||||
// $('html, body').stop().animate({scrollTop: $anchor.offset().top - fixedElementHeight }, 0);
|
||||
// }
|
||||
// };
|
||||
|
||||
// $(window).on('hashchange', function() {
|
||||
// adjustAnchor();
|
||||
// });
|
||||
// });
|
||||
|
||||
function adjustAnchor() {
|
||||
var $anchor = $(window.location.hash); // Select the anchor element based on the hash in the URL
|
||||
var fixedElementHeight = $('.block-region-first').outerHeight(); // Get the height of the sticky element
|
||||
|
||||
Reference in New Issue
Block a user