Ligne 57 : |
Ligne 57 : |
| var chapdeb = refdeb.split("v")[0]; var versdeb = refdeb.split("v")[1] || "1-180"; | | var chapdeb = refdeb.split("v")[0]; var versdeb = refdeb.split("v")[1] || "1-180"; |
| var chapfin = reffin.split("v")[0]; var versfin = reffin.split("v")[1] || "1-180"; | | var chapfin = reffin.split("v")[0]; var versfin = reffin.split("v")[1] || "1-180"; |
− | var content = '<div class="tb-citat"><div>'; | + | var content = '<div class="tb-citat">'; |
| for (var i=parseInt(chapdeb);i<=parseInt(chapfin);i++) { | | for (var i=parseInt(chapdeb);i<=parseInt(chapfin);i++) { |
| var data = getChap(livr,i); var versets = "1-180"; | | var data = getChap(livr,i); var versets = "1-180"; |
Ligne 78 : |
Ligne 78 : |
| rempl += '<span class="surligne">' + txtv.substring(debr) + '</span>'; | | rempl += '<span class="surligne">' + txtv.substring(debr) + '</span>'; |
| data = data.substring(0,pos) + rempl + data.substring(fin); }}} | | data = data.substring(0,pos) + rempl + data.substring(fin); }}} |
− | content += '<p><span class="tb-chapitre">' + i + '</span>' + data.substring(30); } | + | content += '<div><p><span class="tb-chapitre">' + i + '</span>' + data.substring(33); } |
− | return content + '</div></div>'; } | + | return content + '</div>'; } |
| $(".tb-cit").each(function () { | | $(".tb-cit").each(function () { |
| var delai; $(this).on("mouseenter", {"target": this}, function(e) { | | var delai; $(this).on("mouseenter", {"target": this}, function(e) { |