$(function () {
var widgetContext = "widget_3_0_2455";
//start VISPP-4466
var useDesignThemFontSizeCss = window.visionOptions.useDesignThemFontSizeCss;
var folderPath = useDesignThemFontSizeCss == true ? window.visionOptions.currentDesignFolderPath : window.visionOptions.mainFolderPath;
if (!folderPath)
folderPath = window.visionOptions.mainFolderPath;
var resizeTimer;
var resizeFaqTabs = function () {
$(".faq_widget").each(function () {
var tabheight = $(this).find(".faq_tab_nav").height();
$(this).find(".faqtab_section").attr("style", "min-height: " + (tabheight - 42) + "px");
});
};
var SetFontSize = function (fontsize) {
$("#active_font").attr("href", folderPath + fontsize).attr("data-css", fontsize);
var url = window.location.origin + visionOptions.virtualApplicationPath + "Shared/ChangeFontSizeCookie";
var cookieValue = fontsize ? fontsize : "small.css";
var cookieInt;
switch(cookieValue){
case("xx-small.css"): cookieInt=1; break;
case ("x-small.css"): cookieInt = 2; break;
case ("small.css"): default: cookieInt = 3; break;
case("medium.css"): cookieInt=4; break;
case ("large.css"): cookieInt = 5; break;
}
$.frontendAjax({
url: url,
type: 'POST',
contentType: 'application/json',
data: JSON.stringify({ cookieValue: cookieInt}),
success: function (data, textStatus, jqXHR) {
if (data && data.success) {
$("#active_font").attr("href", window.visionOptions.mainFolderPath + cookieValue).attr("data-css", cookieValue);
}
}
});
if ($(".faq_tab_nav").length > 0) {
clearTimeout(resizeTimer);
resizeTimer = setTimeout(function () {
resizeFaqTabs();
}, 200);
}
};
$(".font_larger").on("click", function () {
switch ($("#active_font").attr("data-css")) {
case "medium.css": SetFontSize("large.css"); break;
case "small.css": SetFontSize("medium.css"); break;
case "x-small.css": SetFontSize("small.css"); break;
case "xx-small.css": SetFontSize("x-small.css"); break;
}
return false;
});
$(".font_smaller").on("click", function () {
switch ($("#active_font").attr("data-css")) {
case "large.css": SetFontSize("medium.css"); break;
case "medium.css": SetFontSize("small.css"); break;
case "small.css": SetFontSize("x-small.css"); break;
case "x-small.css": SetFontSize("xx-small.css"); break;
}
return false;
});
$(".text_size").on("click", function () {
SetFontSize("x-small.css");
return false;
});
//end VISPP-4466
$("#" + widgetContext + " #share").click(function () {
if (!$("#" + widgetContext + " div#share").hasClass("click-active"))
$("#" + widgetContext + " div#share").find("ul").show();
else
$("#" + widgetContext + " div#share").find("ul").hide();
});
$("div").click(function () {
if ($("#" + widgetContext + " div#share").hasClass("click-active")) {
$("#" + widgetContext + " div#share").find("ul").hide();
}
});
$(document).click(function (e) {
if (!$(e.target).closest("#share").length > 0) {
$("#" + widgetContext + " div#share").removeClass("click-active");
$("#" + widgetContext + " div#share").find("ul").hide();
}
});
var shareContainerTimeout = null;
$("#" + widgetContext + " #share").bind('mouseover', function () {
//If not relate to click event
if (shareContainerTimeout) {
clearTimeout(shareContainerTimeout);
shareContainerTimeout = null;
}
shareContainerTimeout = setTimeout(function () {
if (!$("#" + widgetContext + " div#share").hasClass("click-active"))
$("#" + widgetContext + " div#share").find("ul").show();
}, 100);
});
$("#" + widgetContext + " #share").bind('mouseleave', function () {
//If not relate to click event
if (shareContainerTimeout) {
clearTimeout(shareContainerTimeout);
shareContainerTimeout = null;
}
shareContainerTimeout = setTimeout(function () {
if (!$("#" + widgetContext + " div#share").hasClass("click-active"))
$("#" + widgetContext + " div#share").find("ul").hide();
}, 200);
});
$("header#" + widgetContext + " a.feedback_link").click(function () {
var windowHeight = 485;
if (window.innerWidth <= 648) {
windowHeight = 545;
}
var opts = {
title: "Feedback",
url: "/Template/GetFeedbackPartial?feedbackUrl=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fplanning-and-development-services%2fhistoric-preservation%2farchitectural-styles-of-historic-longmont%2fsecond-empire-style",
useFrame: true,
height: windowHeight,
onClosed: function (result) {
if (result != undefined && result.IsOk == true) {
$.refreshTempMessage(result.Message);
}
$("header#" + widgetContext + " a.feedback_link").focus();
},
skin: 'viClientDialog feedback_lightbox',
fixed: false
};
$.viClientDialog(opts).open();
});
//Safari iOS: No click event
$("header#" + widgetContext + " a.send_share_email").bind("click touchstart", function () {
var shareEmailTitle = document.itemTitle ? encodeURIComponent(document.itemTitle.trim()).replace(/[!'()*]/g, escape) : "Second+Empire+Style";
var opts = {
title: "Click to submit an email online",
url: "/Template/GetShareEmailPartial?shareUrl=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fplanning-and-development-services%2fhistoric-preservation%2farchitectural-styles-of-historic-longmont%2fsecond-empire-style" + "&shareTitle=" + shareEmailTitle,
useFrame: true,
height: 485,
onClosed: function (result) {
if (result != undefined && result.IsOk == true) {
$.refreshTempMessage(result.Message);
}
$("header#" + widgetContext + " a.send_share_email").focus();
},
skin: 'viClientDialog send_share_email_lightbox',
fixed: false
};
$.viClientDialog(opts).open();
});
});
The mansard roof with either concave or straight sides is the key to distinguishing the Second Empire style. Although not extremely common in Colorado, there are examples of this high style, most notably the Tabor Hotel in Leadville, the Bloom House in Trinidad, and the Maxwell House in Georgetown. Characteristics include the mansard roof, a projecting bay or tower extending above the roofline, either contoured or to one side. Windows are pedimented or have molded surrounds. Quoins are found on the Bloom House, along with roof cresting. Cornices are bracketed, reminiscent of the Italianate style.
Vernacular variations are usually found on very small homes. The mansard roof and pedimented windows are generally the major elements of the style visible on these small residences.
The photos depict designated landmarks in Longmont that are representative of the Second Empire style.