Boroughs

// 0)
jQuery.each(responsiveEntries, function(index,obj) {
var curw = obj.width != undefined ? obj.width : 0,
cura = obj.amount != undefined ? obj.amount : 0;
if (smallest>curw) {
smallest = curw;
samount = cura;
resultidb = index;
}
if (largestlastbottom && curwwinw) {
lastamount = samount;
resultid = resultidb;
}
var obj = new Object;
obj.index = resultid;
obj.column = lastamount;
if (resultoption==”id”)
return obj;
else
return lastamount;
}
if (“even”==”even”) {
var coh=0,
container = jQuery(“#esg-grid-123-1”);
var cwidth = container.width(),
ar = “16:9″,
gbfc = eggbfc(jQuery(window).width(),”id”),
row = 2;
ar = ar.split(“:”);
aratio=parseInt(ar[0],0) / parseInt(ar[1],0);
coh = cwidth / aratio;
coh = coh/gbfc.column*row;
var ul = container.find(“ul”).first();
ul.css({display:”block”,height:coh+”px”});
}
var essapi_123;
jQuery(document).ready(function() {
essapi_123 = jQuery(“#esg-grid-123-1″).tpessential({
gridID:123,
layout:”even”,
forceFullWidth:”off”,
lazyLoad:”on”,
lazyLoadColor:”#FFFFFF”,
gridID:”123″,
loadMoreType:”button”,
loadMoreAmount:6,
loadMoreTxt:”LOAD MORE”,
loadMoreNr:”off”,
loadMoreEndTxt:”No More Items for the Selected Filter”,
loadMoreItems:[],
row:9999,
loadMoreAjaxToken:”6ef1685da4″,
loadMoreAjaxUrl:”https://thecitystory.com/wp-admin/admin-ajax.php”,
loadMoreAjaxAction:”Essential_Grid_Front_request_ajax”,
ajaxContentTarget:”ess-grid-ajax-container-“,
ajaxScrollToOffset:”0″,
ajaxCloseButton:”off”,
ajaxContentSliding:”on”,
ajaxScrollToOnLoad:”on”,
ajaxCallbackArgument:”off”,
ajaxNavButton:”off”,
ajaxCloseType:”type1″,
ajaxCloseInner:”false”,
ajaxCloseStyle:”light”,
ajaxClosePosition:”tr”,
space:2,
pageAnimation:”fade”,
paginationScrollToTop:”off”,
spinner:”spinner0″,
evenGridMasonrySkinPusher:”off”,
lightBoxMode:”single”,
lightboxSpinner:”off”,
lightBoxFeaturedImg:”off”,
lightBoxPostTitle:”off”,
lightBoxPostTitleTag:”h2″,
animSpeed:1000,
delayBasic:1,
mainhoverdelay:1,
filterType:”single”,
showDropFilter:”click”,
filterGroupClass:”esg-fgc-123″,
googleFonts:[‘Open+Sans:300,400,600,700,800′,’Raleway:100,200,300,400,500,600,700,800,900′,’Droid+Serif:400,700’],
aspectratio:”16:9″,
responsiveEntries: [
{ width:1400,amount:2,mmheight:0},
{ width:1170,amount:2,mmheight:0},
{ width:1024,amount:2,mmheight:0},
{ width:960,amount:2,mmheight:0},
{ width:778,amount:2,mmheight:0},
{ width:640,amount:2,mmheight:0},
{ width:480,amount:1,mmheight:0}
] });
});
// ]]>