Die Presse

Veröffentlichungen, Artikel, Zeitschriften, Zeitungen

Kleines Panorama von Veröffentlichungen über das Château des Allues

"}, apiUrl = 'https://api.flickr.com/services/rest/', photos = []; // Die eigentliche Plugin-Konstruktorfunktion Plugin (Element, Optionen) {this.element = jQuery (Element); this.settings = jQuery.extend ({}, Standardwerte, Optionen); this._defaults = Standardwerte; this._name = pluginName; this._hideSpinner = function () {this.element.find ('. spinner-wrapper'). hide (). find ('*'). hide ();}; this._printError = function () {this.element.find ('. gallery-container'). append (jQuery ("
", {" class ":" col-lg-12 col-lg-offset-1 "}) .append (jQuery ("
", {" class ":" error-wrapper "}) .append (jQuery ("", {" class ":" label label-risk error "}) .html (this.settings.errorText)));}; this._flickrAnimate = function () {this.element.find ('. gallery-container img '). each (jQuery.proxy (Funktion (Index, el) {var image = el; setTimeout (Funktion () {jQuery (Bild) .parent (). fadeIn ();}, this.settings.loadingSpeed * index);}, this));}; this._printGallery = function (photos) {var element = this.element.find ('. gallery-container'); jQuery.each (Fotos, Funktion (Schlüssel, 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-auseinander-horisontal b-animate-go '}) .append (jQuery ('', {' data-lightbox-gallery ':' enigma_lightbox ',' class ':' nivoz_5701 ', Titel: photo.title, href: photo.href}). hide () .append (img) .append (jQuery () '
', {' class ':' b-wrapper '}))))); }); element.imagesLoaded () .done (jQuery.proxy (this._flickrAnimate, this)) .always (jQuery.proxy (this._hideSpinner, this)); }; this._flickrPhotoset = function (photoset) {var _this = this; var hidemeval = ""; photos [photoset.id] = []; jQuery. settings.photosLimit) {return false;} photos [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 (photos [photoset.id]); }; this._onFlickrResponse = function (response) {if (response.stat === "ok") {this._flickrPhotoset (response.photoset); } else {this._hideSpinner (); this._printError (); }}; this._flickrRequest = Funktion (Methode, Daten) {var url = apiUrl + "? format = json & jsoncallback =? & method =" + method + "& api_key =" + this.settings.apiKey; jQuery.each (Daten, Funktion (Schlüssel, Wert) {url + = "&" + Schlüssel + "=" + Wert;}); jQuery.ajax ({Datentyp: "json", URL: URL, Kontext: dies, Erfolg: dies._onFlickrResponse}); }; this._flickrInit = function () {this._flickrRequest ('flickr.photosets.getPhotos', {photoset_id: this.settings.photosetId}); }; // Init this.init (); } Plugin.prototype = {init: function () {this._flickrInit (); }}; // Wrapper jQuery.fn [pluginName] = function (options) {this.each (function () {if (! JQuery.data (this, "plugin_" + pluginName)) {jQuery.data (this, "plugin_" + pluginName, neues Plugin (dies, Optionen));}}); // Chain return this; }; }) (jQuery, Fenster, Dokument);
'); jQuery ('. b-link-stroke'). prepend ('
'); / * Twist * / jQuery ('. B-Link-Twist'). Prepend ('
'); jQuery ('. b-link-Twist'). prepend ('
'); jQuery ('. b-link-Twist img'). each (Funktion (Index, Element) {jQuery (this) .css ('Sichtbarkeit', 'versteckt'); jQuery (this) .parent (). find (' .b-top-line, .b-bottom-line '). css (' Hintergrundbild ',' url ('+ jQuery (this) .attr (' src ') +') ');}); / * Flip * / jQuery ('. B-Link-Flip'). Prepend ('
'); jQuery ('. b-link-flip'). prepend ('
'); jQuery ('. b-link-flip img'). each (Funktion (Index, Element) {jQuery (this) .css ('Sichtbarkeit', 'versteckt'); jQuery (this) .parent (). find (' .b-top-line, .b-bottom-line '). css (' Hintergrundbild ',' url ('+ jQuery (this) .attr (' src ') +') ');}); / * Fade * / jQuery ('. B-Link-Fade'). Each (Funktion (Index, Element) {jQuery (this) .append ('
')}); / * Flow * / jQuery ('. B-Link-Flow'). Each (Funktion (Index, Element) {jQuery (this) .append ('
')}); / * Box * / jQuery ('. B-Link-Box'). Prepend ('
'); jQuery ('. b-link-box'). prepend ('
'); / * Stripe * / jQuery ('. B-Link-Stripe'). Each (Funktion (Index, Element) {jQuery (this) .prepend ('
'); }); / * Apart * / jQuery ('. B-Link-auseinander-vertikal, .b-Link-auseinander-horizontal'). Each (Funktion (Index, Element) {jQuery (this) .prepend ('
'); }); / * diagonal * / jQuery ('. b-link-diagonal'). each (Funktion (Index, Element) {jQuery (this) .prepend ('
'); }); setTimeout ("berechne_margin ();", 100); });
Flickr Album Gallery Pro Präsentiert von: wpfrank