Pressen

Publikationer, artikler, blade, aviser

Lille panorama af publikationer om Château des Allues

"}, apiUrl = 'https://api.flickr.com/services/rest/', fotos = []; // Den aktuelle plugin-konstruktionsfunktion Plugin (element, optioner) {this.element = jQuery (element); this.settings = jQuery.extend ({}, standardindstillinger, optioner); this._defaults = standardindstillinger; this._name = pluginName; this._hideSpinner = funktion () {this.element.find ('. spinner-wrapper'). skjul (). find ('*'). skjul ();}; this._printError = funktion () {this.element.find ('. gallery-container'). tilføj (jQuery ("
", {" class ":" col-lg-12 col-lg-offset-1 "}) .append (jQuery ("
", {" class ":" error-wrapper "}) .append (jQuery ("", {" class ":" label label-danger error "}) .html (this.settings.errorText))));}; this._flickrAnimate = function () {this.element.find ('. gallery-container img '). hver (jQuery.proxy (funktion (indeks, el) {var image = el; setTimeout (funktion () {jQuery (image) .parent (). fadeIn ();}, this.settings.loadingSpeed * indeks);}, dette));}; this._printGallery = funktion (fotos) {var element = this.element.find ('. gallery-container'); jQuery.each (fotos, funktion (nøgle, foto) {var img = jQuery ('', {' class ':' thumb img-thumbnail gall-img-responsive ', src: photo.thumbnail,}); element.append (jQuery ('
', {' class ':' col-md-4 col-sm-6 wl-gallery '+ photo.hideme}) .append (jQuery ('
', {' class ':' b-link-apart-horizontal b-animate-go '}) .append (jQuery ('', {' data-lightbox-gallery ':' enigma_lightbox ',' class ':' nivoz_5701 ', title: photo.title, href: photo.href}). hide () .append (img) .append (jQuery ( ''
', {' class ':' b-wrapper '}))))); }); element.imagesLoaded () .done (jQuery.proxy (this._flickrAnimate, dette)). altid (jQuery.proxy (this._hideSpinner, dette)); }; this._flickrPhotoset = funktion (fotosæt) {var _this = dette; var hidemeval = ""; fotos [photoset.id] = []; jQuery.each (photoset.photo, funktion (nøgle, foto) {// skjul miniaturebilleder efter en grænse, hvis (nøgle> 99) {hidemeval = "hidepics";} // Begræns antal fotos. hvis (nøgle> = _dette. settings.photosLimit) {return false;} fotos [photoset.id] [key] = {thumbnail: 'https: // farm' + photo.farm + '.static.flickr.com /' + photo.server + '/ '+ photo.id +' _ '+ photo.secret +' _n.jpg ', href:' https: // farm '+ photo.farm +' .static.flickr.com / '+ photo.server +' / '+ photo.id +' _ '+ photo.secret +' _b.jpg ', titel: photo.title, hideme: hidemeval};}); this._printGallery (fotos [photoset.id]); }; this._onFlickrResponse = funktion (respons) {if (respons.stat === "ok") {this._flickrPhotoset (respons.photoset); } andet {this._hideSpinner (); this._printError (); }}; this._flickrRequest = funktion (metode, data) {var url = apiUrl + "? format = json & jsoncallback =? & metode =" + metode + "& api_key =" + this.settings.apiKey; jQuery.each (data, funktion (nøgle, værdi) {url + = "&" + nøgle + "=" + værdi;}); jQuery.ajax ({dataType: "json", url: url, kontekst: dette, succes: this._onFlickrResponse}); }; this._flickrInit = funktion () {this._flickrRequest ('flickr.photosets.getPhotos', {photoset_id: this.settings.photosetId}); }; // Init this.init (); } Plugin.prototype = {init: funktion () {this._flickrInit (); }}; // Wrapper jQuery.fn [pluginName] = funktion (optioner) {this.each (funktion () {if (! JQuery.data (dette, "plugin_" + pluginName)) {jQuery.data (dette, "plugin_" + pluginName, nyt plugin (dette, optioner));}}); // Kæde returnerer dette; }; }) (jQuery, vindue, dokument);
'); jQuery ('. b-link-stroke'). prepend ('
'); / * Twist * / jQuery ('. B-link-twist'). Prepend ('
'); jQuery ('. b-link-twist'). prepend ('
'); jQuery ('. b-link-twist img'). hver (funktion (indeks, element) {jQuery (dette). css ('synlighed', 'skjult'); jQuery (dette). parent (). find (' .b-top-line, .b-bottom-line '). css (' baggrundsbillede ',' url ('+ jQuery (dette) .attr (' src ') +') ');}); / * Flip * / jQuery ('. B-link-flip'). Forbered ('
'); jQuery ('. b-link-flip'). prepend ('
'); jQuery ('. b-link-flip img'). hver (funktion (indeks, element) {jQuery (dette). css ('synlighed', 'skjult'); jQuery (dette). parent (). find (' .b-top-line, .b-bottom-line '). css (' baggrundsbillede ',' url ('+ jQuery (dette) .attr (' src ') +') ');}); / * Fade * / jQuery ('. B-link-fade'). Hver (funktion (indeks, element) {jQuery (dette). Append ('
')}); / * Flow * / jQuery ('. B-link-flow'). Hver (funktion (indeks, element) {jQuery (dette). Append ('
')}); / * Box * / jQuery ('. B-link-box'). Forbered ('
'); jQuery ('. b-link-box'). prepend ('
'); / * Stripe * / jQuery ('. B-link-stripe'). Hver (funktion (indeks, element) {jQuery (dette) .prepend ('
'); }); / * Apart * / jQuery ('. B-link-apart-vertical, .b-link-apart-horizontal'). Hver (funktion (index, element) {jQuery (this) .prepend ('
'); }); / * diagonal * / jQuery ('. b-link-diagonal'). hver (funktion (indeks, element) {jQuery (dette). forbered ('
'); }); setTimeout ("beregne_margin ();", 100); });
Flickr Album Galleri Pro Powered By: wpfrank