Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add js code to demo section
  • Loading branch information
Eugene Simakin committed Jan 5, 2014
1 parent f6ab504 commit 9fdf8fb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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 */
Expand Down
11 changes: 11 additions & 0 deletions index.html
Expand Up @@ -71,6 +71,17 @@ <h3>
</div>
</p>

<p>Here is corresponding piece of code:</p>
<pre><code class="highlight">
$(<span class="s">'#pagination-demo'</span>).twbsPagination({
totalPages: <span class="il">35</span>,
visiblePages: <span class="il">8</span>,
onPageClick: <span class="k">function</span> (event, page) {
$(<span class="s">'#page-content'</span>).text(<span class="s">'Page '</span> + page);
}
});
</code></pre>

</section>

<aside id="sidebar">
Expand Down

0 comments on commit 9fdf8fb

Please sign in to comment.