script src static 1_redesign js vendor masonry pkgd min js script scri

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
<script src="{% static '1_redesign/js/vendor/masonry.pkgd.min.js' %}"></script>
<script src="{% static '1_redesign/js/vendor/jquery.prettyPhoto.js' %} "></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto();
});
var $container = $('#container');
// Инициализация
$container.masonry({
columnWidth: 128,
itemSelector: '.photo-page-content-a'
});
</script>