Nettoyage
This commit is contained in:
1 parent
7ebec3462f
commit
7957e98a2d
58 files changed
+251
-9134
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
@@ -1,21 +0,0 @@
|
|||||||
The MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2016 worse is better UG http://wib.io
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -1,63 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Galleria Flickr Plugin</title>
|
|
||||||
<style>
|
|
||||||
|
|
||||||
/* Demo styles */
|
|
||||||
html,body{background:#222;margin:0;}
|
|
||||||
body{border-top:4px solid #000;}
|
|
||||||
.content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;width:620px;margin:20px auto;}
|
|
||||||
h1{font-size:12px;font-weight:normal;color:#ddd;margin:0;}
|
|
||||||
p{margin:0 0 20px}
|
|
||||||
a {color:#22BCB9;text-decoration:none;}
|
|
||||||
.cred{margin-top:20px;font-size:11px;}
|
|
||||||
|
|
||||||
/* This rule is read by Galleria to define the gallery height: */
|
|
||||||
#galleria{height:320px;}
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- load jQuery -->
|
|
||||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
|
||||||
|
|
||||||
<!-- load Galleria -->
|
|
||||||
<script src="../../galleria-1.4.7.min.js"></script>
|
|
||||||
|
|
||||||
<!-- load flickr plugin -->
|
|
||||||
<script src="galleria.flickr.min.js"></script>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="content">
|
|
||||||
<h1>Galleria Flickr Plugin Demo</h1>
|
|
||||||
<p>Demonstrating a basic gallery example with a Flickr search.</p>
|
|
||||||
|
|
||||||
<!-- Adding gallery images. This is just a container for the dynamic flickr images -->
|
|
||||||
|
|
||||||
<div id="galleria"></div>
|
|
||||||
|
|
||||||
<p class="cred">Made by <a href="http://galleria.io">Galleria</a>.</p>
|
|
||||||
<a href="#" id="close">cloase</a>
|
|
||||||
</div>
|
|
||||||
<script>
|
|
||||||
$(function() {
|
|
||||||
// Load the classic theme
|
|
||||||
Galleria.loadTheme('../../themes/classic/galleria.classic.min.js');
|
|
||||||
|
|
||||||
// Initialize Galleria
|
|
||||||
Galleria.run('#galleria', {
|
|
||||||
|
|
||||||
// search flickr for "galleria"
|
|
||||||
flickr: 'search:galleria',
|
|
||||||
|
|
||||||
flickrOptions: {
|
|
||||||
// sort by interestingness
|
|
||||||
sort: 'interestingness-desc'
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.1 KiB |
@@ -1,384 +0,0 @@
|
|||||||
/**
|
|
||||||
* Galleria Flickr Plugin 2016-09-03
|
|
||||||
* http://galleria.io
|
|
||||||
*
|
|
||||||
* Copyright (c) 2010 - 2016 worse is better UG
|
|
||||||
* Licensed under the MIT license
|
|
||||||
* https://raw.github.com/worseisbetter/galleria/master/LICENSE
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function($) {
|
|
||||||
|
|
||||||
/*global jQuery, Galleria, window */
|
|
||||||
|
|
||||||
Galleria.requires(1.25, 'The Flickr Plugin requires Galleria version 1.2.5 or later.');
|
|
||||||
|
|
||||||
// The script path
|
|
||||||
var PATH = Galleria.utils.getScriptPath();
|
|
||||||
|
|
||||||
/**
|
|
||||||
|
|
||||||
@class
|
|
||||||
@constructor
|
|
||||||
|
|
||||||
@example var flickr = new Galleria.Flickr();
|
|
||||||
|
|
||||||
@author http://galleria.io
|
|
||||||
|
|
||||||
@requires jQuery
|
|
||||||
@requires Galleria
|
|
||||||
|
|
||||||
@param {String} [api_key] Flickr API key to be used, defaults to the Galleria key
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
Galleria.Flickr = function( api_key ) {
|
|
||||||
|
|
||||||
this.api_key = api_key || '2a2ce06c15780ebeb0b706650fc890b2';
|
|
||||||
|
|
||||||
this.options = {
|
|
||||||
max: 30, // photos to return
|
|
||||||
imageSize: 'medium', // photo size ( thumb,small,medium,big,original )
|
|
||||||
thumbSize: 'thumb', // thumbnail size ( thumb,small,medium,big,original )
|
|
||||||
sort: 'interestingness-desc', // sort option ( date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, interestingness-asc, relevance )
|
|
||||||
description: false, // set this to true to get description as caption
|
|
||||||
complete: function(){}, // callback to be called inside the Galleria.prototype.load
|
|
||||||
backlink: false // set this to true if you want to pass a link back to the original image
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
Galleria.Flickr.prototype = {
|
|
||||||
|
|
||||||
// bring back the constructor reference
|
|
||||||
|
|
||||||
constructor: Galleria.Flickr,
|
|
||||||
|
|
||||||
/**
|
|
||||||
Search for anything at Flickr
|
|
||||||
|
|
||||||
@param {String} phrase The string to search for
|
|
||||||
@param {Function} [callback] The callback to be called when the data is ready
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
search: function( phrase, callback ) {
|
|
||||||
return this._find({
|
|
||||||
text: phrase
|
|
||||||
}, callback );
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
Search for anything at Flickr by tag
|
|
||||||
|
|
||||||
@param {String} tag The tag(s) to search for
|
|
||||||
@param {Function} [callback] The callback to be called when the data is ready
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
tags: function( tag, callback ) {
|
|
||||||
return this._find({
|
|
||||||
tags: tag
|
|
||||||
}, callback);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
Get a user's public photos
|
|
||||||
|
|
||||||
@param {String} username The username as shown in the URL to fetch
|
|
||||||
@param {Function} [callback] The callback to be called when the data is ready
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
user: function( username, callback ) {
|
|
||||||
return this._call({
|
|
||||||
method: 'flickr.urls.lookupUser',
|
|
||||||
url: 'flickr.com/photos/' + username
|
|
||||||
}, function( data ) {
|
|
||||||
this._find({
|
|
||||||
user_id: data.user.id,
|
|
||||||
method: 'flickr.people.getPublicPhotos'
|
|
||||||
}, callback);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
Get photos from a photoset by ID
|
|
||||||
|
|
||||||
@param {String|Number} photoset_id The photoset id to fetch
|
|
||||||
@param {Function} [callback] The callback to be called when the data is ready
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
set: function( photoset_id, callback ) {
|
|
||||||
return this._find({
|
|
||||||
photoset_id: photoset_id,
|
|
||||||
method: 'flickr.photosets.getPhotos'
|
|
||||||
}, callback);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
Get photos from a gallery by ID
|
|
||||||
|
|
||||||
@param {String|Number} gallery_id The gallery id to fetch
|
|
||||||
@param {Function} [callback] The callback to be called when the data is ready
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
gallery: function( gallery_id, callback ) {
|
|
||||||
return this._find({
|
|
||||||
gallery_id: gallery_id,
|
|
||||||
method: 'flickr.galleries.getPhotos'
|
|
||||||
}, callback);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
Search groups and fetch photos from the first group found
|
|
||||||
Useful if you know the exact name of a group and want to show the groups photos.
|
|
||||||
|
|
||||||
@param {String} group The group name to search for
|
|
||||||
@param {Function} [callback] The callback to be called when the data is ready
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
groupsearch: function( group, callback ) {
|
|
||||||
return this._call({
|
|
||||||
text: group,
|
|
||||||
method: 'flickr.groups.search'
|
|
||||||
}, function( data ) {
|
|
||||||
this.group( data.groups.group[0].nsid, callback );
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
Get photos from a group by ID
|
|
||||||
|
|
||||||
@param {String} group_id The group id to fetch
|
|
||||||
@param {Function} [callback] The callback to be called when the data is ready
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
group: function ( group_id, callback ) {
|
|
||||||
return this._find({
|
|
||||||
group_id: group_id,
|
|
||||||
method: 'flickr.groups.pools.getPhotos'
|
|
||||||
}, callback );
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
Set flickr options
|
|
||||||
|
|
||||||
@param {Object} options The options object to blend
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
setOptions: function( options ) {
|
|
||||||
$.extend(this.options, options);
|
|
||||||
return this;
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
// call Flickr and raise errors
|
|
||||||
|
|
||||||
_call: function( params, callback ) {
|
|
||||||
|
|
||||||
var url = 'https://api.flickr.com/services/rest/?';
|
|
||||||
|
|
||||||
var scope = this;
|
|
||||||
|
|
||||||
params = $.extend({
|
|
||||||
format : 'json',
|
|
||||||
jsoncallback : '?',
|
|
||||||
api_key: this.api_key
|
|
||||||
}, params );
|
|
||||||
|
|
||||||
$.each(params, function( key, value ) {
|
|
||||||
url += '&' + key + '=' + value;
|
|
||||||
});
|
|
||||||
|
|
||||||
$.getJSON(url, function(data) {
|
|
||||||
if ( data.stat === 'ok' ) {
|
|
||||||
callback.call(scope, data);
|
|
||||||
} else {
|
|
||||||
Galleria.raise( data.code.toString() + ' ' + data.stat + ': ' + data.message, true );
|
|
||||||
}
|
|
||||||
});
|
|
||||||
return scope;
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
// "hidden" way of getting a big image (~1024) from flickr
|
|
||||||
|
|
||||||
_getBig: function( photo ) {
|
|
||||||
|
|
||||||
if ( photo.url_l ) {
|
|
||||||
return photo.url_l;
|
|
||||||
} else if ( parseInt( photo.width_o, 10 ) > 1280 ) {
|
|
||||||
|
|
||||||
return 'https://farm'+photo.farm + '.static.flickr.com/'+photo.server +
|
|
||||||
'/' + photo.id + '_' + photo.secret + '_b.jpg';
|
|
||||||
}
|
|
||||||
|
|
||||||
return photo.url_o || photo.url_z || photo.url_m;
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
// get image size by option name
|
|
||||||
|
|
||||||
_getSize: function( photo, size ) {
|
|
||||||
|
|
||||||
var img;
|
|
||||||
|
|
||||||
switch(size) {
|
|
||||||
|
|
||||||
case 'thumb':
|
|
||||||
img = photo.url_t;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'small':
|
|
||||||
img = photo.url_s;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'big':
|
|
||||||
img = this._getBig( photo );
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'original':
|
|
||||||
img = photo.url_o ? photo.url_o : this._getBig( photo );
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
img = photo.url_z || photo.url_m;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return img;
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
// ask flickr for photos, parse the result and call the callback with the galleria-ready data array
|
|
||||||
|
|
||||||
_find: function( params, callback ) {
|
|
||||||
|
|
||||||
params = $.extend({
|
|
||||||
method: 'flickr.photos.search',
|
|
||||||
extras: 'url_t,url_m,url_o,url_s,url_l,url_z,description',
|
|
||||||
sort: this.options.sort,
|
|
||||||
per_page: Math.min( this.options.max, 500 )
|
|
||||||
}, params );
|
|
||||||
|
|
||||||
return this._call( params, function(data) {
|
|
||||||
|
|
||||||
var gallery = [],
|
|
||||||
photos = data.photos ? data.photos.photo : data.photoset.photo,
|
|
||||||
len = photos.length,
|
|
||||||
photo,
|
|
||||||
i;
|
|
||||||
|
|
||||||
for ( i=0; i<len; i++ ) {
|
|
||||||
|
|
||||||
photo = photos[i];
|
|
||||||
|
|
||||||
gallery.push({
|
|
||||||
thumb: this._getSize( photo, this.options.thumbSize ),
|
|
||||||
image: this._getSize( photo, this.options.imageSize ),
|
|
||||||
big: this._getBig( photo ),
|
|
||||||
title: photos[i].title,
|
|
||||||
description: this.options.description && photos[i].description ? photos[i].description._content : '',
|
|
||||||
link: this.options.backlink ? 'https://flickr.com/photos/' + photo.owner + '/' + photo.id : ''
|
|
||||||
});
|
|
||||||
}
|
|
||||||
callback.call( this, gallery );
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
Galleria modifications
|
|
||||||
We fake-extend the load prototype to make Flickr integration as simple as possible
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
// save the old prototype in a local variable
|
|
||||||
|
|
||||||
var load = Galleria.prototype.load;
|
|
||||||
|
|
||||||
|
|
||||||
// fake-extend the load prototype using the flickr data
|
|
||||||
|
|
||||||
Galleria.prototype.load = function() {
|
|
||||||
|
|
||||||
// pass if no data is provided or flickr option not found
|
|
||||||
if ( arguments.length || typeof this._options.flickr !== 'string' ) {
|
|
||||||
load.apply( this, Galleria.utils.array( arguments ) );
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// define some local vars
|
|
||||||
var self = this,
|
|
||||||
args = Galleria.utils.array( arguments ),
|
|
||||||
flickr = this._options.flickr.split(':'),
|
|
||||||
f,
|
|
||||||
opts = $.extend({}, self._options.flickrOptions),
|
|
||||||
loader = typeof opts.loader !== 'undefined' ?
|
|
||||||
opts.loader : $('<div>').css({
|
|
||||||
width: 48,
|
|
||||||
height: 48,
|
|
||||||
opacity: 0.7,
|
|
||||||
background:'#000 url('+PATH+'loader.gif) no-repeat 50% 50%'
|
|
||||||
});
|
|
||||||
|
|
||||||
if ( flickr.length ) {
|
|
||||||
|
|
||||||
// validate the method
|
|
||||||
if ( typeof Galleria.Flickr.prototype[ flickr[0] ] !== 'function' ) {
|
|
||||||
Galleria.raise( flickr[0] + ' method not found in Flickr plugin' );
|
|
||||||
return load.apply( this, args );
|
|
||||||
}
|
|
||||||
|
|
||||||
// validate the argument
|
|
||||||
if ( !flickr[1] ) {
|
|
||||||
Galleria.raise( 'No flickr argument found' );
|
|
||||||
return load.apply( this, args );
|
|
||||||
}
|
|
||||||
|
|
||||||
// apply the preloader
|
|
||||||
window.setTimeout(function() {
|
|
||||||
self.$( 'target' ).append( loader );
|
|
||||||
},100);
|
|
||||||
|
|
||||||
// create the instance
|
|
||||||
f = new Galleria.Flickr();
|
|
||||||
|
|
||||||
// apply Flickr options
|
|
||||||
if ( typeof self._options.flickrOptions === 'object' ) {
|
|
||||||
f.setOptions( self._options.flickrOptions );
|
|
||||||
}
|
|
||||||
|
|
||||||
// call the flickr method and trigger the DATA event
|
|
||||||
f[ flickr[0] ]( flickr[1], function( data ) {
|
|
||||||
|
|
||||||
self._data = data;
|
|
||||||
loader.remove();
|
|
||||||
self.trigger( Galleria.DATA );
|
|
||||||
f.options.complete.call(f, data);
|
|
||||||
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
|
|
||||||
// if flickr array not found, pass
|
|
||||||
load.apply( this, args );
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
}( jQuery ) );
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(function($){Galleria.requires(1.25,"The Flickr Plugin requires Galleria version 1.2.5 or later.");var PATH=Galleria.utils.getScriptPath();Galleria.Flickr=function(api_key){this.api_key=api_key||"2a2ce06c15780ebeb0b706650fc890b2";this.options={max:30,imageSize:"medium",thumbSize:"thumb",sort:"interestingness-desc",description:false,complete:function(){},backlink:false}};Galleria.Flickr.prototype={constructor:Galleria.Flickr,search:function(phrase,callback){return this._find({text:phrase},callback)},tags:function(tag,callback){return this._find({tags:tag},callback)},user:function(username,callback){return this._call({method:"flickr.urls.lookupUser",url:"flickr.com/photos/"+username},function(data){this._find({user_id:data.user.id,method:"flickr.people.getPublicPhotos"},callback)})},set:function(photoset_id,callback){return this._find({photoset_id:photoset_id,method:"flickr.photosets.getPhotos"},callback)},gallery:function(gallery_id,callback){return this._find({gallery_id:gallery_id,method:"flickr.galleries.getPhotos"},callback)},groupsearch:function(group,callback){return this._call({text:group,method:"flickr.groups.search"},function(data){this.group(data.groups.group[0].nsid,callback)})},group:function(group_id,callback){return this._find({group_id:group_id,method:"flickr.groups.pools.getPhotos"},callback)},setOptions:function(options){$.extend(this.options,options);return this},_call:function(params,callback){var url="https://api.flickr.com/services/rest/?";var scope=this;params=$.extend({format:"json",jsoncallback:"?",api_key:this.api_key},params);$.each(params,function(key,value){url+="&"+key+"="+value});$.getJSON(url,function(data){if(data.stat==="ok"){callback.call(scope,data)}else{Galleria.raise(data.code.toString()+" "+data.stat+": "+data.message,true)}});return scope},_getBig:function(photo){if(photo.url_l){return photo.url_l}else if(parseInt(photo.width_o,10)>1280){return"https://farm"+photo.farm+".static.flickr.com/"+photo.server+"/"+photo.id+"_"+photo.secret+"_b.jpg"}return photo.url_o||photo.url_z||photo.url_m},_getSize:function(photo,size){var img;switch(size){case"thumb":img=photo.url_t;break;case"small":img=photo.url_s;break;case"big":img=this._getBig(photo);break;case"original":img=photo.url_o?photo.url_o:this._getBig(photo);break;default:img=photo.url_z||photo.url_m;break}return img},_find:function(params,callback){params=$.extend({method:"flickr.photos.search",extras:"url_t,url_m,url_o,url_s,url_l,url_z,description",sort:this.options.sort,per_page:Math.min(this.options.max,500)},params);return this._call(params,function(data){var gallery=[],photos=data.photos?data.photos.photo:data.photoset.photo,len=photos.length,photo,i;for(i=0;i<len;i++){photo=photos[i];gallery.push({thumb:this._getSize(photo,this.options.thumbSize),image:this._getSize(photo,this.options.imageSize),big:this._getBig(photo),title:photos[i].title,description:this.options.description&&photos[i].description?photos[i].description._content:"",link:this.options.backlink?"https://flickr.com/photos/"+photo.owner+"/"+photo.id:""})}callback.call(this,gallery)})}};var load=Galleria.prototype.load;Galleria.prototype.load=function(){if(arguments.length||typeof this._options.flickr!=="string"){load.apply(this,Galleria.utils.array(arguments));return}var self=this,args=Galleria.utils.array(arguments),flickr=this._options.flickr.split(":"),f,opts=$.extend({},self._options.flickrOptions),loader=typeof opts.loader!=="undefined"?opts.loader:$("<div>").css({width:48,height:48,opacity:.7,background:"#000 url("+PATH+"loader.gif) no-repeat 50% 50%"});if(flickr.length){if(typeof Galleria.Flickr.prototype[flickr[0]]!=="function"){Galleria.raise(flickr[0]+" method not found in Flickr plugin");return load.apply(this,args)}if(!flickr[1]){Galleria.raise("No flickr argument found");return load.apply(this,args)}window.setTimeout(function(){self.$("target").append(loader)},100);f=new Galleria.Flickr;if(typeof self._options.flickrOptions==="object"){f.setOptions(self._options.flickrOptions)}f[flickr[0]](flickr[1],function(data){self._data=data;loader.remove();self.trigger(Galleria.DATA);f.options.complete.call(f,data)})}else{load.apply(this,args)}}})(jQuery);
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 KiB |
@@ -1,147 +0,0 @@
|
|||||||
/**
|
|
||||||
* Galleria History Plugin 2016-09-03
|
|
||||||
* http://galleria.io
|
|
||||||
*
|
|
||||||
* Copyright (c) 2010 - 2016 worse is better UG
|
|
||||||
* Licensed under the MIT license
|
|
||||||
* https://raw.github.com/worseisbetter/galleria/master/LICENSE
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function( $, window ) {
|
|
||||||
|
|
||||||
/*global jQuery, Galleria, window */
|
|
||||||
|
|
||||||
Galleria.requires(1.25, 'The History Plugin requires Galleria version 1.2.5 or later.');
|
|
||||||
|
|
||||||
Galleria.History = (function() {
|
|
||||||
|
|
||||||
var onloads = [],
|
|
||||||
|
|
||||||
init = false,
|
|
||||||
|
|
||||||
loc = window.location,
|
|
||||||
|
|
||||||
doc = window.document,
|
|
||||||
|
|
||||||
ie = Galleria.IE,
|
|
||||||
|
|
||||||
support = 'onhashchange' in window && ( doc.mode === undefined || doc.mode > 7 ),
|
|
||||||
|
|
||||||
iframe,
|
|
||||||
|
|
||||||
get = function( winloc ) {
|
|
||||||
if( iframe && !support && Galleria.IE ) {
|
|
||||||
winloc = winloc || iframe.location;
|
|
||||||
} else {
|
|
||||||
winloc = loc;
|
|
||||||
}
|
|
||||||
return parseInt( winloc.hash.substr(2), 10 );
|
|
||||||
},
|
|
||||||
|
|
||||||
saved = get( loc ),
|
|
||||||
|
|
||||||
callbacks = [],
|
|
||||||
|
|
||||||
onchange = function() {
|
|
||||||
$.each( callbacks, function( i, fn ) {
|
|
||||||
fn.call( window, get() );
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
ready = function() {
|
|
||||||
$.each( onloads, function(i, fn) {
|
|
||||||
fn();
|
|
||||||
});
|
|
||||||
|
|
||||||
init = true;
|
|
||||||
},
|
|
||||||
|
|
||||||
setHash = function( val ) {
|
|
||||||
return '/' + val;
|
|
||||||
};
|
|
||||||
|
|
||||||
// always remove support if IE < 8
|
|
||||||
if ( support && ie < 8 ) {
|
|
||||||
support = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( !support ) {
|
|
||||||
|
|
||||||
$(function() {
|
|
||||||
|
|
||||||
var interval = window.setInterval(function() {
|
|
||||||
|
|
||||||
var hash = get();
|
|
||||||
|
|
||||||
if ( !isNaN( hash ) && hash != saved ) {
|
|
||||||
saved = hash;
|
|
||||||
loc.hash = setHash( hash );
|
|
||||||
onchange();
|
|
||||||
}
|
|
||||||
|
|
||||||
}, 50);
|
|
||||||
|
|
||||||
if ( ie ) {
|
|
||||||
|
|
||||||
$('<iframe tabindex="-1" title="empty">').hide().attr( 'src', 'about:blank' ).one('load', function() {
|
|
||||||
|
|
||||||
iframe = this.contentWindow;
|
|
||||||
|
|
||||||
ready();
|
|
||||||
|
|
||||||
}).insertAfter(doc.body);
|
|
||||||
|
|
||||||
} else {
|
|
||||||
ready();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
ready();
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
|
|
||||||
change: function( fn ) {
|
|
||||||
|
|
||||||
callbacks.push( fn );
|
|
||||||
|
|
||||||
if( support ) {
|
|
||||||
window.onhashchange = onchange;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
set: function( val ) {
|
|
||||||
|
|
||||||
if ( isNaN( val ) ) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( !support && ie ) {
|
|
||||||
|
|
||||||
this.ready(function() {
|
|
||||||
|
|
||||||
var idoc = iframe.document;
|
|
||||||
idoc.open();
|
|
||||||
idoc.close();
|
|
||||||
|
|
||||||
iframe.location.hash = setHash( val );
|
|
||||||
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
loc.hash = setHash( val );
|
|
||||||
},
|
|
||||||
|
|
||||||
ready: function(fn) {
|
|
||||||
if (!init) {
|
|
||||||
onloads.push(fn);
|
|
||||||
} else {
|
|
||||||
fn();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}());
|
|
||||||
|
|
||||||
}( jQuery, this ));
|
|
||||||
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(function($,window){Galleria.requires(1.25,"The History Plugin requires Galleria version 1.2.5 or later.");Galleria.History=function(){var onloads=[],init=false,loc=window.location,doc=window.document,ie=Galleria.IE,support="onhashchange"in window&&(doc.mode===undefined||doc.mode>7),iframe,get=function(winloc){if(iframe&&!support&&Galleria.IE){winloc=winloc||iframe.location}else{winloc=loc}return parseInt(winloc.hash.substr(2),10)},saved=get(loc),callbacks=[],onchange=function(){$.each(callbacks,function(i,fn){fn.call(window,get())})},ready=function(){$.each(onloads,function(i,fn){fn()});init=true},setHash=function(val){return"/"+val};if(support&&ie<8){support=false}if(!support){$(function(){var interval=window.setInterval(function(){var hash=get();if(!isNaN(hash)&&hash!=saved){saved=hash;loc.hash=setHash(hash);onchange()}},50);if(ie){$('<iframe tabindex="-1" title="empty">').hide().attr("src","about:blank").one("load",function(){iframe=this.contentWindow;ready()}).insertAfter(doc.body)}else{ready()}})}else{ready()}return{change:function(fn){callbacks.push(fn);if(support){window.onhashchange=onchange}},set:function(val){if(isNaN(val)){return}if(!support&&ie){this.ready(function(){var idoc=iframe.document;idoc.open();idoc.close();iframe.location.hash=setHash(val)})}loc.hash=setHash(val)},ready:function(fn){if(!init){onloads.push(fn)}else{fn()}}}}()})(jQuery,this);
|
|
||||||
@@ -1,100 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Galleria History Plugin</title>
|
|
||||||
<style>
|
|
||||||
|
|
||||||
/* Demo styles */
|
|
||||||
html,body{background:#222;margin:0;}
|
|
||||||
body{border-top:4px solid #000;}
|
|
||||||
.content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;width:620px;margin:20px auto;}
|
|
||||||
h1{font-size:12px;font-weight:normal;color:#ddd;margin:0;}
|
|
||||||
p{margin:0 0 20px}
|
|
||||||
a {color:#22BCB9;text-decoration:none;}
|
|
||||||
.cred{margin-top:20px;font-size:11px;}
|
|
||||||
|
|
||||||
/* This rule is read by Galleria to define the gallery height: */
|
|
||||||
#galleria{height:320px}
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- load jQuery -->
|
|
||||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
|
||||||
|
|
||||||
<!-- load Galleria -->
|
|
||||||
<script src="../../galleria-1.4.7.min.js"></script>
|
|
||||||
|
|
||||||
<!-- load the History plugin, no need for further scripting -->
|
|
||||||
<script src="galleria.history.min.js"></script>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="content">
|
|
||||||
<h1>Galleria History Plugin</h1>
|
|
||||||
<p>Demonstrating a basic history example. Supports most browsers, including FF 3.0+ and IE 7+</p>
|
|
||||||
|
|
||||||
<!-- Adding gallery images. We use resized thumbnails here for better performance, but it’s not necessary -->
|
|
||||||
|
|
||||||
<div id="galleria">
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/3/34/Locomotives-Roundhouse2.jpg/800px-Locomotives-Roundhouse2.jpg">
|
|
||||||
<img title="Locomotives Roundhouse"
|
|
||||||
alt="Steam locomotives of the Chicago & North Western Railway."
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/34/Locomotives-Roundhouse2.jpg/100px-Locomotives-Roundhouse2.jpg">
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Icebergs_in_the_High_Arctic_-_20050907.jpg/1000px-Icebergs_in_the_High_Arctic_-_20050907.jpg">
|
|
||||||
<img title="Icebergs in the High Arctic"
|
|
||||||
alt="”The debris loading isn't particularly extensive, but the color is usual.”"
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Icebergs_in_the_High_Arctic_-_20050907.jpg/100px-Icebergs_in_the_High_Arctic_-_20050907.jpg">
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Ara%C3%B1a._A_Estrada%2C_Galiza._02.jpg/1000px-Ara%C3%B1a._A_Estrada%2C_Galiza._02.jpg">
|
|
||||||
<img title="Araña"
|
|
||||||
alt="Xysticus cristatus, A Estrada, Galicia, Spain"
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Ara%C3%B1a._A_Estrada%2C_Galiza._02.jpg/100px-Ara%C3%B1a._A_Estrada%2C_Galiza._02.jpg">
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/9104_-_Milano_-_Museo_storia_naturale_-_Fluorite_-_Foto_Giovanni_Dall%27Orto_22-Apr-2007.jpg/1000px-9104_-_Milano_-_Museo_storia_naturale_-_Fluorite_-_Foto_Giovanni_Dall%27Orto_22-Apr-2007.jpg">
|
|
||||||
<img title="Museo storia naturale"
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/9104_-_Milano_-_Museo_storia_naturale_-_Fluorite_-_Foto_Giovanni_Dall%27Orto_22-Apr-2007.jpg/100px-9104_-_Milano_-_Museo_storia_naturale_-_Fluorite_-_Foto_Giovanni_Dall%27Orto_22-Apr-2007.jpg">
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Grj%C3%B3tagj%C3%A1_caves_in_summer_2009_%282%29.jpg/1000px-Grj%C3%B3tagj%C3%A1_caves_in_summer_2009_%282%29.jpg">
|
|
||||||
<img title="Grjótagjá caves in summer 2009"
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Grj%C3%B3tagj%C3%A1_caves_in_summer_2009_%282%29.jpg/100px-Grj%C3%B3tagj%C3%A1_caves_in_summer_2009_%282%29.jpg">
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/9/90/20091128_Loutra_Thermes_Xanthi_Thrace_Greece_2.jpg/1000px-20091128_Loutra_Thermes_Xanthi_Thrace_Greece_2.jpg">
|
|
||||||
<img title="Thermes"
|
|
||||||
alt="Xanthi hot-spa springs, Xanthi Prefecture, Greece"
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/9/90/20091128_Loutra_Thermes_Xanthi_Thrace_Greece_2.jpg/100px-20091128_Loutra_Thermes_Xanthi_Thrace_Greece_2.jpg">
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Polish_Army_Ko%C5%82obrzeg_077.JPG/1024px-Polish_Army_Ko%C5%82obrzeg_077.JPG">
|
|
||||||
<img title="Polish Army Kołobrzeg"
|
|
||||||
alt="A display of the Polish Army. Both the soldier, and the vehicle belong to the 7th Pomeranian Coastal Defence Brigade, a part of the Szczecin-based 12th Mechanized Division ”Bolesław Krzywousty”"
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Polish_Army_Ko%C5%82obrzeg_077.JPG/100px-Polish_Army_Ko%C5%82obrzeg_077.JPG">
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/20100213_Zlatograd_Bulgaria_3.jpg/1024px-20100213_Zlatograd_Bulgaria_3.jpg">
|
|
||||||
<img title="Zlatograd Bulgaria"
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/20100213_Zlatograd_Bulgaria_3.jpg/100px-20100213_Zlatograd_Bulgaria_3.jpg">
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/FEMA_-_5399_-_Photograph_by_Andrea_Booher_taken_on_09-28-2001_in_New_York.jpg/1024px-FEMA_-_5399_-_Photograph_by_Andrea_Booher_taken_on_09-28-2001_in_New_York.jpg">
|
|
||||||
<img title="09-28-2001 in New York City"
|
|
||||||
alt="New York, NY, September 28, 2001 -- Debris on surrounding roofs at the site of the World Trade Center. Photo by Andrea Booher/ FEMA News Photo"
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/FEMA_-_5399_-_Photograph_by_Andrea_Booher_taken_on_09-28-2001_in_New_York.jpg/100px-FEMA_-_5399_-_Photograph_by_Andrea_Booher_taken_on_09-28-2001_in_New_York.jpg">
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Antennae%2C_Hubble_images.jpg/1024px-Antennae%2C_Hubble_images.jpg">
|
|
||||||
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Antennae%2C_Hubble_images.jpg/100px-Antennae%2C_Hubble_images.jpg">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p class="cred">Made by <a href="http://galleria.io">Galleria</a>.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(function() {
|
|
||||||
// Load the classic theme
|
|
||||||
Galleria.loadTheme('../../themes/classic/galleria.classic.min.js');
|
|
||||||
|
|
||||||
// Initialize Galleria
|
|
||||||
Galleria.run('#galleria');
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,321 +0,0 @@
|
|||||||
/**
|
|
||||||
* Galleria Picasa Plugin 2016-09-03
|
|
||||||
* http://galleria.io
|
|
||||||
*
|
|
||||||
* Copyright (c) 2010 - 2016 worse is better UG
|
|
||||||
* Licensed under the MIT license
|
|
||||||
* https://raw.github.com/worseisbetter/galleria/master/LICENSE
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function($) {
|
|
||||||
|
|
||||||
/*global jQuery, Galleria, window */
|
|
||||||
|
|
||||||
Galleria.requires(1.25, 'The Picasa Plugin requires Galleria version 1.2.5 or later.');
|
|
||||||
|
|
||||||
// The script path
|
|
||||||
var PATH = Galleria.utils.getScriptPath();
|
|
||||||
|
|
||||||
/**
|
|
||||||
|
|
||||||
@class
|
|
||||||
@constructor
|
|
||||||
|
|
||||||
@example var picasa = new Galleria.Picasa();
|
|
||||||
|
|
||||||
@author http://wib.io
|
|
||||||
|
|
||||||
@requires jQuery
|
|
||||||
@requires Galleria
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
Galleria.Picasa = function() {
|
|
||||||
|
|
||||||
this.options = {
|
|
||||||
max: 30, // photos to return
|
|
||||||
imageSize: 'medium', // photo size ( thumb,small,medium,big,original ) or a number
|
|
||||||
thumbSize: 'thumb', // thumbnail size ( thumb,small,medium,big,original ) or a number
|
|
||||||
complete: function(){} // callback to be called inside the Galleria.prototype.load
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
Galleria.Picasa.prototype = {
|
|
||||||
|
|
||||||
// bring back the constructor reference
|
|
||||||
|
|
||||||
constructor: Galleria.Picasa,
|
|
||||||
|
|
||||||
/**
|
|
||||||
Search for anything at Picasa
|
|
||||||
|
|
||||||
@param {String} phrase The string to search for
|
|
||||||
@param {Function} [callback] The callback to be called when the data is ready
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
search: function( phrase, callback ) {
|
|
||||||
return this._call( 'search', 'all', {
|
|
||||||
q: phrase
|
|
||||||
}, callback );
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
Get a user's public photos
|
|
||||||
|
|
||||||
@param {String} username The username to fetch photos from
|
|
||||||
@param {Function} [callback] The callback to be called when the data is ready
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
user: function( username, callback ) {
|
|
||||||
return this._call( 'user', 'user/' + username, callback );
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
Get photos from an album
|
|
||||||
|
|
||||||
@param {String} username The username that owns the album
|
|
||||||
@param {String} album The album ID
|
|
||||||
@param {Function} [callback] The callback to be called when the data is ready
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
useralbum: function( username, album, callback ) {
|
|
||||||
return this._call( 'useralbum', 'user/' + username + '/album/' + album, callback );
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
Set picasa options
|
|
||||||
|
|
||||||
@param {Object} options The options object to blend
|
|
||||||
|
|
||||||
@returns Instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
setOptions: function( options ) {
|
|
||||||
$.extend(this.options, options);
|
|
||||||
return this;
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
// call Picasa
|
|
||||||
|
|
||||||
_call: function( type, url, params, callback ) {
|
|
||||||
|
|
||||||
url = 'https://picasaweb.google.com/data/feed/api/' + url + '?';
|
|
||||||
|
|
||||||
if (typeof params == 'function') {
|
|
||||||
callback = params;
|
|
||||||
params = {};
|
|
||||||
}
|
|
||||||
|
|
||||||
var self = this;
|
|
||||||
|
|
||||||
params = $.extend({
|
|
||||||
'kind': 'photo',
|
|
||||||
'access': 'public',
|
|
||||||
'max-results': this.options.max,
|
|
||||||
'thumbsize': this._getSizes().join(','),
|
|
||||||
'alt': 'json-in-script',
|
|
||||||
'callback': '?'
|
|
||||||
}, params );
|
|
||||||
|
|
||||||
$.each(params, function( key, value ) {
|
|
||||||
url += '&' + key + '=' + value;
|
|
||||||
});
|
|
||||||
|
|
||||||
// since Picasa throws 404 when the call is malformed, we must set a timeout here:
|
|
||||||
|
|
||||||
var data = false;
|
|
||||||
|
|
||||||
Galleria.utils.wait({
|
|
||||||
until: function() {
|
|
||||||
return data;
|
|
||||||
},
|
|
||||||
success: function() {
|
|
||||||
self._parse.call( self, data.feed.entry, callback );
|
|
||||||
},
|
|
||||||
error: function() {
|
|
||||||
var msg = '';
|
|
||||||
if ( type == 'user' ) {
|
|
||||||
msg = 'user not found.';
|
|
||||||
} else if ( type == 'useralbum' ) {
|
|
||||||
msg = 'album or user not found.';
|
|
||||||
}
|
|
||||||
Galleria.raise('Picasa request failed' + (msg ? ': ' + msg : '.'));
|
|
||||||
},
|
|
||||||
timeout: 5000
|
|
||||||
});
|
|
||||||
|
|
||||||
$.getJSON( url, function( result ) {
|
|
||||||
data = result;
|
|
||||||
});
|
|
||||||
|
|
||||||
return self;
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
// parse image sizes and return an array of three
|
|
||||||
|
|
||||||
_getSizes: function() {
|
|
||||||
|
|
||||||
var self = this,
|
|
||||||
norm = {
|
|
||||||
small: '72c',
|
|
||||||
thumb: '104u',
|
|
||||||
medium: '640u',
|
|
||||||
big: '1024u',
|
|
||||||
original: '1600u'
|
|
||||||
},
|
|
||||||
op = self.options,
|
|
||||||
t = {},
|
|
||||||
n,
|
|
||||||
sz = [32,48,64,72,94,104,110,128,144,150,160,200,220,288,320,400,512,576,640,720,800,912,1024,1152,1280,1440,1600];
|
|
||||||
|
|
||||||
$(['thumbSize', 'imageSize']).each(function() {
|
|
||||||
if( op[this] in norm ) {
|
|
||||||
t[this] = norm[ op[this] ];
|
|
||||||
} else {
|
|
||||||
n = Galleria.utils.parseValue( op[this] );
|
|
||||||
if (n > 1600) {
|
|
||||||
n = 1600;
|
|
||||||
} else {
|
|
||||||
$.each( sz, function(i) {
|
|
||||||
if ( n < this ) {
|
|
||||||
n = sz[i-1];
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
t[this] = n;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
return [ t.thumbSize, t.imageSize, '1280u'];
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
// parse the result and call the callback with the galleria-ready data array
|
|
||||||
|
|
||||||
_parse: function( data, callback ) {
|
|
||||||
|
|
||||||
var self = this,
|
|
||||||
gallery = [],
|
|
||||||
img;
|
|
||||||
|
|
||||||
$.each( data, function() {
|
|
||||||
|
|
||||||
img = this.media$group.media$thumbnail;
|
|
||||||
|
|
||||||
gallery.push({
|
|
||||||
thumb: img[0].url,
|
|
||||||
image: img[1].url,
|
|
||||||
big: img[2].url,
|
|
||||||
title: this.summary.$t
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
callback.call( this, gallery );
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
Galleria modifications
|
|
||||||
We fake-extend the load prototype to make Picasa integration as simple as possible
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
// save the old prototype in a local variable
|
|
||||||
|
|
||||||
var load = Galleria.prototype.load;
|
|
||||||
|
|
||||||
|
|
||||||
// fake-extend the load prototype using the picasa data
|
|
||||||
|
|
||||||
Galleria.prototype.load = function() {
|
|
||||||
|
|
||||||
// pass if no data is provided or picasa option not found
|
|
||||||
if ( arguments.length || typeof this._options.picasa !== 'string' ) {
|
|
||||||
load.apply( this, Galleria.utils.array( arguments ) );
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// define some local vars
|
|
||||||
var self = this,
|
|
||||||
args = Galleria.utils.array( arguments ),
|
|
||||||
picasa = this._options.picasa.split(':'),
|
|
||||||
p,
|
|
||||||
opts = $.extend({}, self._options.picasaOptions),
|
|
||||||
loader = typeof opts.loader !== 'undefined' ?
|
|
||||||
opts.loader : $('<div>').css({
|
|
||||||
width: 48,
|
|
||||||
height: 48,
|
|
||||||
opacity: 0.7,
|
|
||||||
background:'#000 url('+PATH+'loader.gif) no-repeat 50% 50%'
|
|
||||||
});
|
|
||||||
|
|
||||||
if ( picasa.length ) {
|
|
||||||
|
|
||||||
// validate the method
|
|
||||||
if ( typeof Galleria.Picasa.prototype[ picasa[0] ] !== 'function' ) {
|
|
||||||
Galleria.raise( picasa[0] + ' method not found in Picasa plugin' );
|
|
||||||
return load.apply( this, args );
|
|
||||||
}
|
|
||||||
|
|
||||||
// validate the argument
|
|
||||||
if ( !picasa[1] ) {
|
|
||||||
Galleria.raise( 'No picasa argument found' );
|
|
||||||
return load.apply( this, args );
|
|
||||||
}
|
|
||||||
|
|
||||||
// apply the preloader
|
|
||||||
window.setTimeout(function() {
|
|
||||||
self.$( 'target' ).append( loader );
|
|
||||||
},100);
|
|
||||||
|
|
||||||
// create the instance
|
|
||||||
p = new Galleria.Picasa();
|
|
||||||
|
|
||||||
// apply Flickr options
|
|
||||||
if ( typeof self._options.picasaOptions === 'object' ) {
|
|
||||||
p.setOptions( self._options.picasaOptions );
|
|
||||||
}
|
|
||||||
|
|
||||||
// call the picasa method and trigger the DATA event
|
|
||||||
var arg = [];
|
|
||||||
if ( picasa[0] == 'useralbum' ) {
|
|
||||||
arg = picasa[1].split('/');
|
|
||||||
if (arg.length != 2) {
|
|
||||||
Galleria.raise( 'Picasa useralbum not correctly formatted (should be [user]/[album])');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
arg.push( picasa[1] );
|
|
||||||
}
|
|
||||||
|
|
||||||
arg.push(function(data) {
|
|
||||||
self._data = data;
|
|
||||||
loader.remove();
|
|
||||||
self.trigger( Galleria.DATA );
|
|
||||||
p.options.complete.call(p, data);
|
|
||||||
});
|
|
||||||
|
|
||||||
p[ picasa[0] ].apply( p, arg );
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
// if flickr array not found, pass
|
|
||||||
load.apply( this, args );
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
}( jQuery ) );
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(function($){Galleria.requires(1.25,"The Picasa Plugin requires Galleria version 1.2.5 or later.");var PATH=Galleria.utils.getScriptPath();Galleria.Picasa=function(){this.options={max:30,imageSize:"medium",thumbSize:"thumb",complete:function(){}}};Galleria.Picasa.prototype={constructor:Galleria.Picasa,search:function(phrase,callback){return this._call("search","all",{q:phrase},callback)},user:function(username,callback){return this._call("user","user/"+username,callback)},useralbum:function(username,album,callback){return this._call("useralbum","user/"+username+"/album/"+album,callback)},setOptions:function(options){$.extend(this.options,options);return this},_call:function(type,url,params,callback){url="https://picasaweb.google.com/data/feed/api/"+url+"?";if(typeof params=="function"){callback=params;params={}}var self=this;params=$.extend({kind:"photo",access:"public","max-results":this.options.max,thumbsize:this._getSizes().join(","),alt:"json-in-script",callback:"?"},params);$.each(params,function(key,value){url+="&"+key+"="+value});var data=false;Galleria.utils.wait({until:function(){return data},success:function(){self._parse.call(self,data.feed.entry,callback)},error:function(){var msg="";if(type=="user"){msg="user not found."}else if(type=="useralbum"){msg="album or user not found."}Galleria.raise("Picasa request failed"+(msg?": "+msg:"."))},timeout:5e3});$.getJSON(url,function(result){data=result});return self},_getSizes:function(){var self=this,norm={small:"72c",thumb:"104u",medium:"640u",big:"1024u",original:"1600u"},op=self.options,t={},n,sz=[32,48,64,72,94,104,110,128,144,150,160,200,220,288,320,400,512,576,640,720,800,912,1024,1152,1280,1440,1600];$(["thumbSize","imageSize"]).each(function(){if(op[this]in norm){t[this]=norm[op[this]]}else{n=Galleria.utils.parseValue(op[this]);if(n>1600){n=1600}else{$.each(sz,function(i){if(n<this){n=sz[i-1];return false}})}t[this]=n}});return[t.thumbSize,t.imageSize,"1280u"]},_parse:function(data,callback){var self=this,gallery=[],img;$.each(data,function(){img=this.media$group.media$thumbnail;gallery.push({thumb:img[0].url,image:img[1].url,big:img[2].url,title:this.summary.$t})});callback.call(this,gallery)}};var load=Galleria.prototype.load;Galleria.prototype.load=function(){if(arguments.length||typeof this._options.picasa!=="string"){load.apply(this,Galleria.utils.array(arguments));return}var self=this,args=Galleria.utils.array(arguments),picasa=this._options.picasa.split(":"),p,opts=$.extend({},self._options.picasaOptions),loader=typeof opts.loader!=="undefined"?opts.loader:$("<div>").css({width:48,height:48,opacity:.7,background:"#000 url("+PATH+"loader.gif) no-repeat 50% 50%"});if(picasa.length){if(typeof Galleria.Picasa.prototype[picasa[0]]!=="function"){Galleria.raise(picasa[0]+" method not found in Picasa plugin");return load.apply(this,args)}if(!picasa[1]){Galleria.raise("No picasa argument found");return load.apply(this,args)}window.setTimeout(function(){self.$("target").append(loader)},100);p=new Galleria.Picasa;if(typeof self._options.picasaOptions==="object"){p.setOptions(self._options.picasaOptions)}var arg=[];if(picasa[0]=="useralbum"){arg=picasa[1].split("/");if(arg.length!=2){Galleria.raise("Picasa useralbum not correctly formatted (should be [user]/[album])");return}}else{arg.push(picasa[1])}arg.push(function(data){self._data=data;loader.remove();self.trigger(Galleria.DATA);p.options.complete.call(p,data)});p[picasa[0]].apply(p,arg)}else{load.apply(this,args)}}})(jQuery);
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 KiB |
@@ -1,55 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Galleria Flickr Plugin</title>
|
|
||||||
<style>
|
|
||||||
|
|
||||||
/* Demo styles */
|
|
||||||
html,body{background:#222;margin:0;}
|
|
||||||
body{border-top:4px solid #000;}
|
|
||||||
.content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;width:620px;margin:20px auto;}
|
|
||||||
h1{font-size:12px;font-weight:normal;color:#ddd;margin:0;}
|
|
||||||
p{margin:0 0 20px}
|
|
||||||
a {color:#22BCB9;text-decoration:none;}
|
|
||||||
.cred{margin-top:20px;font-size:11px;}
|
|
||||||
|
|
||||||
/* This rule is read by Galleria to define the gallery height: */
|
|
||||||
#galleria{height:320px;}
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- load jQuery -->
|
|
||||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
|
||||||
|
|
||||||
<!-- load Galleria -->
|
|
||||||
<script src="../../galleria-1.4.7.min.js"></script>
|
|
||||||
|
|
||||||
<!-- load picasa plugin -->
|
|
||||||
<script src="galleria.picasa.min.js"></script>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="content">
|
|
||||||
<h1>Galleria Picasa Plugin Demo</h1>
|
|
||||||
<p>Demonstrating a basic gallery example with photos from a Picasa album.</p>
|
|
||||||
|
|
||||||
<!-- Adding gallery images. This is just a container for the dynamic picasa images -->
|
|
||||||
|
|
||||||
<div id="galleria"></div>
|
|
||||||
|
|
||||||
<p class="cred">Made by <a href="http://galleria.io">Galleria</a>.</p>
|
|
||||||
</div>
|
|
||||||
<script>
|
|
||||||
$(function() {
|
|
||||||
// Load the classic theme
|
|
||||||
Galleria.loadTheme('../../themes/classic/galleria.classic.min.js');
|
|
||||||
|
|
||||||
Galleria.run('#galleria', {
|
|
||||||
// The user & album. This example fetches the album "Demo" from the user "galleriajs"
|
|
||||||
picasa: 'useralbum:galleriajs/Demo'
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,124 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Galleria Classic Theme</title>
|
|
||||||
<style>
|
|
||||||
|
|
||||||
/* Demo styles */
|
|
||||||
html,body{background:#222;margin:0;}
|
|
||||||
body{border-top:4px solid #000;}
|
|
||||||
.content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;width:620px;margin:20px auto;}
|
|
||||||
h1{font-size:12px;font-weight:normal;color:#ddd;margin:0;}
|
|
||||||
p{margin:0 0 20px}
|
|
||||||
a {color:#22BCB9;text-decoration:none;}
|
|
||||||
.cred{margin-top:20px;font-size:11px;}
|
|
||||||
|
|
||||||
/* This rule is read by Galleria to define the gallery height: */
|
|
||||||
#galleria{height:320px}
|
|
||||||
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="content">
|
|
||||||
<h1>Galleria Classic Theme</h1>
|
|
||||||
<p>Demonstrating a basic gallery example.</p>
|
|
||||||
|
|
||||||
<!-- Adding gallery images. We use resized thumbnails here for better performance, but it’s not necessary -->
|
|
||||||
|
|
||||||
<div id="galleria">
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Biandintz_eta_zaldiak_-_modified2.jpg/800px-Biandintz_eta_zaldiak_-_modified2.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Biandintz_eta_zaldiak_-_modified2.jpg/100px-Biandintz_eta_zaldiak_-_modified2.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Biandintz_eta_zaldiak_-_modified2.jpg/1280px-Biandintz_eta_zaldiak_-_modified2.jpg"
|
|
||||||
data-title="Biandintz eta zaldiak"
|
|
||||||
data-description="Horses on Bianditz mountain, in Navarre, Spain."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Athabasca_Rail_at_Brule_Lake.jpg/800px-Athabasca_Rail_at_Brule_Lake.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Athabasca_Rail_at_Brule_Lake.jpg/100px-Athabasca_Rail_at_Brule_Lake.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Athabasca_Rail_at_Brule_Lake.jpg/1280px-Athabasca_Rail_at_Brule_Lake.jpg"
|
|
||||||
data-title="Athabasca Rail"
|
|
||||||
data-description="The Athabasca River railroad track at the mouth of Brulé Lake in Alberta, Canada."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Back-scattering_crepuscular_rays_panorama_1.jpg/1280px-Back-scattering_crepuscular_rays_panorama_1.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Back-scattering_crepuscular_rays_panorama_1.jpg/100px-Back-scattering_crepuscular_rays_panorama_1.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Back-scattering_crepuscular_rays_panorama_1.jpg/1400px-Back-scattering_crepuscular_rays_panorama_1.jpg"
|
|
||||||
data-title="Back-scattering crepuscular rays"
|
|
||||||
data-description="Picture of the day on Wikimedia Commons 26 September 2010."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Interior_convento_3.jpg/800px-Interior_convento_3.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Interior_convento_3.jpg/120px-Interior_convento_3.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Interior_convento_3.jpg/1400px-Interior_convento_3.jpg"
|
|
||||||
data-title="Interior convento"
|
|
||||||
data-description="Interior view of Yuriria Convent, founded in 1550."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg/800px-Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg/100px-Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg/1280px-Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg"
|
|
||||||
data-title="Oxbow Bend outlook"
|
|
||||||
data-description="View over the Snake River to the Mount Moran with the Skillet Glacier."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Hazy_blue_hour_in_Grand_Canyon.JPG/800px-Hazy_blue_hour_in_Grand_Canyon.JPG">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Hazy_blue_hour_in_Grand_Canyon.JPG/100px-Hazy_blue_hour_in_Grand_Canyon.JPG",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Hazy_blue_hour_in_Grand_Canyon.JPG/1280px-Hazy_blue_hour_in_Grand_Canyon.JPG"
|
|
||||||
data-title="Hazy blue hour"
|
|
||||||
data-description="Hazy blue hour in Grand Canyon. View from the South Rim."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/2909_vallon_moy_res.jpg/800px-2909_vallon_moy_res.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/2909_vallon_moy_res.jpg/100px-2909_vallon_moy_res.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/2909_vallon_moy_res.jpg/1280px-2909_vallon_moy_res.jpg"
|
|
||||||
data-title="Haute Severaisse valley"
|
|
||||||
data-description="View of Haute Severaisse valley and surrounding summits from the slopes of Les Vernets."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bohinjsko_jezero_2.jpg/800px-Bohinjsko_jezero_2.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bohinjsko_jezero_2.jpg/100px-Bohinjsko_jezero_2.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bohinjsko_jezero_2.jpg/1280px-Bohinjsko_jezero_2.jpg"
|
|
||||||
data-title="Bohinj lake"
|
|
||||||
data-description="Bohinj lake (Triglav National Park, Slovenia) in the morning."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Bowling_Balls_Beach_2_edit.jpg/800px-Bowling_Balls_Beach_2_edit.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Bowling_Balls_Beach_2_edit.jpg/100px-Bowling_Balls_Beach_2_edit.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Bowling_Balls_Beach_2_edit.jpg/1280px-Bowling_Balls_Beach_2_edit.jpg"
|
|
||||||
data-title="Bowling Balls"
|
|
||||||
data-description="Mendocino county, California, USA."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="https://vimeo.com/25750735">
|
|
||||||
<span class="video">Works for vimeo too.</span>
|
|
||||||
</a>
|
|
||||||
<a href="https://www.youtube.com/watch?v=gAeYCJZ_meY">
|
|
||||||
<span class="video">Works for youtube too.</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<p class="cred">Made by <a href="http://galleria.io">Galleria</a>.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- load jQuery -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
|
||||||
<!-- load Galleria -->
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.4.7/galleria.min.js"></script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.4.7/themes/classic/galleria.classic.min.js"></script>
|
|
||||||
<script>
|
|
||||||
$(function() {
|
|
||||||
Galleria.run('#galleria');
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,130 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Galleria Classic Theme</title>
|
|
||||||
<style>
|
|
||||||
|
|
||||||
/* Demo styles */
|
|
||||||
html,body{background:#222;margin:0;}
|
|
||||||
body{border-top:4px solid #000;}
|
|
||||||
.content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;width:620px;margin:20px auto;}
|
|
||||||
h1{font-size:12px;font-weight:normal;color:#ddd;margin:0;}
|
|
||||||
p{margin:0 0 20px}
|
|
||||||
a {color:#22BCB9;text-decoration:none;}
|
|
||||||
.cred{margin-top:20px;font-size:11px;}
|
|
||||||
|
|
||||||
/* This rule is read by Galleria to define the gallery height: */
|
|
||||||
#galleria{height:320px}
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- load jQuery -->
|
|
||||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
|
||||||
|
|
||||||
<!-- load Galleria -->
|
|
||||||
<script src="../../galleria-1.4.7.min.js"></script>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="content">
|
|
||||||
<h1>Galleria Classic Theme</h1>
|
|
||||||
<p>Demonstrating a basic gallery example.</p>
|
|
||||||
|
|
||||||
<!-- Adding gallery images. We use resized thumbnails here for better performance, but it’s not necessary -->
|
|
||||||
|
|
||||||
<div id="galleria">
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Biandintz_eta_zaldiak_-_modified2.jpg/800px-Biandintz_eta_zaldiak_-_modified2.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Biandintz_eta_zaldiak_-_modified2.jpg/100px-Biandintz_eta_zaldiak_-_modified2.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Biandintz_eta_zaldiak_-_modified2.jpg/1280px-Biandintz_eta_zaldiak_-_modified2.jpg"
|
|
||||||
data-title="Biandintz eta zaldiak"
|
|
||||||
data-description="Horses on Bianditz mountain, in Navarre, Spain."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Athabasca_Rail_at_Brule_Lake.jpg/800px-Athabasca_Rail_at_Brule_Lake.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Athabasca_Rail_at_Brule_Lake.jpg/100px-Athabasca_Rail_at_Brule_Lake.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Athabasca_Rail_at_Brule_Lake.jpg/1280px-Athabasca_Rail_at_Brule_Lake.jpg"
|
|
||||||
data-title="Athabasca Rail"
|
|
||||||
data-description="The Athabasca River railroad track at the mouth of Brulé Lake in Alberta, Canada."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Back-scattering_crepuscular_rays_panorama_1.jpg/1280px-Back-scattering_crepuscular_rays_panorama_1.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Back-scattering_crepuscular_rays_panorama_1.jpg/100px-Back-scattering_crepuscular_rays_panorama_1.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Back-scattering_crepuscular_rays_panorama_1.jpg/1400px-Back-scattering_crepuscular_rays_panorama_1.jpg"
|
|
||||||
data-title="Back-scattering crepuscular rays"
|
|
||||||
data-description="Picture of the day on Wikimedia Commons 26 September 2010."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Interior_convento_3.jpg/800px-Interior_convento_3.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Interior_convento_3.jpg/120px-Interior_convento_3.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Interior_convento_3.jpg/1400px-Interior_convento_3.jpg"
|
|
||||||
data-title="Interior convento"
|
|
||||||
data-description="Interior view of Yuriria Convent, founded in 1550."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg/800px-Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg/100px-Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg/1280px-Oxbow_Bend_outlook_in_the_Grand_Teton_National_Park.jpg"
|
|
||||||
data-title="Oxbow Bend outlook"
|
|
||||||
data-description="View over the Snake River to the Mount Moran with the Skillet Glacier."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Hazy_blue_hour_in_Grand_Canyon.JPG/800px-Hazy_blue_hour_in_Grand_Canyon.JPG">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Hazy_blue_hour_in_Grand_Canyon.JPG/100px-Hazy_blue_hour_in_Grand_Canyon.JPG",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Hazy_blue_hour_in_Grand_Canyon.JPG/1280px-Hazy_blue_hour_in_Grand_Canyon.JPG"
|
|
||||||
data-title="Hazy blue hour"
|
|
||||||
data-description="Hazy blue hour in Grand Canyon. View from the South Rim."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/2909_vallon_moy_res.jpg/800px-2909_vallon_moy_res.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/2909_vallon_moy_res.jpg/100px-2909_vallon_moy_res.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/2909_vallon_moy_res.jpg/1280px-2909_vallon_moy_res.jpg"
|
|
||||||
data-title="Haute Severaisse valley"
|
|
||||||
data-description="View of Haute Severaisse valley and surrounding summits from the slopes of Les Vernets."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bohinjsko_jezero_2.jpg/800px-Bohinjsko_jezero_2.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bohinjsko_jezero_2.jpg/100px-Bohinjsko_jezero_2.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bohinjsko_jezero_2.jpg/1280px-Bohinjsko_jezero_2.jpg"
|
|
||||||
data-title="Bohinj lake"
|
|
||||||
data-description="Bohinj lake (Triglav National Park, Slovenia) in the morning."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Bowling_Balls_Beach_2_edit.jpg/800px-Bowling_Balls_Beach_2_edit.jpg">
|
|
||||||
<img
|
|
||||||
src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Bowling_Balls_Beach_2_edit.jpg/100px-Bowling_Balls_Beach_2_edit.jpg",
|
|
||||||
data-big="http://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Bowling_Balls_Beach_2_edit.jpg/1280px-Bowling_Balls_Beach_2_edit.jpg"
|
|
||||||
data-title="Bowling Balls"
|
|
||||||
data-description="Mendocino county, California, USA."
|
|
||||||
>
|
|
||||||
</a>
|
|
||||||
<a href="https://vimeo.com/25750735">
|
|
||||||
<span class="video">Works for vimeo too.</span>
|
|
||||||
</a>
|
|
||||||
<a href="https://www.youtube.com/watch?v=gAeYCJZ_meY">
|
|
||||||
<span class="video">Works for youtube too.</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<p class="cred">Made by <a href="http://galleria.io">Galleria</a>.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(function() {
|
|
||||||
// Load the classic theme
|
|
||||||
Galleria.loadTheme('galleria.classic.min.js');
|
|
||||||
|
|
||||||
// Initialize Galleria
|
|
||||||
Galleria.run('#galleria');
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,101 +0,0 @@
|
|||||||
/**
|
|
||||||
* Galleria Classic Theme 2016-09-03
|
|
||||||
* http://galleria.io
|
|
||||||
*
|
|
||||||
* Copyright (c) 2010 - 2016 worse is better UG
|
|
||||||
* Licensed under the MIT license
|
|
||||||
* https://raw.github.com/worseisbetter/galleria/master/LICENSE
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function($) {
|
|
||||||
|
|
||||||
/*global window, jQuery, Galleria */
|
|
||||||
|
|
||||||
Galleria.addTheme({
|
|
||||||
name: 'classic',
|
|
||||||
author: 'Galleria',
|
|
||||||
css: 'galleria.classic.css',
|
|
||||||
defaults: {
|
|
||||||
transition: 'slide',
|
|
||||||
thumbCrop: 'height',
|
|
||||||
|
|
||||||
// set this to false if you want to show the caption all the time:
|
|
||||||
_toggleInfo: true
|
|
||||||
},
|
|
||||||
init: function(options) {
|
|
||||||
|
|
||||||
Galleria.requires(1.4, 'This version of Classic theme requires Galleria 1.4 or later');
|
|
||||||
|
|
||||||
// add some elements
|
|
||||||
this.addElement('info-link','info-close');
|
|
||||||
this.append({
|
|
||||||
'info' : ['info-link','info-close']
|
|
||||||
});
|
|
||||||
|
|
||||||
// cache some stuff
|
|
||||||
var info = this.$('info-link,info-close,info-text'),
|
|
||||||
touch = Galleria.TOUCH;
|
|
||||||
|
|
||||||
// show loader & counter with opacity
|
|
||||||
this.$('loader,counter').show().css('opacity', 0.4);
|
|
||||||
|
|
||||||
// some stuff for non-touch browsers
|
|
||||||
if (! touch ) {
|
|
||||||
this.addIdleState( this.get('image-nav-left'), { left:-50 });
|
|
||||||
this.addIdleState( this.get('image-nav-right'), { right:-50 });
|
|
||||||
this.addIdleState( this.get('counter'), { opacity:0 });
|
|
||||||
}
|
|
||||||
|
|
||||||
// toggle info
|
|
||||||
if ( options._toggleInfo === true ) {
|
|
||||||
info.bind( 'click:fast', function() {
|
|
||||||
info.toggle();
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
info.show();
|
|
||||||
this.$('info-link, info-close').hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
// bind some stuff
|
|
||||||
this.bind('thumbnail', function(e) {
|
|
||||||
|
|
||||||
if (! touch ) {
|
|
||||||
// fade thumbnails
|
|
||||||
$(e.thumbTarget).css('opacity', 0.6).parent().hover(function() {
|
|
||||||
$(this).not('.active').children().stop().fadeTo(100, 1);
|
|
||||||
}, function() {
|
|
||||||
$(this).not('.active').children().stop().fadeTo(400, 0.6);
|
|
||||||
});
|
|
||||||
|
|
||||||
if ( e.index === this.getIndex() ) {
|
|
||||||
$(e.thumbTarget).css('opacity',1);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
$(e.thumbTarget).css('opacity', this.getIndex() ? 1 : 0.6).bind('click:fast', function() {
|
|
||||||
$(this).css( 'opacity', 1 ).parent().siblings().children().css('opacity', 0.6);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
var activate = function(e) {
|
|
||||||
$(e.thumbTarget).css('opacity',1).parent().siblings().children().css('opacity', 0.6);
|
|
||||||
};
|
|
||||||
|
|
||||||
this.bind('loadstart', function(e) {
|
|
||||||
if (!e.cached) {
|
|
||||||
this.$('loader').show().fadeTo(200, 0.4);
|
|
||||||
}
|
|
||||||
window.setTimeout(function() {
|
|
||||||
activate(e);
|
|
||||||
}, touch ? 300 : 0);
|
|
||||||
this.$('info').toggle( this.hasInfo() );
|
|
||||||
});
|
|
||||||
|
|
||||||
this.bind('loadfinish', function(e) {
|
|
||||||
this.$('loader').fadeOut(200);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}(jQuery));
|
|
||||||
+226
-409
@@ -1,4 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
|
|
||||||
<!--[if lt IE 7]>
|
<!--[if lt IE 7]>
|
||||||
<html class="no-js ie6 oldie" lang="en">
|
<html class="no-js ie6 oldie" lang="en">
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
@@ -12,18 +13,21 @@
|
|||||||
<html class="no-js" lang="fr">
|
<html class="no-js" lang="fr">
|
||||||
<!--<![endif]-->
|
<!--<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>Appartement 10 couchages à Valloire</title>
|
<title>Appartement 10 couchages à Valloire</title>
|
||||||
<meta name="keywords" content="valloire,appartement,location,ski,terrasse" />
|
<meta name="keywords" content="valloire,appartement,location,ski,terrasse" />
|
||||||
<meta name="description" content="Appartement 3 étoiles à Valloire. À 3 minutes des remontées mécaniques en navette. 10 couchages. 3 chambres. 2 salles-de-bains." />
|
|
||||||
|
<meta name="description" content="Appartement 3 étoiles à
|
||||||
|
Valloire. À 3 minutes des remontées mécaniques en navette. 10
|
||||||
|
couchages. 3 chambres. 2 salles-de-bains. Terrasse" />
|
||||||
|
|
||||||
<meta http-equiv="content-language" content="fr" />
|
<meta http-equiv="content-language" content="fr" />
|
||||||
<link rel="icon" href="files/ski.ico" type="image/x-icon" />
|
<link rel="icon" href="files/ski.ico" type="image/x-icon" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<link rel="stylesheet" href="site_69553_1_29.css">
|
<link rel="stylesheet" href="mon_site.css">
|
||||||
|
|
||||||
<!-- DE QUOI AFFICHER LES PHOTOS -->
|
<!-- DE QUOI AFFICHER LES PHOTOS -->
|
||||||
<script src="jquery.js"></script>
|
<script src="jquery.js"></script>
|
||||||
<script src="galleria/galleria-1.4.7.min.js"></script>
|
<script src="galleria/galleria-1.4.7.min.js"></script>
|
||||||
@@ -38,28 +42,32 @@
|
|||||||
<!-- BANDEAU DE TITRE -->
|
<!-- BANDEAU DE TITRE -->
|
||||||
<header class="bk-header">
|
<header class="bk-header">
|
||||||
<div class="wrapper clearfix">
|
<div class="wrapper clearfix">
|
||||||
<div id="page-zones__template-widgets__companyname-companyname" class="widget companyname " data-widget-type="companyname" data-uniqueid="page-zones__template-widgets__companyname-companyname">
|
|
||||||
<a href="/">Appartement 10 couchages à Valloire — Résidence les Terrasses de Choseaux</a>
|
<div id="page-zones__template-widgets__companyname-companyname"
|
||||||
|
class="widget companyname "
|
||||||
|
data-widget-type="companyname"
|
||||||
|
data-uniqueid="page-zones__template-widgets__companyname-companyname">
|
||||||
|
<a href="/">Appartement 10 couchages à Valloire —
|
||||||
|
Résidence les Terrasses de Choseaux</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<!-- PIED DE PAGE -->
|
<!-- PIED DE PAGE -->
|
||||||
<div class="canvas">
|
<div class="canvas entete">
|
||||||
<div style="width:960px; margin:auto">
|
<div style="width:960px; margin:auto">
|
||||||
<br>
|
<br>
|
||||||
<p>La gestion de la location est assurée par
|
<p>La gestion de la location est assurée par
|
||||||
l’<a href="http://www.valloire.net/fr/il4-commerces,services,ete_i372389-agence-chauvin-immobilier.aspx"
|
l’<a href="http://www.valloire.net/fr/il4-commerces,services,ete_i372389-agence-chauvin-immobilier.aspx"
|
||||||
target="_blank">agence Chauvin</a> merci
|
target="_blank">agence Chauvin</a> : merci de
|
||||||
de prévenir l’agence que vous avez trouvé
|
prévenir l’agence que vous avez trouvé cette location
|
||||||
cette location par l’intermédiaire du site du
|
par l’intermédiaire du site du propriétaire.</p>
|
||||||
propriétaire.</p>
|
|
||||||
|
|
||||||
<p>Lien vers la page de l’appartement sur le
|
<p>Lien vers la page de l’appartement sur le
|
||||||
site <a href="http://resavalloire.arkiane.com/fr-FR/Lot/Detail/ref/TERRACHOSEAUB6">Valloire
|
site <a href="http://resavalloire.arkiane.com/fr-FR/Lot/Detail/ref/TERRACHOSEAUB6">Valloire
|
||||||
réservations</a>.</p>
|
réservations</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- CONTENU -->
|
<!-- CONTENU -->
|
||||||
<div class="canvas">
|
<div class="canvas">
|
||||||
@@ -67,42 +75,43 @@
|
|||||||
|
|
||||||
<!-- IMAGE PANORAMA -->
|
<!-- IMAGE PANORAMA -->
|
||||||
<section>
|
<section>
|
||||||
<div id="page-zones__template-widgets__feature-featurehome" class="widget feature " data-widget-type="feature" data-uniqueid="page-zones__template-widgets__feature-featurehome">
|
<div id="page-zones__template-widgets__feature-featurehome" class="widget feature "
|
||||||
<div class="feature-bgimg" style="background-image: url('files/site-bandeau-2013-valloire-00036379.jpg'); background-position: center -8.8685501453488%" ></div>
|
data-widget-type="feature" data-uniqueid="page-zones__template-widgets__feature-featurehome">
|
||||||
|
<div class="feature-bgimg"
|
||||||
|
style="background-image: url('files/site-bandeau-2013-valloire-00036379.jpg'); background-position: center -8.8685501453488%"></div>
|
||||||
<!-- this is for getting the background image naturalWidth and naturalHeight -->
|
<!-- this is for getting the background image naturalWidth and naturalHeight -->
|
||||||
<img src="files/site-bandeau-2013-valloire-00036379.jpg" style="display:none;" class="js-image" alt="image de présentation"/>
|
<img src="files/site-bandeau-2013-valloire-00036379.jpg"
|
||||||
|
style="display:none;"
|
||||||
|
class="js-image"
|
||||||
|
alt="image de présentation"/>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section
|
<section
|
||||||
id="page-zones__main"
|
id="page-zones__main"
|
||||||
class="bk-zone column "
|
class="bk-zone column "
|
||||||
data-uniqueid="page-zones__main"
|
data-uniqueid="page-zones__main">
|
||||||
>
|
|
||||||
<div
|
<div
|
||||||
id="page-zones__main-widgets__content"
|
id="page-zones__main-widgets__content"
|
||||||
class="widget content"
|
class="widget content"
|
||||||
data-uniqueid="page-zones__main-widgets__content"
|
data-uniqueid="page-zones__main-widgets__content">
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
<h1>Situé au hameau les Choseaux Ville</h1>
|
<h1>Situé au hameau les Choseaux Ville</h1>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
id="page-zones__main-widgets__responsivecolumns"
|
id="page-zones__main-widgets__responsivecolumns"
|
||||||
class="widget responsivecolumns columns-two-75-25"
|
class="widget responsivecolumns columns-two-75-25"
|
||||||
data-uniqueid="page-zones__main-widgets__responsivecolumns"
|
data-uniqueid="page-zones__main-widgets__responsivecolumns">
|
||||||
>
|
|
||||||
<section
|
<section
|
||||||
id="page-zones__main-widgets__responsivecolumns-zones__column"
|
id="page-zones__main-widgets__responsivecolumns-zones__column"
|
||||||
class="bk-zone column columns-two-left"
|
class="bk-zone column columns-two-left"
|
||||||
data-uniqueid="page-zones__main-widgets__responsivecolumns-zones__column"
|
data-uniqueid="page-zones__main-widgets__responsivecolumns-zones__column">
|
||||||
>
|
|
||||||
<div
|
<div
|
||||||
id="page-zones__main-widgets__responsivecolumns-zones__column-widgets__content1"
|
id="page-zones__main-widgets__responsivecolumns-zones__column-widgets__content1"
|
||||||
class="widget content"
|
class="widget content"
|
||||||
data-uniqueid="page-zones__main-widgets__responsivecolumns-zones__column-widgets__content1"
|
data-uniqueid="page-zones__main-widgets__responsivecolumns-zones__column-widgets__content1">
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
|
||||||
<p>Appartement classé classé ✶✶✶ de 89 m² avec
|
<p>Appartement classé classé ✶✶✶ de 89 m² avec
|
||||||
une place de parking extérieure et une place
|
une place de parking extérieure et une place
|
||||||
de parking couverte.</p>
|
de parking couverte.</p>
|
||||||
@@ -111,16 +120,21 @@
|
|||||||
centre de Valloire et des remontées
|
centre de Valloire et des remontées
|
||||||
mécaniques (700 m) et à 2 minutes avec
|
mécaniques (700 m) et à 2 minutes avec
|
||||||
la navette gratuite qui effectue le trajet
|
la navette gratuite qui effectue le trajet
|
||||||
<a href="http://static.sitra-tourisme.com/filestore/objets-touristiques/documents/74/39/1320778.pdf" target="_blank" title="À mettre à jour début décembre 2016 pour les nouveaux horaires">
|
<a href="http://static.sitra-tourisme.com/filestore/objets-touristiques/documents/74/39/1320778.pdf"
|
||||||
toutes les ½ heures</a> durant la saison
|
target="_blank" title="À mettre à jour
|
||||||
de ski (il s’agit de la navette
|
début décembre 2016 pour les nouveaux
|
||||||
« Hameau du col → Crêt de la
|
horaires"> toutes les ½ heures</a> durant
|
||||||
Brive », arrêt « Choseaux
|
la saison de ski (il s’agit de la navette
|
||||||
Ville »).</p>
|
« Hameau du col → Crêt de
|
||||||
|
la Brive », arrêt « Choseaux
|
||||||
|
Ville »).</p>
|
||||||
|
|
||||||
<p>En en rez-de-jardin, il dispose d’une terrasse de 37 m².</p>
|
<p>En en rez-de-jardin, il dispose d’une
|
||||||
|
terrasse de 37 m².</p>
|
||||||
|
|
||||||
<p>Livré neuf en 2015, il est confortable et équipé d’un système de chauffage par le sol.</p>
|
<p>Livré neuf en 2015, il est confortable et
|
||||||
|
équipé d’un système de chauffage par le
|
||||||
|
sol.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -487,43 +501,41 @@
|
|||||||
<text id="text8375" y="302.202" x="242.19467" style="font-style:normal;font-weight:normal;font-size:25px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" xml:space="preserve"><tspan y="302.202" x="242.19467" id="tspan8377">GPS</tspan></text>
|
<text id="text8375" y="302.202" x="242.19467" style="font-style:normal;font-weight:normal;font-size:25px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" xml:space="preserve"><tspan y="302.202" x="242.19467" id="tspan8377">GPS</tspan></text>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
id="page-zones__main-widgets__image"
|
id="page-zones__main-widgets__image"
|
||||||
class="widget image"
|
class="widget image"
|
||||||
data-uniqueid="page-zones__main-widgets__image"
|
data-uniqueid="page-zones__main-widgets__image">
|
||||||
>
|
|
||||||
<a href="#" data-image-href="files/situation-redimensionn_2.jpg" rel="lightbox" title="">
|
<a href="#" data-image-href="files/situation-redimensionn_2.jpg" rel="lightbox" title="">
|
||||||
<span class="image-img">
|
<span class="image-img">
|
||||||
<img class="image" src="files/situation-redimensionn_2.jpg" alt="" title="" data-filename="situation-redimensionn_2.jpg" data-filesize="842332" data-imagesize="1000 x 706" width= "1000" />
|
<img class="image" src="files/situation-redimensionn_2.jpg"
|
||||||
|
title="Plan de situation"
|
||||||
|
data-filename="situation-redimensionn_2.jpg"
|
||||||
|
data-filesize="842332"
|
||||||
|
data-imagesize="1000 x 706"
|
||||||
|
width="1000" />
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
id="page-zones__main-widgets__content1"
|
id="page-zones__main-widgets__content1"
|
||||||
class="widget content"
|
class="widget content"
|
||||||
data-uniqueid="page-zones__main-widgets__content1"
|
data-uniqueid="page-zones__main-widgets__content1">
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
<h1>Agencement</h1>
|
<h1>Agencement</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
id="page-zones__main-widgets__image1"
|
id="page-zones__main-widgets__image1"
|
||||||
class="widget image"
|
class="widget image"
|
||||||
data-uniqueid="page-zones__main-widgets__image1"
|
data-uniqueid="page-zones__main-widgets__image1">
|
||||||
>
|
|
||||||
<a href="#" data-image-href="files/plan_1.png" rel="lightbox" title="" class="widget-align-center">
|
<a href="#" data-image-href="files/plan_1.png" rel="lightbox" title="" class="widget-align-center">
|
||||||
<span class="image-img">
|
<span class="image-img">
|
||||||
<img class="image" src="files/plan_1.png" alt="" title="" data-filename="plan_1.png" data-filesize="1630712" data-imagesize="1478 x 1030" width= "1478" />
|
<img class="image" src="files/plan_1.png" alt="" title="" data-filename="plan_1.png" data-filesize="1630712" data-imagesize="1478 x 1030" width= "1478" />
|
||||||
@@ -531,377 +543,200 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
id="page-zones__main-widgets__content2"
|
id="page-zones__main-widgets__content2"
|
||||||
class="widget content"
|
class="widget content"
|
||||||
data-uniqueid="page-zones__main-widgets__content2"
|
data-uniqueid="page-zones__main-widgets__content2">
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
<h2>Pièce principale</h2>
|
<h2>Pièce principale</h2>
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<p>Cuisine équipée :
|
||||||
<div
|
</p>
|
||||||
id="page-zones__main-widgets__content13"
|
<ul>
|
||||||
class="widget content"
|
<li>Four</li>
|
||||||
data-uniqueid="page-zones__main-widgets__content13"
|
<li>Four à micro-ondes</li>
|
||||||
>
|
<li>Réfrigérateur-congélateur (200 L et 68 L)</li>
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
<li>Lave-vaisselle</li>
|
||||||
<p>Cuisine équipée :
|
<li>Lave-linge-sèche-linge</li>
|
||||||
</p>
|
<li>Robot ménager</li>
|
||||||
<ul>
|
<li>Cafetières à filtre et Nespresso™</li>
|
||||||
<li>Four</li>
|
<li>Appareil à raclette</li>
|
||||||
<li>Four à micro-ondes</li>
|
<li>Gaufrier</li>
|
||||||
<li>Réfrigérateur-congélateur (200 L et 68 L)</li>
|
</ul>
|
||||||
<li>Lave-vaisselle</li>
|
<p>La table permet de manger confortablement à 8. Une table supplémentaire permet de manger à 10, voire à 12 en se serrant un peu.
|
||||||
<li>Lave-linge-sèche-linge</li>
|
</p>
|
||||||
<li>Robot ménager</li>
|
<p><br>Côté salon, il y a un canapé convertible (140 × 190), et un téléviseur (chaînes par internet + satellite).
|
||||||
<li>Cafetières à filtre et Nespresso™</li>
|
</p>
|
||||||
<li>Appareil à raclette</li>
|
<p>Le Wi-Fi est diffusé dans tout l’appartement.<br>
|
||||||
<li>Gaufrier</li>
|
</p>
|
||||||
</ul>
|
|
||||||
<p>La table permet de manger confortablement à 8. Une table supplémentaire permet de manger à 10, voire à 12 en se serrant un peu.
|
|
||||||
</p>
|
|
||||||
<p><br>Côté salon, il y a un canapé convertible (140 × 190), et un téléviseur (chaînes par internet + satellite).
|
|
||||||
</p>
|
|
||||||
<p>Le Wi-Fi est diffusé dans tout l’appartement.<br>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="galleria">
|
<div class="galleria">
|
||||||
<img src="files/thumb_img_3740_1024.jpeg" data-title="Cuisine vue depuis le salon">
|
<img src="files/salon_cuisine/thumb_img_3740_1024.jpeg" data-title="Cuisine vue depuis le salon">
|
||||||
<img src="files/sjour20151102_2.resized.jpg" data-title="Salon — Fauteuils">
|
<img src="files/salon_cuisine/sjour20151102_2.resized.jpg" data-title="Salon — Fauteuils">
|
||||||
<img src="files/sjour20151102_1.resized.jpg" data-title="Salon">
|
<img src="files/salon_cuisine/sjour20151102_1.resized.jpg" data-title="Salon">
|
||||||
<img src="files/cuisine20160118_2.resized.jpg" data-title="Cuisine">
|
<img src="files/salon_cuisine/cuisine20160118_2.resized.jpg" data-title="Cuisine">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<h2>Chambre 1</h2>
|
||||||
<div
|
<hr>
|
||||||
id="page-zones__main-widgets__gallery3"
|
|
||||||
class="widget gallery"
|
|
||||||
data-uniqueid="page-zones__main-widgets__gallery3"
|
|
||||||
>
|
|
||||||
<ul class="gallery-widget"> </ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<ul>
|
||||||
|
<li>Deux lits de 80 × 190 motorisés</li>
|
||||||
<div
|
<li>Penderie</li>
|
||||||
id="page-zones__main-widgets__content3"
|
|
||||||
class="widget content"
|
|
||||||
data-uniqueid="page-zones__main-widgets__content3"
|
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
|
||||||
<h2>Chambre 1</h2>
|
|
||||||
<hr>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div
|
|
||||||
id="page-zones__main-widgets__content9"
|
|
||||||
class="widget content"
|
|
||||||
data-uniqueid="page-zones__main-widgets__content9"
|
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
|
||||||
<ul>
|
|
||||||
<li>Deux lits de 80 × 190 motorisés</li>
|
|
||||||
<li>Penderie</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
id="page-zones__main-widgets__gallery2"
|
|
||||||
class="widget gallery"
|
|
||||||
data-uniqueid="page-zones__main-widgets__gallery2"
|
|
||||||
>
|
|
||||||
<ul class="gallery-widget">
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="galleria">
|
<div class="galleria">
|
||||||
<img src="files/chambrew20151126_4.resized.jpg" data-title="Chambre 1">
|
<img src="files/chambre1/chambrew20151126_4.resized.jpg" data-title="Chambre 1">
|
||||||
<img src="files/dsc03930.resized.jpg" data-title="Chambre 1 — Lits">
|
<img src="files/chambre1/dsc03930.resized.jpg" data-title="Chambre 1 — Lits">
|
||||||
<img src="files/dsc03931.resized.jpg" data-title="Chambre 1 — Fenêtre">
|
<img src="files/chambre1/dsc03931.resized.jpg" data-title="Chambre 1 — Fenêtre">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
<div
|
<h2>Chambre 2</h2>
|
||||||
id="page-zones__main-widgets__content5"
|
<hr>
|
||||||
class="widget content"
|
|
||||||
data-uniqueid="page-zones__main-widgets__content5"
|
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
|
||||||
<h2>Chambre 2</h2>
|
|
||||||
<hr>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
<div
|
<ul>
|
||||||
id="page-zones__main-widgets__content10"
|
<li>Un lit double de 140 × 190</li>
|
||||||
class="widget content"
|
<li>Penderie</li>
|
||||||
data-uniqueid="page-zones__main-widgets__content10"
|
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
|
||||||
<ul>
|
|
||||||
<li>Un lit double de 140 × 190</li>
|
|
||||||
<li>Penderie</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="galleria">
|
|
||||||
<img src="files/chambree20151101_2.resized.jpg" data-title="Chambre 2 — Lit">
|
|
||||||
<img src="files/chambree20151126_2.resized.jpg" data-title="Chambre 2 — Penderie">
|
|
||||||
<img src="files/chambree20151126_5.resized.jpg" data-title="Chambre 2 — Lit">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
|
||||||
id="page-zones__main-widgets__gallery1"
|
|
||||||
class="widget gallery"
|
|
||||||
data-uniqueid="page-zones__main-widgets__gallery1"
|
|
||||||
>
|
|
||||||
<ul class="gallery-widget">
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div
|
|
||||||
id="page-zones__main-widgets__content6"
|
|
||||||
class="widget content"
|
|
||||||
data-uniqueid="page-zones__main-widgets__content6"
|
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
|
||||||
<h2>Chambre 3</h2>
|
|
||||||
<hr>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div
|
|
||||||
id="page-zones__main-widgets__content11"
|
|
||||||
class="widget content"
|
|
||||||
data-uniqueid="page-zones__main-widgets__content11"
|
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
|
||||||
<ul>
|
|
||||||
<li>4 lits de 90 × 190</li>
|
|
||||||
<li>Coffres de rangement</li>
|
|
||||||
<li>Étagères</li>
|
|
||||||
<li>Bureau</li>
|
|
||||||
<li>Commode</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="galleria">
|
<div class="galleria">
|
||||||
<img src="files/chambres20160118_5.resized.jpg" data-title="Chambre 3 — Bureau">
|
<img src="files/chambre2/chambree20151101_2.resized.jpg" data-title="Chambre 2 — Lit">
|
||||||
<img src="files/chambres20160118_4.resized.jpg" data-title="Chambre 3 — Lits superposés">
|
<img src="files/chambre2/chambree20151126_2.resized.jpg" data-title="Chambre 2 — Penderie">
|
||||||
<img src="files/chambres20160118_1.resized.jpg" data-title="Chambre 3 - lits superposés et étagères">
|
<img src="files/chambre2/chambree20151126_5.resized.jpg" data-title="Chambre 2 — Lit">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<h2>Chambre 3</h2>
|
||||||
|
<hr>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<ul>
|
||||||
<div
|
<li>4 lits de 90 × 190</li>
|
||||||
id="page-zones__main-widgets__gallery"
|
<li>Coffres de rangement</li>
|
||||||
class="widget gallery"
|
<li>Étagères</li>
|
||||||
data-uniqueid="page-zones__main-widgets__gallery"
|
<li>Bureau</li>
|
||||||
>
|
<li>Commode</li>
|
||||||
<ul class="gallery-widget">
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="galleria">
|
||||||
|
<img src="files/chambre3/chambres20160118_5.resized.jpg" data-title="Chambre 3 — Bureau">
|
||||||
<div
|
<img src="files/chambre3/chambres20160118_4.resized.jpg" data-title="Chambre 3 — Lits superposés">
|
||||||
id="page-zones__main-widgets__content17"
|
<img src="files/chambre3/chambres20160118_1.resized.jpg" data-title="Chambre 3 - lits superposés et étagères">
|
||||||
class="widget content"
|
|
||||||
data-uniqueid="page-zones__main-widgets__content17"
|
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
|
||||||
<h2>Salles de bains</h2>
|
|
||||||
<hr>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<h2>Salles de bains</h2>
|
||||||
|
<hr>
|
||||||
<div
|
|
||||||
id="page-zones__main-widgets__content18"
|
|
||||||
class="widget content"
|
|
||||||
data-uniqueid="page-zones__main-widgets__content18"
|
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
|
||||||
<p>Les deux salles de bains disposent de douches à l’italienne et de radiateurs sèche-serviettes.
|
|
||||||
</p>
|
|
||||||
<p>Un sèche cheveux est à disposition.<br>
|
|
||||||
</p>
|
|
||||||
<p>Un pèse-personne permet de suivre l’effet du régime montagnard au jour le jour. <br>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<p>Les deux salles de bains disposent de douches à
|
||||||
|
l’italienne et de radiateurs sèche-serviettes.
|
||||||
|
</p>
|
||||||
|
<p>Un sèche cheveux est à disposition.<br>
|
||||||
|
</p>
|
||||||
|
<p>Un pèse-personne permet de suivre l’effet du
|
||||||
|
régime montagnard au jour le jour. <br>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="galleria">
|
<div class="galleria">
|
||||||
<img src="files/sdbw20151126_2.resized.jpg" data-title="Salle-de-bains 1">
|
<img src="files/sdb/sdbw20151126_2.resized.jpg" data-title="Salle-de-bains 1">
|
||||||
<img src="files/sdbe20151126_2.resized.jpg" data-title="Salle-de-bains 2">
|
<img src="files/sdb/sdbe20151126_2.resized.jpg" data-title="Salle-de-bains 2">
|
||||||
<img src="files/sdbe20151126_3.resized.jpg" data-title="Salle-de-bains 2">
|
<img src="files/sdb/sdbe20151126_3.resized.jpg" data-title="Salle-de-bains 2">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<h1>Divers</h1>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div
|
|
||||||
id="page-zones__main-widgets__content4"
|
|
||||||
class="widget content"
|
|
||||||
data-uniqueid="page-zones__main-widgets__content4"
|
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
|
||||||
<h1>Divers</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<p>Une planche à repasser et un fer sont disponibles.
|
||||||
|
</p>
|
||||||
<div
|
<p>Les différents produits ménagers et les
|
||||||
id="page-zones__main-widgets__content12"
|
ingrédients culinaires de base sont présents, à
|
||||||
class="widget content"
|
titre de dépannage ; leur remplacement est
|
||||||
data-uniqueid="page-zones__main-widgets__content12"
|
souhaitable en cas de forte consommation.
|
||||||
>
|
</p>
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
<p>Il n’est pas autorisé de fumer à l’intérieur de
|
||||||
<p>Une planche à repasser et un fer sont disponibles.
|
l’appartement.</p>
|
||||||
</p>
|
<p>Les animaux à poils, ou susceptibles de causer
|
||||||
<p>Les différents produits ménagers et les ingrédients
|
des dégats ne sont pas admis.</p>
|
||||||
culinaires de base sont présents, à titre de dépannage ; leur
|
<p>La remise de clés et les états des lieux sont
|
||||||
remplacement est souhaitable en cas de forte consommation.
|
assurés par
|
||||||
</p>
|
l’<a href="http://www.valloire.net/fr/il4-commerces,services,ete_i372389-agence-chauvin-immobilier.aspx"
|
||||||
<p>Il n’est pas autorisé de fumer à l’intérieur de l’appartement.
|
target="_blank">agence Chauvin</a>.<br></p>
|
||||||
</p>
|
|
||||||
<p>Les animaux à poils, ou susceptibles de causer des dégats ne sont pas admis.
|
|
||||||
</p>
|
|
||||||
<p>La remise de clés et les états des lieux sont assurés par
|
|
||||||
l’<a href="http://www.valloire.net/fr/il4-commerces,services,ete_i372389-agence-chauvin-immobilier.aspx" target="_blank">agence Chauvin</a>.<br>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<h1>Literie</h1>
|
||||||
|
|
||||||
|
|
||||||
<div
|
|
||||||
id="page-zones__main-widgets__content15"
|
|
||||||
class="widget content"
|
|
||||||
data-uniqueid="page-zones__main-widgets__content15"
|
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
|
||||||
<h1>Literie</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<p>Les draps ne sont pas fournis. Voici la liste de
|
||||||
|
ce qui est disponible :<br>
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
<div
|
<li>10 oreillers de 50×70 ;</li>
|
||||||
id="page-zones__main-widgets__content16"
|
<li>7 couettes de 140×200 (dont une d'été) ;</li>
|
||||||
class="widget content"
|
<li>2 couettes de 200 × 200;</li>
|
||||||
data-uniqueid="page-zones__main-widgets__content16"
|
<li>3 petites couvertures légères ;</li>
|
||||||
>
|
<li>une très grande couverture très chaude ; </li>
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
<li>4 alèses pour lits de 90 × 190 (4 autres de
|
||||||
<p>Les draps ne sont pas fournis. Voici la liste de ce qui est disponible :<br>
|
remplacement, à disposition de l’agence)</li>
|
||||||
</p>
|
</ul>
|
||||||
<ul>
|
|
||||||
<li>10 oreillers de 50×70 ;</li>
|
|
||||||
<li>7 couettes de 140×200 (dont une
|
|
||||||
d'été) ;
|
|
||||||
</li>
|
|
||||||
<li>2 couettes de 200 × 200;</li>
|
|
||||||
<li>3 petites couvertures légères ;</li>
|
|
||||||
<li>une très
|
|
||||||
grande couverture très chaude ;
|
|
||||||
</li>
|
|
||||||
<li>4 alèses pour lits de 90 × 190 (4 autres
|
|
||||||
de remplacement, à disposition de l’agence)
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<h1>Images</h1>
|
||||||
|
|
||||||
<div
|
|
||||||
id="page-zones__main-widgets__content14"
|
|
||||||
class="widget content"
|
|
||||||
data-uniqueid="page-zones__main-widgets__content14"
|
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
|
||||||
<h1>Images</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="galleria">
|
<div class="galleria">
|
||||||
<img src="files/thumb_img_3740_1024.jpeg" alt="Cuisine vue depuis le salon" data-title="Cuisine vue depuis le salon">
|
<img src="files/salon_cuisine/thumb_img_3740_1024.jpeg" alt="Cuisine vue depuis le salon" data-title="Cuisine vue depuis le salon">
|
||||||
<img src="files/casiersskis20151128_1.resized.jpg" data-title="Casier à skis et chaussures">
|
<img src="files/salon_cuisine/sjour20151102_2.resized.jpg" data-title="Salon — Fauteuils">
|
||||||
<img src="files/chambrew20151126_3.resized.jpg" data-title="Chambre 1">
|
<img src="files/salon_cuisine/sjour20151102_1.resized.jpg" data-title="Salon">
|
||||||
<img src="files/chambres20160118_5.resized.jpg" data-title="Chambre 3 — Bureau">
|
|
||||||
<img src="files/sjour20151102_2.resized.jpg" data-title="Salon — Fauteuils">
|
|
||||||
<img src="files/chambrew20151126_4.resized.jpg" data-title="Chambre 1 — Vue">
|
<img src="files/chambre1/chambrew20151126_3.resized.jpg" data-title="Chambre 1">
|
||||||
<img src="files/chambree20151126_3.resized.jpg" data-title="Chambre 2 — Lit et penderie">
|
<img src="files/chambre3/chambres20160118_5.resized.jpg" data-title="Chambre 3 — Bureau">
|
||||||
<img src="files/chambree20151101_2.resized.jpg" data-title="Chambre 2 — Lit">
|
|
||||||
<img src="files/chambres20160118_4.resized.jpg" data-title="Chambre 3 — Lits superposés">
|
<img src="files/chambre1/chambrew20151126_4.resized.jpg" data-title="Chambre 1 — Vue">
|
||||||
<img src="files/sjour20151102_1.resized.jpg" data-title="Salon">
|
<img src="files/chambre2/chambree20151126_3.resized.jpg" data-title="Chambre 2 — Lit et penderie">
|
||||||
<img src="files/chambres20160118_1.resized.jpg" data-title="Chambre 3 - lits superposés et étagères">
|
<img src="files/chambre2/chambree20151101_2.resized.jpg" data-title="Chambre 2 — Lit">
|
||||||
<img src="files/cuisine20160118_3.resized.jpg" data-title="Cuisine">
|
<img src="files/chambre3/chambres20160118_4.resized.jpg" data-title="Chambre 3 — Lits superposés">
|
||||||
<img src="files/cuisine20160118_2.resized.jpg" data-title="Cuisine">
|
|
||||||
<img src="files/chambree20151126_2.resized.jpg" data-title="Chambre 2 — Penderie">
|
<img src="files/chambre3/chambres20160118_1.resized.jpg" data-title="Chambre 3 - lits superposés et étagères">
|
||||||
<img src="files/sdbe20151126_5.resized.jpg" data-title="Salle-de-bains 2">
|
<img src="files/salon_cuisine/cuisine20160118_3.resized.jpg" data-title="Cuisine">
|
||||||
<img src="files/sdbe20151126_4.resized.jpg" data-title="Salle-de-bains 2">
|
<img src="files/salon_cuisine/cuisine20160118_2.resized.jpg" data-title="Cuisine">
|
||||||
<img src="files/sdbw20151126_2.resized.jpg" data-title="Salle-de-bains 1">
|
<img src="files/chambre2/chambree20151126_2.resized.jpg" data-title="Chambre 2 — Penderie">
|
||||||
<img src="files/sdbe20151126_2.resized.jpg" data-title="Salle-de-bains 2">
|
<img src="files/sdb/sdbe20151126_5.resized.jpg" data-title="Salle-de-bains 2">
|
||||||
<img src="files/sdbw20151125_1.resized.jpg" data-title="Salle-de-bains 1">
|
<img src="files/sdb/sdbe20151126_4.resized.jpg" data-title="Salle-de-bains 2">
|
||||||
|
<img src="files/sdb/sdbw20151126_2.resized.jpg" data-title="Salle-de-bains 1">
|
||||||
|
<img src="files/sdb/sdbe20151126_2.resized.jpg" data-title="Salle-de-bains 2">
|
||||||
|
<img src="files/sdb/sdbw20151125_1.resized.jpg" data-title="Salle-de-bains 1">
|
||||||
<img src="files/dsc03932.resized.jpg" data-title="Couloir">
|
<img src="files/dsc03932.resized.jpg" data-title="Couloir">
|
||||||
<img src="files/dsc03930.resized.jpg" data-title="Chambre 1 — Lits">
|
<img src="files/chambre1/dsc03930.resized.jpg" data-title="Chambre 1 — Lits">
|
||||||
<img src="files/dsc03931.resized.jpg" data-title="Chambre 1 — Fenêtre">
|
<img src="files/chambre1/dsc03931.resized.jpg" data-title="Chambre 1 — Fenêtre">
|
||||||
<img src="files/dsc03926.resized.jpg" data-title="Salle-de-bains 2">
|
<img src="files/sdb/dsc03926.resized.jpg" data-title="Salle-de-bains 2">
|
||||||
<img src="files/chambree20151126_5.resized.jpg" data-title="Chambre 2 — Lit">
|
<img src="files/chambre2/chambree20151126_5.resized.jpg" data-title="Chambre 2 — Lit">
|
||||||
<img src="files/sdbe20151126_3.resized.jpg" data-title="Salle-de-bains 2">
|
<img src="files/sdb/sdbe20151126_3.resized.jpg" data-title="Salle-de-bains 2">
|
||||||
<img src="files/site-bandeau-2013-valloire-00036379.jpg" data-title="Valloire">
|
<img src="files/site-bandeau-2013-valloire-00036379.jpg" data-title="Valloire">
|
||||||
|
<img src="files/casiersskis20151128_1.resized.jpg" data-title="Casier à skis et chaussures">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -921,51 +756,33 @@
|
|||||||
Galleria.run('.galleria');
|
Galleria.run('.galleria');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
|
<h1>Tarifs hiver 2016-2017</h1>
|
||||||
|
|
||||||
<div
|
|
||||||
id="page-zones__main-widgets__content7"
|
|
||||||
class="widget content"
|
|
||||||
data-uniqueid="page-zones__main-widgets__content7"
|
|
||||||
>
|
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
|
||||||
<h1>Tarifs hiver 2016-2017</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
||||||
id="page-zones__main-widgets__content8"
|
<table align="center">
|
||||||
class="widget content"
|
<tbody>
|
||||||
data-uniqueid="page-zones__main-widgets__content8"
|
<tr class="table_header">
|
||||||
>
|
<th>Période</th>
|
||||||
<div class="bk-content-text js-text-content wysihtml-editor-content">
|
<th style="width: 100px;">Prix</th>
|
||||||
<table style="width: 450px; height: 204px;border-collapse: collapse; border-spacing: 0px; font: inherit; border: 0px none;background-color:rgb(255,255,255);text-align:center" align="center">
|
</tr>
|
||||||
<tbody>
|
<tr> <td>17 déc. → 24 déc.</td> <td>1 225 €</td> </tr>
|
||||||
<tr style=" height: 19px;background-color: rgb(230, 230, 230);font-weight: bold;">
|
<tr> <td>24 déc. → 31 déc.</td> <td>1 680 €</td> </tr>
|
||||||
<th>Période</th>
|
<tr> <td>31 déc. → 7 jan.</td> <td>1 394 €</td> </tr>
|
||||||
<th style="width: 100px;">Prix</th>
|
<tr> <td>7 jan. → 14 jan.</td> <td>965 €</td> </tr>
|
||||||
</tr>
|
<tr> <td>14 jan. → 4 fév.</td> <td>1 225 €</td> </tr>
|
||||||
<tr> <td>17 déc. → 24 déc.</td> <td>1 225 €</td> </tr>
|
<tr> <td>4 fév. → 11 fév.</td> <td>2 005 €</td> </tr>
|
||||||
<tr> <td>24 déc. → 31 déc.</td> <td>1 680 €</td> </tr>
|
<tr> <td>11 fév. → 25 fév.</td> <td>2 460 € </td> </tr>
|
||||||
<tr> <td>31 déc. → 7 jan.</td> <td>1 394 €</td> </tr>
|
<tr> <td>25 fév. → 4 mars</td> <td>2 200 € </td> </tr>
|
||||||
<tr> <td>7 jan. → 14 jan.</td> <td>965 €</td> </tr>
|
<tr> <td>4 mars → 18 mars</td> <td>1 225 € </td> </tr>
|
||||||
<tr> <td>14 jan. → 4 fév.</td> <td>1 225 €</td> </tr>
|
<tr> <td>18 mars → 17 avr.</td> <td>1 147 € </td> </tr>
|
||||||
<tr> <td>4 fév. → 11 fév.</td> <td>2 005 €</td> </tr>
|
</tbody>
|
||||||
<tr> <td>11 fév. → 25 fév.</td> <td>2 460 € </td> </tr>
|
</table>
|
||||||
<tr> <td>25 fév. → 4 mars</td> <td>2 200 € </td> </tr>
|
|
||||||
<tr> <td>4 mars → 18 mars</td> <td>1 225 € </td> </tr>
|
|
||||||
<tr> <td>18 mars → 17 avr.</td> <td>1 147 € </td> </tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -169,6 +169,7 @@ a.blog-back-home{padding-bottom:20px;display:block;}
|
|||||||
.responsivecolumns .columns-four-fourth{margin-right:0;}
|
.responsivecolumns .columns-four-fourth{margin-right:0;}
|
||||||
.content{-ms-word-break:break-word;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;}
|
.content{-ms-word-break:break-word;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;}
|
||||||
.content .bk-content-text ol{list-style-position:inside;}
|
.content .bk-content-text ol{list-style-position:inside;}
|
||||||
|
div.bk-content-text {padding: 20px 0 0 0;}
|
||||||
.expand .more,.expand .less{color:#96d3ed;cursor:pointer;}
|
.expand .more,.expand .less{color:#96d3ed;cursor:pointer;}
|
||||||
.widget.line{*zoom:1;padding:20px 0;}
|
.widget.line{*zoom:1;padding:20px 0;}
|
||||||
.widget.line:before,.widget.line:after{content:" ";display:table;}
|
.widget.line:before,.widget.line:after{content:" ";display:table;}
|
||||||
@@ -735,7 +736,8 @@ body{background-color:#fff;margin:0;padding:0;}
|
|||||||
}
|
}
|
||||||
.canvas{background-color:#f2f2f2;max-width:1080px;width:90%;margin:0 auto;padding:0 0 60px;}
|
.canvas{background-color:#f2f2f2;max-width:1080px;width:90%;margin:0 auto;padding:0 0 60px;}
|
||||||
.canvas .widget{clear:both;}
|
.canvas .widget{clear:both;}
|
||||||
.main{padding:50px 0;}
|
.entete{padding:0 }
|
||||||
|
.main{padding:30px 0;}
|
||||||
body.edit .widget.navigation,body.edit .widget.extendednavigation{overflow:visible;}
|
body.edit .widget.navigation,body.edit .widget.extendednavigation{overflow:visible;}
|
||||||
.bk-default{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;min-height:100vh;flex-direction:column;-webkit-flex-direction:column;-ms-flex-direction:column;}
|
.bk-default{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;min-height:100vh;flex-direction:column;-webkit-flex-direction:column;-ms-flex-direction:column;}
|
||||||
@media only screen and (max-width: 769px){.bk-default{display:initial;}
|
@media only screen and (max-width: 769px){.bk-default{display:initial;}
|
||||||
@@ -1019,3 +1021,5 @@ footer.bk-footer{padding:3em 0;}
|
|||||||
.widget.clicktocall a{background-image: url(//55b558c7-resources.gandi.ws/7551544107272b986275573949f36a5c/templates/liftmodule/images/ic-call.svg);background-color:#96d3ed;background-position:26px center;background-size:7px;background-repeat:no-repeat;margin:0.5em 0em;padding:11px 25px 11px 43px;border:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;box-shadow:0px 2px 0px #6ac1e6;font-family:"Karla", Verdana, Geneva, sans-serif;font-size:18px;font-weight:inherit;color:#fff;text-decoration:none;}
|
.widget.clicktocall a{background-image: url(//55b558c7-resources.gandi.ws/7551544107272b986275573949f36a5c/templates/liftmodule/images/ic-call.svg);background-color:#96d3ed;background-position:26px center;background-size:7px;background-repeat:no-repeat;margin:0.5em 0em;padding:11px 25px 11px 43px;border:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;box-shadow:0px 2px 0px #6ac1e6;font-family:"Karla", Verdana, Geneva, sans-serif;font-size:18px;font-weight:inherit;color:#fff;text-decoration:none;}
|
||||||
.widget.clicktocall a:hover{background-image: url(//55b558c7-resources.gandi.ws/7551544107272b986275573949f36a5c/templates/liftmodule/images/ic-call.svg);background-color:#96d3ed;background-position:26px center;background-size:7px;background-repeat:no-repeat;padding:11px 25px 11px 43px;color:#fff;box-shadow:0px 2px 0px #29a5da;cursor:pointer;-webkit-transition:background-color 0.15s ease-in-out;-moz-transition:background-color 0.15s ease-in-out;-o-transition:background-color 0.15s ease-in-out;transition:background-color 0.15s ease-in-out;}
|
.widget.clicktocall a:hover{background-image: url(//55b558c7-resources.gandi.ws/7551544107272b986275573949f36a5c/templates/liftmodule/images/ic-call.svg);background-color:#96d3ed;background-position:26px center;background-size:7px;background-repeat:no-repeat;padding:11px 25px 11px 43px;color:#fff;box-shadow:0px 2px 0px #29a5da;cursor:pointer;-webkit-transition:background-color 0.15s ease-in-out;-moz-transition:background-color 0.15s ease-in-out;-o-transition:background-color 0.15s ease-in-out;transition:background-color 0.15s ease-in-out;}
|
||||||
}
|
}
|
||||||
|
table {width: 450px; height: 204px;border-collapse: collapse; border-spacing: 0px; font: inherit; border: 0px none;background-color:rgb(255,255,255);text-align:center}
|
||||||
|
tr.table_header {height: 19px;background-color: rgb(230, 230, 230);font-weight: bold;}
|
||||||
@@ -1,343 +0,0 @@
|
|||||||
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
|
|
||||||
*/
|
|
||||||
(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(eLine truncated
|
|
||||||
}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])whilLine truncated
|
|
||||||
u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(iLine truncated
|
|
||||||
|
|
||||||
// Generated by CoffeeScript 1.6.3
|
|
||||||
/*
|
|
||||||
Lightbox v2.6
|
|
||||||
by Lokesh Dhakar - http://www.lokeshdhakar.com
|
|
||||||
|
|
||||||
For more information, visit:
|
|
||||||
http://lokeshdhakar.com/projects/lightbox2/
|
|
||||||
|
|
||||||
Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
|
|
||||||
- free for use in both personal and commercial projects
|
|
||||||
- attribution requires leaving author name, author link, and the license info intact
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
var $, Lightbox, LightboxOptions;
|
|
||||||
|
|
||||||
$ = jQuery;
|
|
||||||
|
|
||||||
LightboxOptions = (function() {
|
|
||||||
function LightboxOptions() {
|
|
||||||
this.fadeDuration = 500;
|
|
||||||
this.fitImagesInViewport = true;
|
|
||||||
this.resizeDuration = 700;
|
|
||||||
this.showImageNumberLabel = true;
|
|
||||||
this.wrapAround = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
LightboxOptions.prototype.albumLabel = function(curImageNum, albumSize) {
|
|
||||||
return "Image " + curImageNum + " of " + albumSize;
|
|
||||||
};
|
|
||||||
|
|
||||||
return LightboxOptions;
|
|
||||||
|
|
||||||
})();
|
|
||||||
|
|
||||||
Lightbox = (function() {
|
|
||||||
function Lightbox(options) {
|
|
||||||
this.options = options;
|
|
||||||
this.album = [];
|
|
||||||
this.currentImageIndex = void 0;
|
|
||||||
this.init();
|
|
||||||
}
|
|
||||||
|
|
||||||
Lightbox.prototype.init = function() {
|
|
||||||
this.enable();
|
|
||||||
return this.build();
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.enable = function() {
|
|
||||||
var _this = this;
|
|
||||||
if ($('body').hasClass('edit'))
|
|
||||||
{
|
|
||||||
return $('body').on('click','a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]', function(e) {
|
|
||||||
if ($(this).attr('href') === '#') {
|
|
||||||
_this.start($(e.currentTarget));
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
return $('body').on('click', 'a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]', function(e) {
|
|
||||||
_this.start($(e.currentTarget));
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.build = function() {
|
|
||||||
var _this = this;
|
|
||||||
$("<div id='lightboxOverlay' class='lightboxOverlay'></div><div id='lightbox' class='lightbox'><div class='lb-outerContainer'><div class='lb-container'><img class='lb-image' src='' /><div class='lb-nav'><a class='lb-prev' href='' ></a><a class='lb-next' href='' ></a></div><div class='lb-loader'><a class='lb-cancel'></a></div></div></div><div class='lb-dataContainer'><div class='lb-data'><div class='lb-details'><span class='lb-caption'></span><span class='lb-number'></span></div><div class='lb-closeContainer'><a class='lb-close'></a></div></div></div></div>").appendTo($('body'));
|
|
||||||
this.$lightbox = $('#lightbox');
|
|
||||||
this.$overlay = $('#lightboxOverlay');
|
|
||||||
this.$outerContainer = this.$lightbox.find('.lb-outerContainer');
|
|
||||||
this.$container = this.$lightbox.find('.lb-container');
|
|
||||||
this.containerTopPadding = parseInt(this.$container.css('padding-top'), 10);
|
|
||||||
this.containerRightPadding = parseInt(this.$container.css('padding-right'), 10);
|
|
||||||
this.containerBottomPadding = parseInt(this.$container.css('padding-bottom'), 10);
|
|
||||||
this.containerLeftPadding = parseInt(this.$container.css('padding-left'), 10);
|
|
||||||
this.$overlay.hide().on('click', function() {
|
|
||||||
_this.end();
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
this.$lightbox.hide().on('click', function(e) {
|
|
||||||
if ($(e.target).attr('id') === 'lightbox') {
|
|
||||||
_this.end();
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
this.$outerContainer.on('click', function(e) {
|
|
||||||
if ($(e.target).attr('id') === 'lightbox') {
|
|
||||||
_this.end();
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
this.$lightbox.find('.lb-prev').on('click', function() {
|
|
||||||
if (_this.currentImageIndex === 0) {
|
|
||||||
_this.changeImage(_this.album.length - 1);
|
|
||||||
} else {
|
|
||||||
_this.changeImage(_this.currentImageIndex - 1);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
this.$lightbox.find('.lb-next').on('click', function() {
|
|
||||||
if (_this.currentImageIndex === _this.album.length - 1) {
|
|
||||||
_this.changeImage(0);
|
|
||||||
} else {
|
|
||||||
_this.changeImage(_this.currentImageIndex + 1);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
return this.$lightbox.find('.lb-loader, .lb-close').on('click', function() {
|
|
||||||
_this.end();
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.start = function($link) {
|
|
||||||
var $window, a, dataLightboxValue, i, imageNumber, left, top, _i, _j, _len, _len1, _ref, _ref1;
|
|
||||||
$(window).on("resize", this.sizeOverlay);
|
|
||||||
$('select, object, embed').css({
|
|
||||||
visibility: "hidden"
|
|
||||||
});
|
|
||||||
this.$overlay.width($(document).width()).height($(document).height()).fadeIn(this.options.fadeDuration);
|
|
||||||
this.album = [];
|
|
||||||
imageNumber = 0;
|
|
||||||
dataLightboxValue = $link.attr('data-lightbox');
|
|
||||||
if (dataLightboxValue) {
|
|
||||||
_ref = $($link.prop("tagName") + '[data-lightbox="' + dataLightboxValue + '"]');
|
|
||||||
for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) {
|
|
||||||
a = _ref[i];
|
|
||||||
this.album.push({
|
|
||||||
link: $(a).attr('data-image-href'),
|
|
||||||
title: $(a).attr('title')
|
|
||||||
});
|
|
||||||
if ($(a).attr('data-image-href') === $link.attr('data-image-href')) {
|
|
||||||
imageNumber = i;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if ($link.attr('rel') === 'lightbox') {
|
|
||||||
this.album.push({
|
|
||||||
link: $link.attr('data-image-href'),
|
|
||||||
title: $link.attr('title')
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
_ref1 = $($link.prop("tagName") + '[rel="' + $link.attr('rel') + '"]');
|
|
||||||
for (i = _j = 0, _len1 = _ref1.length; _j < _len1; i = ++_j) {
|
|
||||||
a = _ref1[i];
|
|
||||||
this.album.push({
|
|
||||||
link: $(a).attr('data-image-href'),
|
|
||||||
title: $(a).attr('title')
|
|
||||||
});
|
|
||||||
if ($(a).attr('data-image-href') === $link.attr('data-image-href')) {
|
|
||||||
imageNumber = i;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$window = $(window);
|
|
||||||
top = $window.scrollTop() + window.innerHeight / 10;
|
|
||||||
left = $window.scrollLeft();
|
|
||||||
this.$lightbox.css({
|
|
||||||
top: top + 'px',
|
|
||||||
left: left + 'px'
|
|
||||||
}).fadeIn(this.options.fadeDuration);
|
|
||||||
this.changeImage(imageNumber);
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.changeImage = function(imageNumber) {
|
|
||||||
var $image, preloader,
|
|
||||||
_this = this;
|
|
||||||
this.disableKeyboardNav();
|
|
||||||
$image = this.$lightbox.find('.lb-image');
|
|
||||||
this.sizeOverlay();
|
|
||||||
this.$overlay.fadeIn(this.options.fadeDuration);
|
|
||||||
$('.lb-loader').fadeIn('slow');
|
|
||||||
this.$lightbox.find('.lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption').hide();
|
|
||||||
this.$outerContainer.addClass('animating');
|
|
||||||
preloader = new Image();
|
|
||||||
preloader.onload = function() {
|
|
||||||
var $preloader, imageHeight, imageWidth, maxImageHeight, maxImageWidth, windowHeight, windowWidth;
|
|
||||||
$image.attr('src', _this.album[imageNumber].link);
|
|
||||||
$preloader = $(preloader);
|
|
||||||
$image.width(preloader.width);
|
|
||||||
$image.height(preloader.height);
|
|
||||||
imageWidth = preloader.width;
|
|
||||||
imageHeight = preloader.height;
|
|
||||||
if (_this.options.fitImagesInViewport) {
|
|
||||||
windowWidth = $(window).width();
|
|
||||||
windowHeight = window.innerHeight;
|
|
||||||
maxImageWidth = windowWidth - _this.containerLeftPadding - _this.containerRightPadding - 20;
|
|
||||||
maxImageHeight = windowHeight - _this.containerTopPadding - _this.containerBottomPadding - 110;
|
|
||||||
if ((preloader.width > maxImageWidth) || (preloader.height > maxImageHeight)) {
|
|
||||||
if ((preloader.width / maxImageWidth) > (preloader.height / maxImageHeight)) {
|
|
||||||
imageWidth = maxImageWidth;
|
|
||||||
imageHeight = parseInt(preloader.height / (preloader.width / imageWidth), 10);
|
|
||||||
$image.width(imageWidth);
|
|
||||||
$image.height(imageHeight);
|
|
||||||
} else {
|
|
||||||
imageHeight = maxImageHeight;
|
|
||||||
imageWidth = parseInt(preloader.width / (preloader.height / imageHeight), 10);
|
|
||||||
$image.width(imageWidth);
|
|
||||||
$image.height(imageHeight);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _this.sizeContainer(imageWidth, imageHeight);
|
|
||||||
};
|
|
||||||
preloader.src = this.album[imageNumber].link;
|
|
||||||
this.currentImageIndex = imageNumber;
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.sizeOverlay = function() {
|
|
||||||
return $('#lightboxOverlay').width($(document).width()).height($(document).height());
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.sizeContainer = function(imageWidth, imageHeight) {
|
|
||||||
var newHeight, newWidth, oldHeight, oldWidth,
|
|
||||||
_this = this;
|
|
||||||
oldWidth = this.$outerContainer.outerWidth();
|
|
||||||
oldHeight = this.$outerContainer.outerHeight();
|
|
||||||
newWidth = imageWidth + this.containerLeftPadding + this.containerRightPadding;
|
|
||||||
newHeight = imageHeight + this.containerTopPadding + this.containerBottomPadding;
|
|
||||||
this.$outerContainer.animate({
|
|
||||||
width: newWidth,
|
|
||||||
height: newHeight
|
|
||||||
}, this.options.resizeDuration, 'swing');
|
|
||||||
setTimeout(function() {
|
|
||||||
_this.$lightbox.find('.lb-dataContainer').width(newWidth);
|
|
||||||
_this.$lightbox.find('.lb-prevLink').height(newHeight);
|
|
||||||
_this.$lightbox.find('.lb-nextLink').height(newHeight);
|
|
||||||
_this.showImage();
|
|
||||||
}, this.options.resizeDuration);
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.showImage = function() {
|
|
||||||
this.$lightbox.find('.lb-loader').hide();
|
|
||||||
this.$lightbox.find('.lb-image').fadeIn('slow');
|
|
||||||
this.updateNav();
|
|
||||||
this.updateDetails();
|
|
||||||
this.preloadNeighboringImages();
|
|
||||||
this.enableKeyboardNav();
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.updateNav = function() {
|
|
||||||
this.$lightbox.find('.lb-nav').show();
|
|
||||||
if (this.album.length > 1) {
|
|
||||||
if (this.options.wrapAround) {
|
|
||||||
this.$lightbox.find('.lb-prev, .lb-next').show();
|
|
||||||
} else {
|
|
||||||
if (this.currentImageIndex > 0) {
|
|
||||||
this.$lightbox.find('.lb-prev').show();
|
|
||||||
}
|
|
||||||
if (this.currentImageIndex < this.album.length - 1) {
|
|
||||||
this.$lightbox.find('.lb-next').show();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.updateDetails = function() {
|
|
||||||
var _this = this;
|
|
||||||
if (typeof this.album[this.currentImageIndex].title !== 'undefined' && this.album[this.currentImageIndex].title !== "") {
|
|
||||||
this.$lightbox.find('.lb-caption').html(this.album[this.currentImageIndex].title).fadeIn('fast');
|
|
||||||
}
|
|
||||||
if (this.album.length > 1 && this.options.showImageNumberLabel) {
|
|
||||||
this.$lightbox.find('.lb-number').text(this.options.albumLabel(this.currentImageIndex + 1, this.album.length)).fadeIn('fast');
|
|
||||||
} else {
|
|
||||||
this.$lightbox.find('.lb-number').hide();
|
|
||||||
}
|
|
||||||
this.$outerContainer.removeClass('animating');
|
|
||||||
this.$lightbox.find('.lb-dataContainer').fadeIn(this.resizeDuration, function() {
|
|
||||||
return _this.sizeOverlay();
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.preloadNeighboringImages = function() {
|
|
||||||
var preloadNext, preloadPrev;
|
|
||||||
if (this.album.length > this.currentImageIndex + 1) {
|
|
||||||
preloadNext = new Image();
|
|
||||||
preloadNext.src = this.album[this.currentImageIndex + 1].link;
|
|
||||||
}
|
|
||||||
if (this.currentImageIndex > 0) {
|
|
||||||
preloadPrev = new Image();
|
|
||||||
preloadPrev.src = this.album[this.currentImageIndex - 1].link;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.enableKeyboardNav = function() {
|
|
||||||
$(document).on('keyup.keyboard', $.proxy(this.keyboardAction, this));
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.disableKeyboardNav = function() {
|
|
||||||
$(document).off('.keyboard');
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.keyboardAction = function(event) {
|
|
||||||
var KEYCODE_ESC, KEYCODE_LEFTARROW, KEYCODE_RIGHTARROW, key, keycode;
|
|
||||||
KEYCODE_ESC = 27;
|
|
||||||
KEYCODE_LEFTARROW = 37;
|
|
||||||
KEYCODE_RIGHTARROW = 39;
|
|
||||||
keycode = event.keyCode;
|
|
||||||
key = String.fromCharCode(keycode).toLowerCase();
|
|
||||||
if (keycode === KEYCODE_ESC || key.match(/x|o|c/)) {
|
|
||||||
this.end();
|
|
||||||
} else if (key === 'p' || keycode === KEYCODE_LEFTARROW) {
|
|
||||||
if (this.currentImageIndex !== 0) {
|
|
||||||
this.changeImage(this.currentImageIndex - 1);
|
|
||||||
}
|
|
||||||
} else if (key === 'n' || keycode === KEYCODE_RIGHTARROW) {
|
|
||||||
if (this.currentImageIndex !== this.album.length - 1) {
|
|
||||||
this.changeImage(this.currentImageIndex + 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Lightbox.prototype.end = function() {
|
|
||||||
this.disableKeyboardNav();
|
|
||||||
$(window).off("resize", this.sizeOverlay);
|
|
||||||
this.$lightbox.fadeOut(this.options.fadeDuration);
|
|
||||||
this.$overlay.fadeOut(this.options.fadeDuration);
|
|
||||||
return $('select, object, embed').css({
|
|
||||||
visibility: "visible"
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
return Lightbox;
|
|
||||||
|
|
||||||
})();
|
|
||||||
|
|
||||||
$(function() {
|
|
||||||
var lightbox, options;
|
|
||||||
options = new LightboxOptions();
|
|
||||||
return lightbox = new Lightbox(options);
|
|
||||||
});
|
|
||||||
|
|
||||||
}).call(this);
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
var App=App||{};App.i18n=App.i18n||{};(function(){App.getParam=function(name){var regex=new RegExp("[?|&]"+name+"="+"([^&;]+?)(&|#|;|$)"),parentWindow=window.parent===window.top?window.parent:window.parent.parent,results=null;try{results=regex.exec(parentWindow.location.search)}catch(e){}if(results&&results[1]){return decodeURIComponent(results[1])}return null};App.flow=function(state,data,topFrame){var flowEngineUrl=App.frontEndBucket.protocol+"://flow."+App.brand.domain+"/"+state;$.ajax(flowEngineUrl,{async:true,data:data,dataType:"jsonp",success:function(response){var redirectUrl=response.url;if(topFrame){window.top.location.href=redirectUrl;return}window.location.href=redirectUrl}})};App.t=function(key,fallback){var $lib=$||bk$,translateIt=App.getParam("translate"),base=fallback||"",parts,section,args,translated,values="DEFAULT",keypart,thisTrans;if(key){parts=key.split(".");section=parts.shift();keypart=parts.join(".")}if(typeof App.i18n[section]!=="undefined"&&typeof App.i18n[section][keypart]!=="undefined"){if(App.i18n[section][keypart].length>0){base=App.i18n[section][keypart]}}args=[].slice.call(arguments,1);args=$lib.map(args,function(n){return n});translated=base.replace(/%([0-9]+)/g,function(match,found,offset,original){return args[found]!==undefined?args[found]:""});if(translateIt==="debugvalues"){thisTrans=App.i18n[section]!==undefined&&App.i18n[section][keypart]!==undefined?App.i18n[section][keypart]:undefined;if(thisTrans===""){values="MASTER"}else if(thisTrans){values="TRANSLATED"}return values}else if(translateIt==="debugkeys"){return key}return translated};App.formatUrl=function(string){if(typeof string==="string"){string=string.replace(/[^a-zA-Z0-9 -]/g,"").replace(/\s+/g,"-").toLowerCase();return string.charAt(string.length-1)==="-"?string.substring(0,string.length-1):string}};App.formatBlogDate=function(iso_date,lang){var locale=lang||App.user.languageCode,formatted;if(typeof iso_date!=="string"){return false}formatted=moment(iso_date).lang(locale).format("DD MMMM YYYY");return formatted};App.getPHPDate=function(format,date){var d=new Date(date);if(typeof format!=="string"){format="c"}return d.format(format)};App.render=function(templateName,callback){var constructor=window[templateName];if(typeof constructor==="function"){callback(generateTemplateCallbackClosure(constructor))}else{loadTemplateFromServer(templateName,function(constructor){if(typeof constructor!=="function"){throw new Error("Failed to load template: "+templateName)}callback(generateTemplateCallbackClosure(constructor))})}};App.templateQueues={};function generateTemplateCallbackClosure(templateConstructor){return function(parameters){return Twig.render(templateConstructor,parameters)}}function loadTemplateFromServer(templateName,callback){if(typeof App.templateQueues[templateName]==="undefined"){App.templateQueues[templateName]=[callback];sendTemplateRequest(templateName)}else{App.templateQueues[templateName].push(callback)}}function sendTemplateRequest(templateName){var templateUrl=App.assetBaseUrl()+"/twig-templates/"+templateName;$.ajax({url:templateUrl,cache:false,dataType:"script",success:function(){processTemplateQueue(templateName)}})}function processTemplateQueue(templateName){var constructor=window[templateName];while(App.templateQueues[templateName].length>0){App.templateQueues[templateName].shift()(constructor)}}App.getErrorsFromResponse=function(response){var phraseAppNameSpace="global_v7.errors.",errorMessages=[],responseObj;if(response.responseText){responseObj=jQuery.parseJSON(response.responseText);if(responseObj.messageTemplates){$.each(responseObj.messageTemplates,function(field,errorTemplates){$.each(errorTemplates.templates,function(type,template){var replacements=[],args=[phraseAppNameSpace+type,template],message,messageObj={};if(errorTemplates.values){$.each(errorTemplates.values[type],function(i,stringValue){replacements.push(stringValue)})}args=args.concat(replacements);message=App.t.apply(App,args);messageObj.field=field;messageObj.message=message;errorMessages.push(messageObj)})})}}return errorMessages};App.mixpanelTrack=function(trackName,mpVars){var deferred=jQuery?jQuery.Deferred():bk$.Deferred(),mixpanelEnv,userRef,userEmail,subscriptionPackageRef,mixpanelUserId,baseObject,tracker;try{if(App&&App.frontEndBucket&&App.frontEndBucket.mixpanelToken){baseObject=App;tracker=mixpanel}else if(window.parent&&window.parent.App&&window.parent.App.frontEndBucket&&window.parent.App.frontEndBucket.mixpanelToken){baseObject=window.parent.App;tracker=window.parent.mixpanel}else{return deferred.resolve()}}catch(err){return deferred.resolve()}mixpanelEnv=baseObject.frontEndBucket.mixpanelEnv;userRef=baseObject.user.ref;userEmail=baseObject.user.email;subscriptionPackageRef=baseObject.user.subscriptionPackageRef;mixpanelUserId=mixpanelEnv+"-"+userRef;if(baseObject.hasOwnProperty("brand")&&baseObject.brand.capabilities.mixPanelTracking==="0"){return deferred.resolve()}if(mixpanelEnv!==undefined&&mixpanelEnv&&uLine truncated
|
|
||||||
var ae=U(j.body);if(ae!==Z){Z=ae;ab.push(ac={el:ae,out:[]})}ac.out.push(af)};E.onLoad(function(){var ah,ak,af,aj,ai;Q=G(Q);ai=Q.done;Q.done=function(){j.write=aa;j.writeln=ad;if(ai){ai()}};for(var ag=0,ae=ab.length;ag<ae;ag++){ah=ab[ag].el;ak=j.createElement("div");ah.parentNode.insertBefore(ak,ah.nextSibling);af=ab[ag].out.join("");aj=ae-ag===1?R(af,Q):R(af);E.replaceWith(ak,aj)}})}var t="writeCapture";var o=a[t]={_original:a[t],fixUrls:function(Q){return Q.replace(/&/g,"&")},noConflict:function(){a[t]=this._original;return this},debug:y,proxyGetElementById:false,_forTest:{Q:i,GLOBAL_Q:z,$:E,matchAttr:k,slice:u,capture:x,uncapture:V,captureWrite:S},replaceWith:function(Q,aa,Z){E.replaceWith(Q,R(aa,Z))},html:function(Q,ab,Z){var aa=E.$(Q);aa.innerHTML="<span/>";E.replaceWith(aa.firstChild,R(ab,Z))},load:function(Q,aa,Z){E.ajax({url:aa,dataType:"text",type:"GET",success:function(ab){o.html(Q,ab,Z)}})},autoAsync:h,sanitize:R,sanitizeSerial:F}})(this.writeCaptureSupport,this);(function(g,d,n){var c={html:h};g.each(["append","prepend","after","before","wrap","wrapAll","replaceWith","wrapInner"],function(){c[this]=i(this)});function a(q){return Object.prototype.toString.call(q)=="[object String]"}function p(u,t,s,r){if(arguments.length==0){return o.call(this)}var q=c[u];if(u=="load"){return l.call(this,t,s,r)}if(!q){j(u)}return b.call(this,t,s,q)}g.fn.writeCapture=p;var k="__writeCaptureJsProxied-fghebd__";function o(){if(this[k]){return this}var r=this;function q(){var t=this,s=false;this[k]=true;g.each(c,function(v){var u=r[v];if(!u){return}t[v]=function(y,x,w){if(!s&&a(y)){try{s=true;return p.call(t,v,y,x,w)}finally{s=false}}return u.apply(t,arguments)}});this.pushStack=function(){return o.call(r.pushStack.apply(t,arguments))};this.endCapture=function(){return r}}q.prototype=r;return new q}function b(t,s,u){var q,r=this;if(s&&s.done){q=s.done;delete s.done}else{if(g.isFunction(s)){q=s;s=null}}d.sanitizeSerial(g.map(this,function(v){return{html:t,options:s,action:function(w){u.call(v,w)}}}),q&&function(){q.call(r)}||q);return this}function h(q){g(this).html(q)}function i(q){return function(r){g(this)[q](r)}}function l(t,s,v){var r=this,q,u=t.indexOf(" ");if(u>=0){q=t.slice(u,t.length);t=t.slice(0,u)}if(g.isFunction(v)){s=s||{};s.done=v}return g.ajax({url:t,type:s&&s.type||"GET",dataType:"html",data:s&&s.params,complete:f(r,s,q)})}function f(r,s,q){return function(u,t){if(t=="success"||t=="notmodified"){var v=m(u.responseText,q);b.call(r,v,s,h)}}}var e=/jquery-writeCapture-script-placeholder-(\d+)-wc/g;function m(s,r){if(!r||!s){return s}var t=0,q={};return g("<div/>").append(s.replace(/<script(.|\s)*?\/script>/g,function(u){q[t]=u;return"jquery-writeCapture-script-placeholder-"+t++ +"-wc"})).find(r).html().replace(e,function(u,v){return q[v]})}function j(q){throw"invalid method parameter "+q}g.writeCapture=d})(jQuery,writeCapture.noConflict());(function(){var n=this,t=n._,r={},e=Array.prototype,u=Object.prototype,i=Function.prototype,a=e.push,o=e.slice,c=e.concat,l=u.toString,f=u.hasOwnProperty,s=e.forEach,p=e.map,h=e.reduce,v=e.reduceRight,g=e.filter,d=e.every,m=e.some,y=e.indexOf,b=e.lastIndexOf,x=Array.isArray,w=Object.keys,_=i.bind,j=function(n){return n instanceof j?n:this instanceof j?void(this._wrapped=n):new j(n)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=j),exports._=j):n._=j,j.VERSION="1.6.0";var A=j.each=j.forEach=function(n,t,e){if(null==n)return n;if(s&&n.forEach===s)n.forEach(t,e);else if(n.length===+n.length){for(var u=0,i=n.length;i>u;u++)if(t.call(e,n[u],u,n)===r)return}else for(var a=j.keys(n),u=0,i=a.length;i>u;u++)if(t.call(e,n[a[u]],a[u],n)===r)return;return n};j.map=j.collect=function(n,t,r){var e=[];return null==n?e:p&&n.map===p?n.map(t,r):(A(n,function(n,u,i){e.push(t.call(r,n,u,i))}),e)};var O="Reduce of empty array with no initial value";j.reduce=j.foldl=j.inject=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),h&&n.reduce===h)return e&&(t=j.bind(t,e)),u?n.reduce(t,r):n.reduce(t);if(A(n,function(n,i,a){u?r=t.call(e,r,n,i,a):(r=n,u=!0)}),!u)throw new TypeError(O);return r},j.reduceRight=j.foldr=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),v&&n.reduceRight===v)return e&&(t=j.bind(t,e)),u?n.reduceRight(t,r):n.reduceRight(t);var i=n.length;if(i!==+i){var a=j.keys(n);i=a.length}if(A(n,function(o,c,l){c=a?a[--i]:--i,u?r=t.call(e,r,n[c],c,l):(r=n[c],u=!0)}),!u)throw new TypeError(O);return r},j.find=j.detect=function(n,t,r){var e;return k(n,function(n,u,i){return t.call(r,n,u,i)?(e=n,!0):void 0}),e},j.filter=j.select=function(n,t,r){var e=[];return null==n?e:g&&n.filter===g?n.filter(t,r):(A(n,function(n,u,i){t.call(r,n,u,i)&&e.push(n)}),e)},j.reject=function(n,t,r){return j.filter(n,function(n,e,u){return!t.call(r,n,e,u)},r)},j.every=j.all=function(n,t,e){t||(t=j.identity);var u=!0;return null==n?u:d&&n.every===d?n.every(t,e):(A(n,function(n,i,a){return(u=u&&t.call(e,n,i,a))?void 0:r}),!!u)};var k=j.somLine truncated
|
|
||||||
document.cookie="bk-cookie-warning=true; max-age=315360000";var cookieWarningContainer=document.createElement("div"),cookieWarningParagraph=document.createElement("p"),cookieWarningLink=document.createElement("a"),cookieWarningCloseButton=document.createElement("a"),removeWarning=function(e){e.preventDefault();cookieWarningContainer.parentNode.removeChild(cookieWarningContainer)},clickWarning=function(e){removeWarning(e);window.open(cookieWarningUrl)};cookieWarningLink.href=cookieWarningUrl;setText(cookieWarningLink,App.t("cookie.link_text","Find out more."));if(cookieWarningLink.addEventListener){cookieWarningLink.addEventListener("click",clickWarning,false)}else{cookieWarningLink.attachEvent("onclick",clickWarning)}cookieWarningCloseButton.className="bk-cookie-close-button";cookieWarningCloseButton.innerHTML="✕";cookieWarningCloseButton.href="#null";if(cookieWarningCloseButton.addEventListener){cookieWarningCloseButton.addEventListener("click",removeWarning,false)}else{cookieWarningCloseButton.attachEvent("onclick",removeWarning)}setText(cookieWarningParagraph,App.t("cookie.warning_text","This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies."));cookieWarningParagraph.innerHTML+=" ";cookieWarningParagraph.appendChild(cookieWarningLink);cookieWarningContainer.className="bk-cookie-container";cookieWarningContainer.appendChild(cookieWarningParagraph);cookieWarningContainer.appendChild(cookieWarningCloseButton);document.body.appendChild(cookieWarningContainer)}})(App,Server.cookieWarningUrl);(function(){bk$.fn.extend({getParentId:function(){var self=bk$(this),parentId=self.parent().attr("id");return parentId},getRect:function(){var el=bk$(this).first(),rect=null;if(!el.is(":visible")){return null}rect=el.offset();rect.right=rect.left+el.outerWidth();rect.bottom=rect.top+el.outerHeight();return rect},compare:function(selector){return bk$(this).get(0)===bk$(selector).get(0)}})})();(function(){BaseKit.Component=function(scope,args,options){$lib=typeof bk$==="function"?bk$:$;if(options===null){return scope}scope.self=scope.el=$lib(args[0]);scope.scope=scope;$lib.extend(true,scope,{renderTemplate:function(templateId,values,postRender,doRender,callback,doEvents){var content=null,templateName=null;if(typeof templateId!=="string"){throw new Error("renderTemplate first parameter error: expecting twig template name")}if(typeof values!=="object"){throw new Error("renderTemplate second parameter error: expecting object")}postRender=typeof postRender==="boolean"&&postRender===true?true:false;doRender=typeof doRender==="boolean"&&doRender===false?false:true;doEvents=typeof doEvents==="boolean"&&doEvents===false?false:true;if(typeof App==="object"&&typeof App.render==="function"){templateName=templateId.replace(/\./g,"_");App.render(templateName,function(tpl){if(typeof tpl==="function"){if(values!==null&&typeof values==="object"){content=tpl(values)}else if(typeof values==="boolean"){postRender=values;content=tpl()}else{content=tpl()}if(doRender===true){$lib(scope.el).html(content)}if(postRender===true&&typeof scope.postRender==="function"){scope.postRender(content)}if(doEvents===true&&typeof scope.attachEvents==="function"){scope.attachEvents()}if(callback&&typeof callback==="function"){callback.call(scope,content)}}return content})}}});$lib.extend(true,scope,{postRender:function(content){if(typeof this.renderFinish==="function"){var that=this,lastLength=0,strikes=0;BaseKit.Util.waitsFor(function(){var loadingHTML=$lib(scope.el).html(),expectedHTML=typeof content==="object"?$lib(content).html().toString():content,loadingLength=0,expectedLength=0;if(loadingHTML===null||loadingHTML.replace===undefined){return false}loadingLength=loadingHTML.replace(/\s/g,"").length;expectedLength=expectedHTML.replace(/\s/g,"").length;if(loadingLength!==expectedLength){if(loadingLength===lastLength){strikes+=1}lastLength=loadingLength;if(strikes===3){return true}return false}else{return true}},function(){lastLength=0;strikes=0;that.renderFinish(content)},function(){lastLength=0;strikes=0;throw new Error("Editor Window unaccessable")},250)}}});if(options.methods!==null){$lib.extend(true,scope,options.methods)}if(typeof scope.construct==="function"){scope.construct.apply(scope,args)}if(typeof scope.editorConstruct==="function"){scope.editorConstruct.apply(scope,args)}return scope}})();(function(){BaseKit.WidgetCore=function(scope,args,options){var o=new BaseKit.Component(scope,args,{methods:{construct:function(){scope.properties={type:"",uniqueHTMLId:"",styles:{},temporary:{},data:{},changed:{}};if(options.methods!==null){bk$.extend(true,scope,options.methods)}if(typeof options.properties==="object"){bk$.extend(true,scope.properties.data,options.properties)}if(args[1]&&typeof args[1]==="object"){bk$.extend(true,scope.properties,args[1])}if(typeof scope.construct==="function"){scope.construct.apply(scope,args)}},get:function(name){var property=null;try{if(scope.properties.temporary&&scope.propertLine truncated
|
|
||||||
if(link===undefined||link.length===0){alert(App.t("widgets.dropbox.no_file_added","No file added"))}else{window.open(link)}})}};BaseKit.Widget.Dropbox=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.DropboxProperties,methods:BaseKit.Widget.DropboxMethods})};bk$.fn.basekitWidgetDropbox=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Dropbox(el,options))})}})();(function(){BaseKit.Widget.Ecombasket=null;BaseKit.Widget.EcombasketProperties={};BaseKit.Widget.EcombasketMethods={construct:function(el,options){this.options=options;if(!Server.plugins.ecommerce){return}this.load()},load:function(){var that=this;Globals.addHook("ecom.basket.changed",this,function(cart){that.updateBasket(cart)});this.attachEvents()},attachEvents:function(){var that=this,thisEl=bk$(this.el);thisEl.find(".js-pull").on("click",function(){thisEl.toggleClass("show-content");bk$(document).on("click.ecombasket",function(evt){if(!bk$(evt.target).closest(".ecombasket").length){thisEl.toggleClass("show-content");bk$(document).off("click.ecombasket")}})});thisEl.find(".js-remove").on("click",function(e){that.removeItem(bk$(e.target).attr("data-ref"))})},updateBasket:function(cart){this.set("items",cart.items,true);this.set("itemCount",cart.itemCount,true);this.set("subTotal",cart.subTotal,true);this.set("subTotalInclTax",cart.subTotalInclTax,true);this.rerender()},removeItem:function(ref){bk$.ajax({method:"POST",url:"/store/cart/remove-item",data:{productVariantRef:ref}}).done(function(response){Globals.notifyHooks("ecom.basket.changed",response)})}};BaseKit.Widget.Ecombasket=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.EcombasketProperties,methods:BaseKit.Widget.EcombasketMethods})};bk$.fn.basekitWidgetEcombasket=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Ecombasket(el,options))})}})();(function(){BaseKit.Widget.Ecombasketsummary=null;BaseKit.Widget.EcombasketsummaryProperties={sitePrimaryDomain:Server.app.mode!=="edit"?Server.desktopSite.getPrimaryDomain():null};BaseKit.Widget.EcombasketsummaryMethods={construct:function(el,options){this.options=options;if(!Server.plugins.ecommerce){return}this.load()},load:function(){var that=this;Globals.addHook("ecom.basket.changed",this,function(cart){that.updateBasketSummary(cart)});this.attachEvents();this.set("emptyItems",this.getEmptyItems(Server.plugins.ecommerce.cart.items),true)},attachEvents:function(){var that=this;bk$(this.el).find(".js-add").off("click").on("click",function(e){that.addItem(bk$(this).data("ref"))});bk$(this.el).find(".js-remove").off("click").on("click",function(e){that.removeItem(bk$(this).data("ref"))})},updateBasketSummary:function(cart){cart.items=_.union(cart.items,this.get("emptyItems"));this.set("items",cart.items,true);this.set("itemCount",cart.itemCount,true);this.set("subTotal",cart.subTotal,true);this.set("subTotalInclTax",cart.subTotalInclTax,true);this.rerender()},removeItem:function(ref){var that=this;bk$.ajax({method:"POST",url:"/store/cart/remove-item",data:{productVariantRef:ref}}).done(function(response){that.removeEmptyItem(ref);Globals.notifyHooks("ecom.basket.changed",response)})},addItem:function(ref){bk$(this.el).find(".js-add").attr("disabled",true);bk$.ajax({method:"POST",url:"/store/cart/add-item",data:{productVariantRef:ref}}).done(function(response){Globals.notifyHooks("ecom.basket.changed",response)})},removeEmptyItem:function(ref){var emptyItems=_.filter(this.get("emptyItems"),function(item){return item.ref!==ref});this.set("emptyItems",emptyItems,true)},getEmptyItems:function(items){return _.filter(items,function(item){return item.quantity===0})}};BaseKit.Widget.Ecombasketsummary=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.EcombasketsummaryProperties,methods:BaseKit.Widget.EcombasketsummaryMethods})};bk$.fn.basekitWidgetEcombasketsummary=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Ecombasketsummary(el,options))})}})();(function(){BaseKit.Widget.Ecomcategorieslist=null;BaseKit.Widget.EcomcategorieslistProperties={title:App.t("widgets.ecomcategorieslist.default_title","Categories"),showCount:true};BaseKit.Widget.EcomcategorieslistMethods={construct:function(el,options){}};BaseKit.Widget.Ecomcategorieslist=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.EcomcategorieslistProperties,methods:BaseKit.Widget.EcomcategorieslistMethods})};bk$.fn.basekitWidgetEcomcategorieslist=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Ecomcategorieslist(el,options))})}})();(function(){BaseKit.Widget.Ecomconfirmation=null;BaseKit.Widget.EcomconfirmationProperties={};BaseKit.Widget.EcomconfirmationMethods={construct:function(el,options){this.options=options;this.load()},load:function(){this.clearCart()},clearCart:function(){window.localStorage.removeItem("cart")}};BaseKitLine truncated
|
|
||||||
methods:BaseKit.Widget.LinkedinprofileMethods})};bk$.fn.basekitWidgetLinkedinprofile=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Linkedinprofile(el,options))})}})();(function(){BaseKit.Widget.Logo=null;BaseKit.Widget.LogoProperties={};BaseKit.Widget.LogoMethods={construct:function(el,options){this.options=options;this.load()},load:function(){}};BaseKit.Widget.Logo=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.LogoProperties,methods:BaseKit.Widget.LogoMethods})};bk$.fn.basekitWidgetLogo=function(options){this.each(function(index,el){var obj=null;obj=new BaseKit.Widget.Logo(el,options);bk$(el).data("bkob",obj)})}})();(function(){BaseKit.Widget.Map={};BaseKit.Widget.MapProperties={zoom:12,zoomControl:true,height:150,address:"profile",markerPath:"/apps/images/mobile/map-marker.png"};BaseKit.Widget.MapMethods={construct:function(el,options){this.gmap=null;this.marker=null;if(window.mapReady===undefined){window.mapReady=function(){Site.Page.Globals.mapsAPILoaded=true}}if(Site.Page.Globals.mapsAPILoaded===undefined||Site.Page.Globals.mapsAPILoaded===null){Site.Page.Globals.mapsAPILoaded=false}this.load()},load:function(){var t=false,that=this,script;this.onResize=function(){if(t!==false){clearTimeout(t)}t=setTimeout(function(){that.resetMap()},300)};bk$(window).on("resize.map",this.onResize);if(Site.Page.Globals.mapsAPILoaded===false&&bk$("#gmaps-widget-script").length===0){script=document.createElement("script");script.type="text/javascript";script.id="gmaps-widget-script";script.src="https://maps.google.com/maps/api/js?sensor=false&callback=mapReady&language="+App.session.get("languageCode");document.body.appendChild(script)}this.isMapReady()},getProfileAddress:function(){return[Profile.get("address"),Profile.get("address1"),Profile.get("address2"),Profile.get("postalcode")].filter(function(element,index){if(typeof element==="string"){return!!element.trim()}return false}).join(", ")},isMapReady:function(){var that=this;if(Site.Page.Globals.mapsAPILoaded===false){setTimeout(function(){that.isMapReady()},100)}else{this.findAndSetAddress({source:"profile",value:this.getProfileAddress()},this.setupMap,this)}},setupMap:function(){var mapOptions={zoom:parseInt(this.get("zoom"),10),center:new google.maps.LatLng(parseFloat(this.get("mapLatitude"),10),parseFloat(this.get("mapLongitude"),10)),scaleControl:false,mapTypeControl:false,overviewMapControl:false,zoomControl:!!this.get("zoomControl"),zoomControlOptions:{style:google.maps.ZoomControlStyle.DEFAULT},panControl:false,mapTypeId:google.maps.MapTypeId.ROADMAP};bk$(this.el).find(".js-map").height(this.get("height"));this.gmap=new google.maps.Map(bk$(this.el).find(".js-map").get(0),mapOptions);this.resetMap()},resetMap:function(){if(this.gmap!==null&&Site.Page.Globals.mapsAPILoaded===true){if(this.get("mapLatitude")===null||this.get("mapLongitude")===null){this.findAndSetAddress({source:"profile",value:this.getProfileAddress()},this.loadMap,this)}else{this.loadMap()}}},loadMap:function(){var newCenter=null;bk$(this.el).find(".js-map").height(this.get("height"));newCenter=new google.maps.LatLng(parseFloat(this.get("mapLatitude"),10),parseFloat(this.get("mapLongitude"),10));this.gmap.setZoom(parseInt(this.get("zoom"),10));this.gmap.setCenter(newCenter);this.createMapMarker(parseFloat(this.get("mapLatitude"),10),parseFloat(this.get("mapLongitude"),10),false)},createMapMarker:function(latitude,longitude,draggable){var icon=new google.maps.MarkerImage(App.session.get("assetBaseUrl")+this.get("markerPath"),new google.maps.Size(32,32),null,new google.maps.Point(16,32),new google.maps.Size(32,32));if(this.marker===null){this.marker=new google.maps.Marker({icon:icon,bouncy:true,draggable:false,autoPan:true,position:new google.maps.LatLng(latitude,longitude)});this.marker.setMap(this.gmap)}else{this.marker.setMap(null);this.marker.draggable=draggable||false;this.marker.setPosition(new google.maps.LatLng(latitude,longitude));this.marker.setMap(this.gmap)}},findAndSetAddress:function(address,callback,scope){if(typeof address==="undefined"||typeof address!=="object"){throw new Error("findAddress param address error")}if(typeof scope==="undefined"||typeof scope!=="object"){throw new Error("findAddress scope callback error")}var that=this,geoOptions={address:null,region:"ISO 3166-1"},results={};if(!this.geocoder){this.geocoder=new google.maps.Geocoder}geoOptions.address=address.value||"";this.geocoder.geocode(geoOptions,function(result,status){if(status===google.maps.GeocoderStatus.OK&&result.length){results={latitude:result[0].geometry.location.lat(),longitude:result[0].geometry.location.lng()}}results.address="profile";results.postalcode=address.value;that.setAddress(results);if(typeof callback==="function"){callback.apply(scope,[results])}else if(typeof callback==="object"){bk$.each(callback,function(i,afunc){if(typeof afunc==="function"){afunc.apply(scope,[results])}})}})},setAddress:function(results){ifLine truncated
|
|
||||||
})};bk$.fn.basekitWidgetSoundcloud=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Soundcloud(el,options))})}})();(function(){BaseKit.Widget.Space={};BaseKit.Widget.SpaceProperties={height:"50"};BaseKit.Widget.SpaceMethods={construct:function(el,options){this.options=options;this.load()},load:function(){}};BaseKit.Widget.Space=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.SpaceProperties,methods:BaseKit.Widget.SpaceMethods})};bk$.fn.basekitWidgetSpace=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Space(el,options))})}})();(function(){BaseKit.Widget.Tweet=null;BaseKit.Widget.TweetProperties={linkText:App.t("widgets.tweet.default_link_text","Tweet"),align:""};BaseKit.Widget.TweetMethods={construct:function(el,options){this.options=options;this.load()},load:function(){}};BaseKit.Widget.Tweet=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.TweetProperties,methods:BaseKit.Widget.TweetMethods})};bk$.fn.basekitWidgetTweet=function(options){this.each(function(index,el){bk$(el).data("bkob",new BaseKit.Widget.Tweet(el,options))})}})();(function(){BaseKit.Widget.Twitter=null;BaseKit.Widget.TwitterProperties={count:"3",refreshTime:"1800000",includeRts:"1",searchKey:"profile",searchType:"username",defaultSearchKey:"basekit"};BaseKit.Widget.TwitterMethods={construct:function(){this.refreshInterval="";this.load()},load:function(){this.refreshTimeline();this.getUpdateTwitterFeed()},refreshTimeline:function(){var that=this,refreshTime=this.get("refreshTime")>0?parseInt(this.get("refreshTime"),10):18e5;if(this.refreshInterval!==""){window.clearInterval(this.refreshInterval);this.refreshInterval=""}this.refreshInterval=window.setInterval(function(){try{that.getUpdateTwitterFeed()}catch(err){clearInterval(that.refreshInterval);console.log(err)}},refreshTime)},getUpdateTwitterFeed:function(){var that=this,url="/_bk/fetch-feed",createdDate=null,tweetData=[],data={count:this.get("count")>0?this.get("count"):3,includeRts:this.get("includeRts")!==null?this.get("includeRts"):true,searchKey:this.get("searchType")==="username"?Profile.get("twitter"):this.get("searchKey"),searchType:this.get("searchType")};if(this.get("searchKey")==="profile"&&(Profile.get("twitter")===null||Profile.get("twitter").length===0)||(this.get("searchKey")===null||this.get("searchKey").length===0)){data.searchKey=this.get("defaultSearchKey")}bk$.ajax({url:url,type:"POST",data:data,beforeSend:function(){that.el.find(".js-twitter").html("<li>"+App.t("widgets.twitter.retrieving_tweets","Retrieving Tweets")+"</li>")}}).done(function(response,status){bk$.each(response,function(){createdDate=this.created_at;createdDate=createdDate.split(" ");tweetData.push({screenName:this.user.screen_name,createdAt:createdDate[2]+" "+createdDate[1]+" "+createdDate[5],fullName:this.user.name,imageUrl:this.user.profile_image_url,source:this.source,text:this.text,retweetUser:this.retweetUser})});that.set("tweets",tweetData,true);that.rerender()}).fail(function(){that.set("tweets",[],true);that.rerender()})}};BaseKit.Widget.Twitter=function(){var o=new BaseKit.WidgetCore(this,arguments,{properties:BaseKit.Widget.TwitterProperties,methods:BaseKit.Widget.TwitterMethods})};bk$.fn.basekitWidgetTwitter=function(options){this.each(function(){bk$(this).data("bkob",new BaseKit.Widget.Twitter(this,options))})}})();(function(){BaseKit.Widget.Userlogin=null;BaseKit.Widget.UserloginProperties={align:"",email:"profile",text:App.t("widgets.userlogin.default_button_text","Login"),allowPersistentLogin:true};BaseKit.Widget.UserloginMethods={construct:function(el,options){this.load()},load:function(){var persist=window.localStorage.getItem("bk.widgets.login.persist");if(bk$(this.el).find(".js-persist-login").length&&persist==="false"){bk$(this.el).find(".js-persist-login").prop("checked",false)}this.attachEvents()},showOverlay:function(message){message=message||"message";var thisEl=bk$(this.el),overlayEl=thisEl.find(".js-overlay");overlayEl.find(".message").html(message).end().show();bk$(this.el).find("form button.js-userloginbtn").attr("disabled",true)},hideOverlay:function(){var thisEl=bk$(this.el),overlayEl=thisEl.find(".js-overlay");overlayEl.hide().find(".js-message").empty();thisEl.find("form button.js-userloginbtn").attr("disabled",false)},attachEvents:function(){var that=this,thisEl=bk$(this.el),persistEl=thisEl.find(".js-persist-login"),errors=[],postData={};thisEl.find("form").on("submit",function(e){e.preventDefault();that.hideOverlay();errors=[];postData={password:thisEl.find("input[type='password']").val(),auth_token:null};if(thisEl.find("input.js-username-input").length){postData.username=thisEl.find("input.js-username-input").val()}else{postData.email=thisEl.find("input[type='email']").val()}if(persistEl.length){that.storePersistPreference(persistEl.is(":checked"));if(persistEl.is(":checked")){postData.persistLogin=true}}thisEl.find("p.errorLine truncated
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
Sitemap: http://dubuval.dubuget.fr/sitemap.xml
|
Sitemap: http://dubuvaltest.dubuget.fr/sitemap.xml
|
||||||
|
|
||||||
User-agent: *
|
User-agent: *
|
||||||
Crawl-Delay: 300
|
Crawl-Delay: 300
|
||||||
+8
-1
@@ -1,2 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"><sitemap><loc>http://dubuval.dubuget.fr/sitemap_pages.xml</loc></sitemap></sitemapindex>
|
<sitemapindex
|
||||||
|
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||||
|
<sitemap>
|
||||||
|
<loc>http://dubuvaltest.dubuget.fr/sitemap_pages.xml</loc>
|
||||||
|
</sitemap>
|
||||||
|
</sitemapindex>
|
||||||
+11
-1
@@ -1,2 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"><url><loc>http://dubuval.dubuget.fr/</loc><lastmod>2016-10-16T11:38:31+00:00</lastmod><changefreq>monthly</changefreq><priority>1.0</priority></url></urlset>
|
<urlset
|
||||||
|
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||||
|
<url>
|
||||||
|
<loc>http://dubuvaltest.dubuget.fr/</loc>
|
||||||
|
<lastmod>2016-10-16T11:38:31+00:00</lastmod>
|
||||||
|
<changefreq>monthly</changefreq>
|
||||||
|
<priority>1.0</priority>
|
||||||
|
</url>
|
||||||
|
</urlset>
|
||||||
@@ -1 +0,0 @@
|
|||||||
App.i18n['widgets'] = {"advancedcontactform.add_field":"Ajouter un champ personnalis\u00e9 ","advancedcontactform.add_option":"Ajouter une autre option","advancedcontactform.back":"Retour","advancedcontactform.btntext":"Texte du bouton","advancedcontactform.checkbox":"Case \u00e0 cocher","advancedcontactform.dropdown":"Faire d\u00e9filer vers le bas","advancedcontactform.email_label":"Adresse email","advancedcontactform.email_title":"Titre de l'email","advancedcontactform.error_changeemail_no_value":"Widget de formulaire de contact - premi\u00e8re erreur de param\u00e8tre changementEmail : en attente du param\u00e8tre \u201cvaleur\u201c","advancedcontactform.error_changefontsize_no_size":"Widget de formulaire de contact - erreur de param\u00e8tre changementTaillePolice: en attente d\u2019une valeur","advancedcontactform.error_changeFormTitle_no_value":"Widget de formulaire de contact - premier param\u00e8tre d\u2019erreur changeFormTitle: en attente du param\u00e8tre \u2019valeur\u2019","advancedcontactform.error_changegoallink_no_source":"Widget de formulaire de contact avanc\u00e9 - second param\u00e8tre d\u2019erreur changeGoalLink: en attente du param\u00e8tre \u2019source\u2019","advancedcontactform.error_changegoallink_no_value":"Premi\u00e8re erreur de param\u00e8tre changementCibleLien: en attente du param\u00e8re \u201cvaleur\u201c ","advancedcontactform.error_changegoallink_source_wrong":"Widget de formulaire de contact avanc\u00e9 - Seconde erreur de param\u00e8tre changementCibleLien: en attente des param\u00e8tres \u201cprofil\u201c et \u201cpersonnalis\u00e9\u201c ","advancedcontactform.error_changetextstyle_no_style":"Widget de formulaire de contact - erreur de param\u00e8tre changementStyleTexte: en attente de \u201cStyle\u201c","advancedcontactform.error_changetextstyle_style_wrong":"Widget de formulaire de contact avanc\u00e9 - erreur de param\u00e8tre changementStyleTexte : en attente de \u201cgras\u201c ou \u201citalique\u201c","advancedcontactform.error_changetext_no_btntext":"Widget de formulaire de contact avanc\u00e9 - Erreur de param\u00e8tre de changement Texte: en attente du param\u00e8re \u201cbtnTexte\u201c ","advancedcontactform.error_changetext_no_fieldText":"Widget de formulaire de contact avanc\u00e9 - erreur de param\u00e8tre changementTexte : en attente du param\u00e8tre \u201cchampTexte\u201c","advancedcontactform.error_changetext_no_fieldType":"Widget de formulaire de contact avanc\u00e9 - erreur de param\u00e8tre changementTexte: en attente du param\u00e8tre \u201ctypeChamp\u201c","advancedcontactform.error_changetext_no_optionText":"Widget de formulaire de contact avanc\u00e9 - erreur de param\u00e8tre de l\u2019option texte: en attente du param\u00e8tre \u201cOption Texte\u201c","advancedcontactform.error_invalidemail":"Exemple: monnom@gmail.com","advancedcontactform.error_invalidgoal":"Exemple: http:\/\/mapage.com","advancedcontactform.error_invalidtext":"Entr\u00e9e vide","advancedcontactform.field_label":"Type de champ ","advancedcontactform.field_text":"Texte du champ","advancedcontactform.field_title":"Texte du champ","advancedcontactform.goal_label":"Page de confirmation","advancedcontactform.multi_line":"Champ \u00e0 lignes multiples","advancedcontactform.option_1":"Option 1","advancedcontactform.radio_button":"Bouton de radio","advancedcontactform.single_line":"Champ \u00e0 ligne simple","advancedcontactform.title":"Formulaire de contact avanc\u00e9","blogpost.edit":"Editer les articles du blog","blogpost.share_facebook":"Partager sur Facebook","blogpost.share_google_plus":"Partager sur Google+","blogpost.showicons":"Afficher les Ic\u00f4nes de partage","blogpost.title":"Article du blog","blogpost.tweet":"Partager sur Twitter","blogpostlist.appearance":"Apparence","blogpostlist.menu-button":"Editer les articles du blog","blogpostlist.post_display_type":"Type d'affichage de l'article post\u00e9","blogpostlist.post_display_type_full":"Afficher l'article post\u00e9 au complet ","blogpostlist.post_display_type_summary":"R\u00e9sum\u00e9 de l'article","blogpostlist.read_more":"En savoir plus","blogpostlist.title":"Liste des articles","blogposttags.title":"Mots-cl\u00e9s du Blog ","blogsearch.label":"Rechercher des articles","blogsearch.legend":"Rechercher le blog","blogsearch.placeholder":"Rechercher le terme","blogsearch.submit":"Rechercher","blogsearch.title":"Rechercher dans le Blog","blogtitle.default_text":"Titre du Blog","blogtitle.title":"Titre du Blog","blogtitle.titletext":"Titre du texte","button.default_text":"Bouton ","button.text_placeholder":"Exemple: \u00c0 propos","button.title":"Bouton ","buynow.account":"Compte","buynow.brand":"Marque","buynow.buy_now":"Acheter maintenant","buynow.currency":"Devise","buynow.failed":"Nous n'avons pas pu cr\u00e9er votre compte. Merci de contacter le service technique.","buynow.first_name":"Pr\u00e9nom","buynow.hide":"Cacher","buynow.last_name":"Nom","buynow.maintenance_copy1":"Nous avons besoin de temps en tempLine truncated
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
goog.provide("widget_buynow");goog.require("twig");goog.require("twig.filter");widget_buynow=function(env){twig.Template.call(this,env)};twig.inherits(widget_buynow,twig.Template);widget_buynow.prototype.getParent_=function(context){return false};widget_buynow.prototype.render_=function(sb,context,blocks){if(twig.attr("app"in context?context["app"]:null,"maintenance")){sb.append(' <div class="maintenance-mode js-maintenance">\n <h1 class="buynow-form__maintenance-title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.maintenance_title","We’re temporarily offline for maintenance"),"html",null,true));sb.append('</h1>\n <p class="buynow-form__maintenance-copy">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.maintenance_copy1","Every now and then we have to disable access to the editor whilst we make improvements to speed things up for yourself and visitors to your site."),"html",null,true));sb.append('</p>\n <p class="buynow-form__maintenance-copy">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.maintenance_copy2","These upgrades are usually pretty quick, so we’ll be back up soon!"),"html",null,true));sb.append("</p>\n </div>\n")}else{sb.append(" ");context["freePackage"]=false;sb.append(" ");if(twig.attr("data"in context?context["data"]:null,"packageData")&&twig.attr(twig.attr("data"in context?context["data"]:null,"packageData"),"price")=="0.00"){sb.append(" ");context["freePackage"]=true;sb.append(" ")}sb.append(' <form class="widget-buynow-container">\n <ul class="widget-buynow-container-list">\n <li>\n <span class="widget-buynow-title">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.your_detials","Your details"),"html",null,true));sb.append("</span>\n\n ");if(twig.attr("data"in context?context["data"]:null,"showNames")==true){sb.append(' <div>\n <label title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.first_name","First name"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.first_name","First name"),"html",null,true));sb.append('</label>\n <input type="text" name="firstname" class="widget-buynow-first-name js-input-buynow-first-name" title=');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.first_name","First name"),"html",null,true));sb.append(' placeholder="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.first_name","First name"),"html",null,true));sb.append("\">\n <span class='filed-error-firstName errors'></span>\n </div>\n <div>\n <label title=\"");sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.last_name","Last name"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.last_name","Last name"),"html",null,true));sb.append('</label>\n <input type="text" name="lastname" class="widget-buynow-last-name js-input-buynow-last-name" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.last_name","Last name"),"html",null,true));sb.append('" placeholder="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.last_name","Last name"),"html",null,true));sb.append("\">\n <span class='filed-error-lastName errors'></span>\n </div>\n ")}sb.append('\n <div>\n <label title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.account","Account"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.account","Account"),"html",null,true));sb.append('</label>\n <input type="email" name="Account" class="widget-buynow-email bk-standard-input js-input-buynow-email" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.account","Account"),"html",null,true));sb.append('" placeholder="me@example.com">\n <span class=\'filed-error-email errors\'></span>\n </div>\n <div>\n <label title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.password","Password"),"html",null,true));sb.append('">');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.password","Password"),"html",null,true));sb.append('</label>\n <input type="password" class="password js-input-password" title="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.password","Password"),"html",null,true));sb.append('" placeholder="');sb.append(twig.filter.escape(this.env_,App.t("widgets.buynow.password","Password"),"html",null,true));sb.append('">\n <span class=\'filed-error-password errors\'></span>\n <button class="password-mask-toggle Line truncated
|
|
||||||
}sb.append(' <tr>\n <td></td>\n <td></td>\n <td class="basket-summary-subtotal">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.subtotal","Subtotal: %1","subTotal"in context?context["subTotal"]:null),"html",null,true));sb.append('</td>\n </tr>\n </tbody>\n </table>\n\n <form action="');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"checkoutUrl"),"html",null,true));sb.append('" method="POST">\n ');context["sitePrimaryDomain"]=twig.attr("data"in context?context["data"]:null,"sitePrimaryDomain")?twig.attr("data"in context?context["data"]:null,"sitePrimaryDomain"):"sitePrimaryDomain"in context?context["sitePrimaryDomain"]:null;sb.append('\n <input type="hidden" name="cartId" value="');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"id"),"html",null,true));sb.append('">\n <input type="hidden" name="storeRef" value="');sb.append(twig.filter.escape(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"ref"),"html",null,true));sb.append('">\n <input type="hidden" name="storeUrl" value="');sb.append(twig.filter.escape(this.env_,twig.attr("app"in context?context["app"]:null,"protocol"),"html",null,true));sb.append("://");sb.append(twig.filter.escape(this.env_,"sitePrimaryDomain"in context?context["sitePrimaryDomain"]:null,"html",null,true));sb.append('/store">\n\n ');context["purchaseDisabled"]=twig.attr("app"in context?context["app"]:null,"mode")!="published";sb.append(" ");context["itemCount"]=twig.attr("data"in context?context["data"]:null,"itemCount",undefined,undefined,true)?twig.attr("data"in context?context["data"]:null,"itemCount"):twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"cart"),"itemCount");sb.append(" ");if(("itemCount"in context?context["itemCount"]:null)<1){sb.append(" ");context["purchaseDisabled"]=true;sb.append(" ")}sb.append('\n <button class="btn basket-summary-submit" type="submit"');if("purchaseDisabled"in context?context["purchaseDisabled"]:null){sb.append(" disabled")}sb.append(">\n ");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.submit","Proceed to checkout"),"html",null,true));sb.append("\n </button>\n </form>\n ")}else{sb.append(' <p class="basket-summary-empty-copy">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.empty","Your basket is empty!"),"html",null,true));sb.append('</p>\n <a class="basket-summary-empty-cta btn" href="');sb.append(twig.filter.escape(this.env_,"requestBase"in context?context["requestBase"]:null,"html",null,true));sb.append('/store">');sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.empty_cta","Continue shopping"),"html",null,true));sb.append("</a>\n ")}sb.append("\n")}else{sb.append("\n ");if(twig.filter.length(this.env_,twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"email"))>0){sb.append(" <p>");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.nopayment_available","This store doesn't currently support taking payments. Please contact the store owner at %1.",twig.attr(twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store"),"email")),"html",null,true));sb.append("</p>\n ")}else{sb.append(" <p>");sb.append(twig.filter.escape(this.env_,App.t("widgets.ecombasketsummary.nopayment_available_general","This store doesn't currently support taking payments."),"html",null,true));sb.append("</p>\n ")}sb.append("\n")}};widget_ecombasketsummary.prototype.getTemplateName=function(){return"widget_ecombasketsummary"};widget_ecombasketsummary.prototype.isTraitable=function(){return false};goog.provide("widget_ecomproduct");goog.require("twig");goog.require("twig.filter");widget_ecomproduct=function(env){twig.Template.call(this,env)};twig.inherits(widget_ecomproduct,twig.Template);widget_ecomproduct.prototype.getParent_=function(context){return false};widget_ecomproduct.prototype.render_=function(sb,context,blocks){if(!(null===twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"product"))){sb.append(" ");context["store"]=twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"store");sb.append(" ");context["product"]=!twig.attr("data"in context?context["data"]:null,"product",undefined,undefined,true)?twig.attr(twig.attr("plugins"in context?context["plugins"]:null,"ecommerce"),"product"):twig.attr("data"in context?context["data"]:null,"product");sb.append(" ");coLine truncated
|
|
||||||
sb.append(' <span class="bk-profile-business">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"business"))>0&&twig.attr("data"in context?context["data"]:null,"business")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"business"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"business"),"html",null,true));sb.append(" ")}sb.append("</span>\n ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(' <span class="bk-profile-business">');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nobusiness","No business"),"html",null,true));sb.append("</span>\n ")}}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="copyright"){sb.append(" ");if(twig.attr("data"in context?context["data"]:null,"copyright")!="profile"&&twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"copyright"))>0||twig.filter.length(this.env_,twig.attr("profile"in context?context["profile"]:null,"copyright"))>0){sb.append(' <span class="bk-profile-copyright">');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"copyright"))>0&&twig.attr("data"in context?context["data"]:null,"copyright")!="profile"){sb.append(twig.filter.escape(this.env_,twig.attr("data"in context?context["data"]:null,"copyright"),"html",null,true))}else{sb.append(twig.filter.escape(this.env_,twig.attr("profile"in context?context["profile"]:null,"copyright"),"html",null,true));sb.append(" ")}sb.append("</span>\n ")}else if(twig.attr("app"in context?context["app"]:null,"mode")!="published"&&twig.attr("app"in context?context["app"]:null,"mode")!="site-preview"){sb.append(' <span class="bk-profile-copyright">');sb.append(twig.filter.escape(this.env_,App.t("widgets.profile.nocopyright","No copyright"),"html",null,true));sb.append("</span>\n ")}}sb.append("\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="twitter"){sb.append('<ul class="twitter js-twitter">\n\n');if(twig.filter.length(this.env_,twig.attr("data"in context?context["data"]:null,"tweets"))>0){sb.append(" ");context["tweet"]=twig.attr(twig.attr("data"in context?context["data"]:null,"tweets"),0,undefined,"array");sb.append(' <li>\n <div class="twitter-profile-pic">\n <a href="https://twitter.com/');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"screenName"),"html",null,true));sb.append('" target="_blank">\n <img alt="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"fullName"),"html",null,true));sb.append('" title="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"fullName"),"html",null,true));sb.append('" data-screename="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"screenName"),"html",null,true));sb.append('" src="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"imageUrl"),"html",null,true));sb.append('">\n </a>\n </div>\n\n <div class="twitter-content">\n <a href="https://twitter.com/');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"screenName"),"html",null,true));sb.append('" target="_blank">\n <span class="bk-full-name"> ');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"fullName"),"html",null,true));sb.append(" </span>\n </a>\n <p> ");sb.append(twig.attr("tweet"in context?context["tweet"]:null,"text"));sb.append(' </p>\n <time class="created_at" data-value="');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"createdAt"),"html",null,true));sb.append('"> ');sb.append(twig.filter.escape(this.env_,twig.attr("tweet"in context?context["tweet"]:null,"createdAt"),"html",null,true));sb.append(" </time>\n <span> ");sb.append(twig.filter.escape(this.env_,App.t("widgets.twitter.via","via"),"html",null,true));sb.append(" </span>\n <span> ");sb.append(twig.attr("tweet"in context?context["tweet"]:null,"source"));sb.append(" </span>\n </div>\n </li>\n</ul>\n")}else{sb.append("<p>");sb.append(twig.filter.escape(this.env_,App.t("widgets.twitter.message","Retrieving tweets"),"html",null,true));sb.append(".</p>\n")}}sb.append("\n\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="map"){sb.append('<div class="map js-map"></div>\n')}sb.append("\n\n");if(twig.attr("data"in context?context["data"]:null,"profileType")=="form"){sb.append('<form action="" method="post" class="js-form">\n <fieldset>\n <div class="form-group"> ');sb.append('\n <label for="profileform-email">');sb.append(twig.filter.escape(this.env_,App.Line truncated
|
|
||||||
Reference in new issue
Block a user