הבדלים בין גרסאות בדף "מדיה ויקי:Common.js"
(יצירת דף עם התוכן "$(function() { var $t = $("table.hamore"); if(!$t.length) return; $("h1").before('\ <div class="hamore-toolbox">\ <input type="checkbox" class="hamore-sour...") |
(אין הבדלים)
|
גרסה מ־11:26, 14 בספטמבר 2018
$(function() { var $t = $("table.hamore"); if(!$t.length) return; $("h1").before('\ <div class="hamore-toolbox">\ <input type="checkbox" class="hamore-sources-cb" /> מקורות <input type="checkbox" class="hamore-terms-cb" /> מונחים <input type="checkbox" class="hamore-circles-cb" /> (הבהרות תרגום) <input type="checkbox" class="hamore-squares-cb" /> [השלמת ציטוטים] <input type="checkbox" class="hamore-sourced-hebrews-cb" /> צביעת עברית במקור <input type="checkbox" class="hamore-hebrew-cb" /> תרגום עברי <input type="checkbox" class="hamore-arabic-cb" /> מקור ערבי </div>\ '); $(".hamore-sources-cb").click(function() { $t.toggleClass("hamore-hide-sources"); }); $(".hamore-terms-cb").click(function() { $t.toggleClass("hamore-hide-terms"); }); $(".hamore-circles-cb").click(function() { $t.toggleClass("hamore-hide-circles"); }); $(".hamore-squares-cb").click(function() { $t.toggleClass("hamore-hide-squares"); }); $(".hamore-sourced-hebrews-cb").click(function() { $t.toggleClass("hamore-hide-sourced-hebrews"); }); $(".hamore-hebrew-cb").click(function() { $t.toggleClass("hamore-hide-hebrew"); }); $(".hamore-arabic-cb").click(function() { $t.toggleClass("hamore-hide-arabic"); }); });