";
}
counter++;
});
if (tocContent) {
var tocHtml = `
Table des Matières
${tocContent}
`;
document.querySelector(".post-body.entry-content").insertAdjacentHTML("beforebegin", tocHtml);
document.querySelectorAll(".toc-item").forEach(function(link) {
link.addEventListener("click", function(e) {
e.preventDefault();
document.querySelector(link.getAttribute('href')).scrollIntoView({ behavior: 'smooth' });
});
});
document.querySelector('.toc-title').addEventListener('click', function() {
document.querySelector('.toc-container').classList.toggle('closed');
});
}
});
/*]]>*/
.container{display:flex;margin:0}
body#layout #main-wrapper{width:67%;padding:0}
body#layout #sidebar-wrapper{width:33%;padding:0}
body#layout #custom-ads{display:flex}
body#layout #custom-ads .section{width:50%}
body#layout #casper-about-section{overflow:hidden!important}
body#layout #casper-about-section .widget{float:left;width:49.5%;margin-right:1%}
body#layout #casper-about-section .LinkList{margin-right:0}
body#layout .footer-bar .container{display:flex}
body#layout #footer-menu,body#layout #footer-copyright{width:50%}
body#layout .section > h4:after{font-size:12px}
body#layout #custom-ads div.section,body#layout div.top-ads,body#layout div.home-ads,body#layout div.footer-ads,body#layout #casper-pro-post-footer-ads{background-color:#d4ecdb!important}
body#layout #pbt-panel > h4:after{content:' - Default Thumbnail, Date Format, Translate Months and More'}
body#layout #top-ads > h4:after,body#layout #home-ads > h4:after{content:' - HTML, Adsense or Image'}
body#layout #main-logo > h4:after{content:' - Main Logo and Dark Logo'}
body#layout #casper-pro-main-menu > h4:after{content:' - Menu Links, Sub Links and Mega Menu'}
body#layout #featured > h4:after{content:' - Featured Post Gadget'}
body#layout #main > h4:after{content:' - Default Blog Posts, AdSense In-Feed, Comments and More'}
body#layout #casper-pro-main-before-ad > h4:after{content:' - Before Post Content (Post Page)'}
body#layout #casper-pro-main-after-ad > h4:after{content:' - After Post Content (Post Page)'}
body#layout #casper-pro-related-posts > h4:after{content:' - Exclusive Non-Duplicate Post System'}
body#layout #casper-pro-post-footer-ads > h4:after{content:' - After Related Posts (Post Page)'}
body#layout #sidebar > h4:after{content:' - Default Gadgets'}
body#layout #footer-ads > h4:after{content:' - HTML, Adsense or Image'}
body#layout #casper-about-section > h4:after{content:' - Site Logo, Description and Social Icons'}
body#layout #footer-copyright > h4:after{content:' - Custom Credits'}
body#layout #footer-menu > h4:after{content:' - Custom Links'}
body#layout #cookie-consent-section > h4:after{content:' - Native Cookie Consent Plugin'}
body#layout:after{content:'Design by - ProBloggerTemplates.com';display:block;font-family:Roboto,sans-serif;font-size:14px;color:rgba(0,0,0,0.54);line-height:1;text-align:center;visibility:visible;padding:20px 0 30px}
body#layout #hidden-widgets{display:none!important}
]]>Previous PostArtículo AnteriorPostagem AnteriorNext PostArtículo SiguientePróxima PostagemLoad MoreCarga MásCarregar Maisتحميل المزيد
var viewAllText = "";var dateFormat = "";var monthNames = ["","","","","","","","","","","",""];
var noThumbnail = "";
-
var pbt={isRTL:,isBoxed:,fixedMenu:,fixedSidebar:,darkMode:,userDarkMode:,entryTag:,entrySummary:,noTitle:"",viewAll:"",noResults:"",postAuthor:,postAuthorLabel:"",postDate:,postDateLabel:"-"}
ReplacedReplaced
Replaced
ReplacedReplacedReplacedReplacedReplacedReplaced
ReplacedReplacedReplaced
*
*
Please Select Embedded Mode To Show The Comment System.*
Templates PPThttps://www.stagepfe.com/search/label/lettredemotivationhttps://www.stagepfe.com/search/label/lettredemotivationhttps://www.stagepfe.com/search/label/lettredemotivationNONEhttps://www.stagepfe.com/search/label/lettredemotivationhttps://www.stagepfe.com/search/label/cv2022https://www.stagepfe.com/search/label/ppt2024https://www.stagepfe.com/search/label/cv2023https://www.stagepfe.com/search/label/ppt2023https://www.stagepfe.com/search/label/lettredemotivationhttps://www.stagepfe.com/search/label/cvhttps://www.stagepfe.com/search/label/ppt2025https://www.stagepfe.com/search/label/ppt2022https://www.stagepfe.com/search/label/ppt_Exemple page de grade 2025https://www.stagepfe.com/search/label/pagedegarde2025_Exemples page de grade 2024https://www.stagepfe.com/search/label/pagedegarde2023PFEhttps://www.stagepfe.com/search/label/pagedegarde2024Demande de stagehttps://www.stagepfe.com/search/label/pagedegardehttps://www.stagepfe.com/search/label/pagedegarde2022https://www.stagepfe.com/search/label/cv2024https://www.stagepfe.com/search/label/cv2025_Exemples de CV 2022Exemples de CV_Exemples de CV 2024_Exemples de CV 2023Pages de grade_Exemples de CV 2025_Exemples page de grade 2023_Exemples page de grade 2022_Exemples lettres de motivation 2025Lettres de motivation_Exemples lettres de motivation 2022_Exemples lettres de motivation 2023_Exemples lettres de motivation 2024_Exemples template PPT 2022https://www.stagepfe.com/search/label/pfe_Exemples template PPT 2023_Exemples template PPT 2024_Exemples template PPT 2025https://www.stagepfe.com/search/label/demandedestage
Réussir ses études et son projet
Les bonnes ressources pour avancer avec confiance.
CV, pages de garde, présentations, lettres et guides PFE : trouvez rapidement un modèle clair, pratique et prêt à utiliser.
Please Select Embedded Mode To Show The Comment System.*
ReplacedReplacedReplacedReplacedReplacedReplaced
ReplacedReplaced
ReplacedReplacedReplaced
/* 0) {
headers.forEach(function(header) {
header.setAttribute("id", "Target" + counter);
var headerClass = "";
// Assigner une classe en fonction du niveau du titre
if (header.tagName === "H1") {
headerClass = "toc-item"; // Pas d'indentation pour H1
} else if (header.tagName === "H2") {
headerClass = "toc-item toc-subitem"; // Indentation pour H2
} else if (header.tagName === "H3") {
headerClass = "toc-item toc-subsubitem"; // Indentation plus forte pour H3
}
// Ajouter chaque titre à la table des matières
tocContent += `