1 Matching Annotations
  1. Oct 2024
    1. Residents Clarke County Citizens Academy $(function () { var widgetContext = "widget_3_0_1662"; //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.clarkecounty.gov%2fresidents%2fclarke-county-citizens-academy", 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) : "Clarke+County+Citizens+Academy"; var opts = { title: "Click to submit an email online", url: "/Template/GetShareEmailPartial?shareUrl=https%3a%2f%2fwww.clarkecounty.gov%2fresidents%2fclarke-county-citizens-academy" + "&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(); }); }); Clarke County Supervisors and government employees value civic engagement and want to create opportunities for individuals to learn more about how their government offices, boards, commissions, and departments function. Clarke residents and business owners ages 18 and up may enroll in the Clarke County Citizens Academy, a program designed to engage as well as elicit feedback.