Tracking Turnpike Road Work
Nov 22, 2021
Planet Technologies worked with one of America’s largest Turnpike commissions to create customized Microsoft Dynamics 365 workflows. This allows them to track road work and construction in real-time to improve navigation and traffic.
#experiencematters #goplanet
jQuery(document).ready(function ($) {
function openTabFromHash() {
var hash = window.location.hash.substring(1); // Get hash from URL
if (hash) {
// Find correct tab index
var tabIndex = -1;
if (hash === "in-development") tabIndex = 0;
if (hash === "rolling-out") tabIndex = 1;
if (hash === "launched") tabIndex = 2;
if (hash === "cancelled") tabIndex = 3;
if (tabIndex !== -1) {
$(".et_pb_tabs_controls li").removeClass("et_pb_tab_active");
$(".et_pb_tab").removeClass("et_pb_active_content").hide();
// Activate the correct tab
$(".et_pb_tabs_controls li").eq(tabIndex).addClass("et_pb_tab_active").trigger("click");
$(".et_pb_tab").eq(tabIndex).addClass("et_pb_active_content").show();
}
}
}
openTabFromHash(); // Run on page load
$(window).on("hashchange", function () {
openTabFromHash(); // Run when hash changes
});
});