Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions inst/includes/html/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<link rel="stylesheet" href="http://cdn.rapporter.net/pander/stylesheets/base.css" />
<link rel="stylesheet" href="http://cdn.rapporter.net/pander/stylesheets/skeleton.css" />
<link rel="stylesheet" href="http://cdn.rapporter.net/pander/stylesheets/layout.css" />
<link rel="stylesheet" href="http://cdn.rapporter.net/pander/stylesheets/slimbox2.css" />
<link rel="stylesheet" href="http://cdn.rapporter.net/pander/stylesheets/custom.css" />
<link rel="stylesheet" href="http://cdn.rapporter.net/pander/stylesheets/caption.css"/>

Expand All @@ -14,9 +13,8 @@
<link rel="apple-touch-icon" sizes="72x72" href="http://cdn.rapporter.net/pander/images/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="http://cdn.rapporter.net/pander/images/apple-touch-icon-114x114.png" />

<script type="text/javascript" src="http://cdn.rapporter.net/pander/javascripts/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="http://cdn.rapporter.net/pander/javascripts/jquery.min.js"></script>
<script type="text/javascript" src="http://cdn.rapporter.net/pander/javascripts/custom.js"></script>
<script type="text/javascript" src="http://cdn.rapporter.net/pander/javascripts/slimbox2.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
Expand Down
14 changes: 0 additions & 14 deletions inst/includes/javascripts/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,25 +79,11 @@ $(document).ready(function() {
$('.content a > img:not([alt])').addClass('image_without_caption');
$('img').closest('p').css('text-align', 'center');

// slimbox2
$('.content a > img:not([alt])').slimbox({
counterText: "Plot: {x} of {y}"
}, function(el) {
return [el.parentNode.href, el.title];
});

});

$(window).load(function() {

// add title tags to imgs
$('.content a > div.caption').each(function() {$(this).attr('title', $(this).children(':first-child').attr('alt'))});

// slimbox2
$('.content a > div.caption').slimbox({
counterText: "Plot: {x} of {y}"
}, function(el) {
return [el.parentNode.href, el.title];
});

});
4 changes: 0 additions & 4 deletions inst/includes/javascripts/jquery-1.7.2.min.js

This file was deleted.

Loading