$(function () {
var widgetContext = "widget_3_0_2488";
//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%2fdesignated-landmarks%2frobert-o-stephens-house",
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) : "Robert+O.+Stephens+House";
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%2fdesignated-landmarks%2frobert-o-stephens-house" + "&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();
});
});
Name: Robert O. Stephens House
Address: 503 Bross St.
Landmark Designation: 1977
Construction Date: 1891
Architectural Style: Queen Anne
This house is a classic example of architecture of the late Victorian period and is a prime example of the architectural style and quality of building that was being done in Longmont's formative years.
Robert O. Stephens, owner-builder of this home, is a significant person in the development of Longmont. Although he originally moved to Colorado with the Greeley Colony, he came to Longmont and took membership in the Colony when it was about 3-years-old. He contributed his talents as a mason throughout his life to the community. Among his credits are the First Presbyterian Church and the Longmont Drug Co.
Mr. Stephens purchased the site for the purpose of building a "retirement cottage" for himself and his wife, Hannah. This location was considered ideal because it was adjacent to Thompson Park and only one block from the public school.
Reference
HPC 1977-4