From 9fdf8fb760a5e74cf40399e1439dbbc37ce84132 Mon Sep 17 00:00:00 2001 From: Eugene Simakin Date: Sun, 5 Jan 2014 07:47:23 +0400 Subject: [PATCH] Add js code to demo section --- css/pygment_trac.css | 2 +- index.html | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/css/pygment_trac.css b/css/pygment_trac.css index c6a6452..ec9e925 100644 --- a/css/pygment_trac.css +++ b/css/pygment_trac.css @@ -1,4 +1,4 @@ -.highlight { background: #ffffff; } +.highlight { background: #ffffff; color: #000;} .highlight .c { color: #999988; font-style: italic } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { font-weight: bold } /* Keyword */ diff --git a/index.html b/index.html index 489eacb..758fdd5 100644 --- a/index.html +++ b/index.html @@ -71,6 +71,17 @@

+

Here is corresponding piece of code:

+

+    $('#pagination-demo').twbsPagination({
+        totalPages: 35,
+        visiblePages: 8,
+        onPageClick: function (event, page) {
+            $('#page-content').text('Page ' + page);
+        }
+    });
+            
+