Treaty of Oregon (2024)

" ); } // If no headshot, remove that DIV to correct alignment if ($(".contact-headshot img").attr("src") == '') { $(".contact-headshot").remove(); } // Replaced LinkedIn image with appropriately-sized PNG (was adding weird amount of space below) $(".contact-linkedin img").attr("src", "/f/18699/linkedin.png"); //// CALENDAR PAGE if ($(location).attr("pathname") == "/calendar/") { // Announce agenda search tool $(".col-sm-3").prepend( "

SEARCH TOOL

Find any Council meeting agenda item from 2002 to present with our agenda search tool.

" ); // Announce videos $(".col-sm-3").prepend( "

VIDEOS

Council meetings are recorded. See video links on any agenda page since May2023, or request recordings for older meetings.

" ); } //// SEARCH PAGE if ($(location).attr("pathname") == "/search/") { $(".checkbox-text").each(function () { /* Proper-case some tags (until chili ticket 60264 is resolved) */ $(this).text($(this).text().replace("Isab", "ISAB").replace("Isrp", "ISRP").replace("Rtf", "RTF").replace("Ieab", "IEAB").replace("Us Army Corps Of Engineers", "US Army Corps of Engineers").replace("Rm&E", "RM&E").replace("Critfc", "CRITFC").replace("Noaa", "NOAA")); }); // For Type categories, anything other than "All" should clear the All checkbox, and vice-versa $("#type-list input:not(#type-check-1)").change(function () { if ($(this).is(':checked')) { $("#type-check-1").prop("checked", false); } }); $("#type-check-1").change(function () { $("#type-list input:not(#type-check-1)").each(function () { $(this).prop("checked", false); }); }); } } //// AFTER PAGES LOAD $(function () { /* Set CSS for page elements that are only available after page is drawn */ $(".blog-list article.post-item").css("margin-left", ".8rem"); // /news page // Make figure captions a little larger font, darker color, and width = image width above $(".blog-content figure figcaption").css({ "color": "#666", "font-size": ".9rem", "text-wrap": "balance", "margin-top": ".5rem" }); $("figcaption").each(function () { // $(this).css("width", $(this).prev("img").width()); }); //// MEETINGS // Remove leading zeros from meeting date titles (2nd replace restores :00 in time values) $(".date-display-single").each(function () { $(this).html($(this).html().replace(/\b0+/g, "").replace(/:\s/g, ":00 ")); }); // Remove leading zeros on orange bar on home page and Meetings page $(".meeting-date").html($(".meeting-date").html().replaceAll(" 0", " ")); // In calendar widgets, replace em-dash with en-dash and remove ":00" throughout (cleans up display) $(".upcoming_meetings_slider_time").each(function () { $(this).html($(this).html().replaceAll("—", "–").replaceAll(":00", "")); }); // Add hover-over title to "Add to calendar" link $("#subscribe-trigger").attr("title", "Download .ICS file"); // CONTACT PAGES: Change "name's recent news posts" to "name’s news posts" (and note smart apostrophe). Also remove white space above heading. if ($(".contact-content").length) { $(".contact-content h2").text($(".contact-content h2").text().replace("'s recent news posts", "’s news posts")); $(".contact-content h2").css("padding-top", "0"); } // For news pages (specifically /news/category/public-affairs), hide any page navigators that have negative values or 0 (Oct 2023 bug) $('li:has(a[href*="page=-"],a[href*="page=0"])').remove() // Change twitter sharing icon to x.com $("a.twitter").css("background-image", "url(/f/18477/x-social-media-logo-icon.png)"); $("a.threads").css("background-image", "url(/f/18521/threads.png)"); // Remove "Share" box in header $(".social-box").remove(); //// MOBILE ONLY if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { // Add tag to phone numbers (per Parthenon 5/28/2024) $('body :not(script)').contents().filter(function () { return this.nodeType === 3; }).replaceWith(function () { return this.nodeValue.replace(/((\d{3})-(\d{3})-(\d{4}))/gm, '$1'); }); // Remove "View" from footer in calendar widget links $(".upcoming_meetings_actions a").each(function () { $(this).html($(this).html().replace("View ", "")); }) } /* WCAG/ADA compliance tweaks */ // Featured news tiles: remove alt and title attributes from div /**** ERIC NOTE: These don't actually seem to affect the page source, so probably need to have Parthenon process $('div').each(function () { $(this).removeAttr('alt'); $(this).removeAttr('title'); }); // Add alt tag to calendar icon (home, meetings) $(".meeting-details-link img").attr("alt", "calendar icon"); ****/ });

Treaty of Oregon (2024)
Top Articles
Latest Posts
Article information

Author: Mrs. Angelic Larkin

Last Updated:

Views: 6341

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Mrs. Angelic Larkin

Birthday: 1992-06-28

Address: Apt. 413 8275 Mueller Overpass, South Magnolia, IA 99527-6023

Phone: +6824704719725

Job: District Real-Estate Facilitator

Hobby: Letterboxing, Vacation, Poi, Homebrewing, Mountain biking, Slacklining, Cabaret

Introduction: My name is Mrs. Angelic Larkin, I am a cute, charming, funny, determined, inexpensive, joyous, cheerful person who loves writing and wants to share my knowledge and understanding with you.