Dunes Photos
dune photosphotoGalleryDescription' ).html( asset_description); } jQuerytarget.append( jQuerytile); jQuerytile.find('div.numberOfPhotos' ).html('' + asset_count + ' Photos'); if ( ( ( ( ( ith - start + 1 ) % 3 == 0 && ir != 0)
else { jQuery(' #galleryDescription' ).html('The selected photogallery doesn't exist.' ); jQuery('#gallery-container' ).empty(); } Draw_paging ( current_page ) feature { Var pages = Math.ceil( Results_length / max_display ); Var current = parseInt( current_page); Paging_target = jQuery( 'div. Paging_html =''; paging_target.
paging_html +='; if ( currently == pages) { paging_html +='Next'; } otherwise { paging_html += }' + + ( currently { 1 ) and ''; } paging_target. apend ( paging_html); } jQuery('a.paging' ).on('click', function( event) { event.preventDefault(); var page_num=jQuery( this).attr( 'id').
replace('p',''') ; draw_paging( page_num) ; display_galleries( page_num) ; jQuery('body').scrollTop(0) ; }) ; jQuery('a.prev, a.next' ).on('click', function( event) { evenement. avoidDefault () ; var page_num=jQuery( this ).text() ; draw_paging( page_num) ; display_galleries( page_num) ; jQuery('body'))).scrollTop(0) ; }) ; } } } ; }) error ( function( jqXHR, exception) { var wsg =''' ; if (jqXHR.status ===== 0) { wsg ='Not connect.\n Verify Network.' ; } else if (jqXHR.status == 404) { wsg = ` Angeforderte Seite nicht gefunden.
404 ]'; } else if (jqXHR.status == 500) { sq ='Internal Server Error [ 500 ].'; } else if (exception ===='parsererror') { sq ='Requested JSON fails. else if (exception====''timeout'') { wsg ='Timeout error' ; } else if (exception ======='abort') { wsg ='Ajax request avorted' and } else { wsg ='Uncaught Error.\n' + jqXHR.responseText ; } console.log( msg) ; }) ;