Experiments with new reader.
[wolnelektury.git] / apps / wolnelektury_core / static / js / book_text / themes.js
diff --git a/apps/wolnelektury_core/static/js/book_text/themes.js b/apps/wolnelektury_core/static/js/book_text/themes.js
new file mode 100644 (file)
index 0000000..32e2e81
--- /dev/null
@@ -0,0 +1,16 @@
+(function($){$(function(){
+
+
+if ($('#themes li').length > 0) {
+    $("#menu-themes").show();
+}
+
+
+$(".theme-begin").click(function(e) {
+    e.preventDefault();
+    if ($(this).css("overflow") == "hidden" || $(this).hasClass('showing')) {
+        $(this).toggleClass("showing");
+    }
+});
+
+})})(jQuery);