Skip to content
,
—
Post navigation
jQuery( document ).ajaxComplete(function() {
// alert( "Triggered ajaxComplete handler." );
jQuery.fn.getTitle = function() {
var arr = jQuery("a.fancybox");
jQuery.each(arr, function() {
var title = jQuery(this).children("img").attr("title");
var caption = jQuery(this).children("img").attr("alt");
jQuery(this).attr('title',title).attr('data-caption',caption);
})
}
var images = jQuery("a:has(img)").not(".nolightbox").filter( function() { return /\.(jpe?g|png|gif|bmp)$/i.test(jQuery(this).attr('href')) });
var gallery = jQuery(".gallery-item a:has(img)").not(".nolightbox").filter( function() { return /\.(jpe?g|png|gif|bmp)$/i.test(jQuery(this).attr('href')) });
console.log(images.length);
/* images.addClass("fancybox").getTitle(); */
images.addClass("fancybox");
/* images.attr("data-fancybox='images'","gallery"); */ /* MWS codit */
images.parent().attr("data-fancybox","images"); /* MWS codit */
/* gallery.addClass("fancybox").getTitle();
gallery.attr("data-fancybox","gallery"); */
/* $().fancybox({
selector : '.alignnone a:visible'
}); */
jQuery("a.fancybox").fancybox({
'loop': false,
'margin': [44, 0],
'gutter': 50,
'keyboard': true,
'arrows': true,
'infobar': false,
'toolbar': true,
'buttons': ["slideShow", "fullScreen", "thumbs", "close"],
'idleTime': 4,
'protect': false,
'modal': false,
'animationEffect': "zoom",
'animationDuration': 350,
'transitionEffect': "fade",
'transitionDuration': 350,
});
});
That blue sky is so nice next to the warm orange brick. Would love to be in that spot.
me too, John, especially with this prolongated winter we have to endure in Germany at the moment. I’d say it is this visible overall warmth that is the main attractivity factor for all those tourists coming from more northern countries.