Skip to content
Debrecen, Hungary
—
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,
});
});
Hi, Markus,
As you know, I’m a big fan of squares. With just a bit of asymmetry tossed in for good measure.
stephen
Stephen, in this case I think the asymmetry just grew in in the decades after the architect had lost influence to the tenants and their wishes for individuality, paired probably with the scarcity of ressources in communist times…