Commit 427ed0f4 authored by svilayphiou's avatar svilayphiou

title attribute for div.slide to get a more precise table of contents

parent 6a43a1e5
......@@ -20,7 +20,7 @@ $(document).ready(function() {
// DIV WRAPPER AROUND EACH H2
$("#content h2").each(function(){
h2 = $(this).attr('id');
$(this).nextUntil('h2').andSelf().wrapAll('<div class="slide ' + h2 + '"></div>');
$(this).nextUntil('h2').andSelf().wrapAll('<div class="slide ' + h2 + '" title="' + h2 + '"></div>');
});
// OFFSET ANCHOR BECAUSE OF FIXED MENU
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment