1 <div class="toolbar" style="height: 24px">
2 <select name="folders" class="id_folders">
3 <option value="" selected="selected">-- Wybierz folder z obrazkami --</option>
4 <option value="andersen_basnie">andersen_basnie</option>
8 <div class="images-wrap" style="position: absolute; top: 24px; left:0px; right:0px; bottom: 0px;">
9 <div class="images"><!-- To jest div na obrazki, które są wstawiane później --></div>
11 <script type="text/javascript" charset="utf-8">
15 var contentDiv = this.contentDiv;
16 $('.id_folders', contentDiv).change(function() {
17 $('.images', contentDiv).fadeOut('slow', function() {
18 $(this).html('').load('{% url folder_image_ajax %}' + $('.id_folders', contentDiv).val() + '/', function() {
19 $('.images-wrap', contentDiv).data('lazyload:lastCheckedScrollTop', -10000);
24 $('.images-wrap', contentDiv).lazyload('.image-box',
25 {threshold: 640 * 10, scrollTreshold: 640 * 5}
29 return true; // gallery is always fresh
32 return true; // and it doesn't get dirty