
{"id":9388,"date":"2024-03-08T18:18:04","date_gmt":"2024-03-08T18:18:04","guid":{"rendered":"https:\/\/cabww.frenik.net\/cabww\/?page_id=9388"},"modified":"2024-06-24T15:56:04","modified_gmt":"2024-06-24T15:56:04","slug":"news-and-other","status":"publish","type":"page","link":"https:\/\/cabww.com\/news-and-other\/","title":{"rendered":"News Option"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"9388\" class=\"elementor elementor-9388\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"has_eae_slider elementor-section elementor-top-section elementor-element elementor-element-784591ef sidebar-content-big-screen elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-eae-slider=\"45623\" data-id=\"784591ef\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"has_eae_slider elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4d7b5809\" data-eae-slider=\"43234\" data-id=\"4d7b5809\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1b9731f2 elementor-widget__width-initial elementor-widget elementor-widget-heading\" data-id=\"1b9731f2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">CAB News<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4fb8ce41 elementor-widget elementor-widget-heading\" data-id=\"4fb8ce41\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">We\u2019ve built a history of excellence<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t<div class=\"has_eae_slider elementor-element elementor-element-95ee888 e-flex e-con-boxed e-con e-parent\" data-eae-slider=\"99532\" data-id=\"95ee888\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-14c5dd3 elementor-widget elementor-widget-shortcode\" data-id=\"14c5dd3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t    <link href=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.3.3\/dist\/css\/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH\" crossorigin=\"anonymous\">\n    \n        \n            <div class=\"container sidebar-content-big-screen\">\n        <div class=\"row news-other cls-3\">\n                                        \n                                    <div class=\"col-lg-4 col-md-6 col-sm-12 mt-3 image-section\" id=\"image-1\">\n                        <div class=\"card\">\n                            <a href=\"https:\/\/cabww.com\/news-and-others\/mr-pankaj-parate-honored-with-young-alumni-achiever-award-2024\/\" class=\"news-img-display\">View<\/a>\n                            <img decoding=\"async\" class=\"card-img-top\" src=\"https:\/\/cabww.com\/wp-content\/uploads\/2024\/09\/1.webp\" alt=\"Card image cap\">\n                            <div class=\"card-body\">\n                                <h3 class=\"card-title\">Mr. Pankaj Parate Honored with Young Alumni Achiever Award 2024<\/h3>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                    \n                                            \n                                    <div class=\"col-lg-4 col-md-6 col-sm-12 mt-3 image-section\" id=\"image-2\">\n                        <div class=\"card\">\n                            <a href=\"https:\/\/cabww.com\/news-and-others\/cab-is-awarded-as-one-of-the-fastest-growing-private-companies-by-the-atlanta-business-chronicle\/\" class=\"news-img-display\">View<\/a>\n                            <img decoding=\"async\" class=\"card-img-top\" src=\"https:\/\/cabww.com\/wp-content\/uploads\/2024\/08\/fastest_growing_companies.jpg\" alt=\"Card image cap\">\n                            <div class=\"card-body\">\n                                <h3 class=\"card-title\">CAB is awarded as one of the fastest growing private companies by the Atlanta Business Chronicle.<\/h3>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                    \n                                            \n                                    <div class=\"col-lg-4 col-md-6 col-sm-12 mt-3 image-section\" id=\"image-3\">\n                        <div class=\"card\">\n                            <a href=\"https:\/\/cabww.com\/news-and-others\/cab-recognized-as-one-of-atlanta-metros-top-20-woman-owned-firms\/\" class=\"news-img-display\">View<\/a>\n                            <img decoding=\"async\" class=\"card-img-top\" src=\"https:\/\/cabww.com\/wp-content\/uploads\/2024\/05\/20-largest-women-owned-firms.png\" alt=\"Card image cap\">\n                            <div class=\"card-body\">\n                                <h3 class=\"card-title\">CAB Recognized As One Of Atlanta Metro\u2019s Top 20 Woman Owned Firms 2014-2015-2016-2017-2018-2019-2020.<\/h3>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                    \n                                            \n                                    <div class=\"col-lg-8 col-md-6 col-sm-12 mt-3 news-video single-video\" id=\"video-4\"  style=\"position: relative; \">\n                        <iframe width=\"100%\" height=\"auto\" src=\"https:\/\/www.youtube.com\/embed\/ls1oIstcAGw?si=OARTbz1gqFl6_ddS\" frameborder=\"0\" allow=\"accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen style=\"display: block; pointer-events: none;\"><\/iframe>\n                        <button type=\"button\" class=\"video-modal-trigger\" data-toggle=\"modal\" data-target=\"#videoModal4\" \n                        style=\"position: absolute; width:98%; height:98%; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(0, 0, 0, 0); color: white; border: none; padding: 10px 20px; cursor: pointer; font-size: 18px; z-index: 10; border-radius: 5px;\">\n                        <\/button>\n                    <\/div>\n    \n                    <!-- Modal for video -->\n                    <div class=\"modal fade\" id=\"videoModal4\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"videoModalLabel\" aria-hidden=\"true\">\n                        <div class=\"modal-dialog modal-lg modal-dialog-centered\">\n                            <div class=\"modal-content\">\n                                <div class=\"modal-body\">\n                                    <iframe width=\"100%\" height=\"400\" src=\"https:\/\/www.youtube.com\/embed\/ls1oIstcAGw?si=OARTbz1gqFl6_ddS\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                    \n                                            \n                                    <div class=\"col-lg-4 col-md-6 col-sm-12 mt-3 image-section\" id=\"image-5\">\n                        <div class=\"card\">\n                            <a href=\"https:\/\/cabww.com\/news-and-others\/cab-wins-award-for-flanges-on-tallest-flagpole\/\" class=\"news-img-display\">View<\/a>\n                            <img decoding=\"async\" class=\"card-img-top\" src=\"https:\/\/cabww.com\/wp-content\/uploads\/2024\/03\/Frame-2.jpg\" alt=\"Card image cap\">\n                            <div class=\"card-body\">\n                                <h3 class=\"card-title\">CAB Wins Award For Flanges On Tallest Flagpole<\/h3>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                    \n                                    <\/div>\n            <\/div>\n                \n        <div class=\"container\">\n            <div class=\"row gallery-pagination news-others-pagination\">\n                            <\/div>\n        <\/div>\n        \n\n     <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@4.6.2\/dist\/js\/bootstrap.bundle.min.js\" integrity=\"sha384-Fy6S3B9q64WdZWQUiU+q4\/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct\" crossorigin=\"anonymous\"><\/script>\n<!--  <script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/bootstrap-lightbox\/0.7.0\/bootstrap-lightbox.min.js\" integrity=\"sha512-pG6Jpi0rC+Tc4UBLolT53rjjfGNuHBgEGqe6E29doS\/zTJhSI9mGIwkiq+wSP1InaQs61vpQ+UhNgTUhyyYGDw==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"><\/script>  -->\n<!--   <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/jquery@3.5.1\/dist\/jquery.slim.min.js\" integrity=\"sha384-DfXdz2htPH0lsSSs5nCTpuj\/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj\" crossorigin=\"anonymous\"><\/script> -->\n<script>\njQuery(document).ready(function() {\n  \/\/ Iterate over each .news-other div\n  jQuery('.news-other').each(function() {\n    let imageSections = jQuery(this).find('.image-section:not(.modal)');\n    let videos = jQuery(this).find('.single-video:not(.modal)');\n\n    \/\/ Initialize an object to track existing orders\n    let existingOrders = {};\n\n    \/\/ Store current orders for existing image sections and videos\n    imageSections.each(function(index) {\n      let order = parseInt(jQuery(this).css('order')) || 0;\n      existingOrders[`imageSection${index + 1}`] = order;\n    });\n\n    videos.each(function(index) {\n      let order = parseInt(jQuery(this).css('order')) || 0;\n      existingOrders[`video${index + 1}`] = order;\n    });\n\n    const numVideos = videos.length;\n\n    \/\/ Case 1: One video\n    if (numVideos === 1) {\n      let firstVideo = videos.eq(0);\n      if (existingOrders.video1 !== 2) firstVideo.css('order', 2);\n      if (imageSections.length > 0 && existingOrders.imageSection1 !== 1) imageSections.eq(0).css('order', 1);\n\n    \/\/ Case 2: Two videos\n    } else if (numVideos === 2) {\n      let firstVideo = videos.eq(0);\n      let secondVideo = videos.eq(1);\n      \n      \/\/ Set orders for videos\n      if (existingOrders.video1 !== 1) firstVideo.css('order', 1);\n      if (existingOrders.video2 !== 2) secondVideo.css('order', 2);\n      \n      \/\/ Adjust classes for videos\n      firstVideo.removeClass('col-lg-8').addClass('col-lg-6');\n      secondVideo.removeClass('col-lg-8').addClass('col-lg-6');\n      \n      \/\/ Set orders for image sections to follow the videos\n      imageSections.each(function(index) {\n        jQuery(this).css('order', 3 + index);\n      }); \/\/ <-- Fixed closing brace here\n\n    \/\/ Case 3: Three videos\n    } else if (numVideos === 3) {\n      let firstVideo = videos.eq(0);\n      let secondVideo = videos.eq(1);\n      let thirdVideo = videos.eq(2);\n      if (imageSections.length > 0 && existingOrders.imageSection1 !== 1) imageSections.eq(0).css('order', 1);\n      if (existingOrders.video1 !== 2) firstVideo.css('order', 2);\n      if (imageSections.length > 1) {\n        if (existingOrders.video2 === 3) imageSections.eq(1).css('order', 4);\n        else imageSections.eq(1).css('order', 4);\n      }\n      thirdVideo.removeClass('col-lg-8 col-md-6').addClass('col-lg-12 col-md-12 third-vid');\n\n    \/\/ Case 4: Four videos\n    } else if (numVideos === 4) {\n      let firstVideo = videos.eq(0);\n      let secondVideo = videos.eq(1);\n      let thirdVideo = videos.eq(2);\n      let fourthVideo = videos.eq(3);\n      if (imageSections.length > 0 && existingOrders.imageSection1 !== 1) imageSections.eq(0).css('order', 1);\n      if (existingOrders.video1 !== 2) firstVideo.css('order', 2);\n\n      secondVideo.removeClass('col-lg-8 col-md-6').addClass('col-lg-6 col-md-12');\n      thirdVideo.removeClass('col-lg-8 col-md-6').addClass('col-lg-6 col-md-12');\n      fourthVideo.removeClass('col-lg-8 col-md-6').addClass('col-lg-12 col-md-12');\n\n    \/\/ Case 5: Five videos\n    } else if (numVideos === 5) {\n      \/\/ Remove classes 'col-lg-8 col-md-6' and add 'col-lg-12 col-md-12' for each video\n      videos.each(function() {\n        jQuery(this).removeClass('col-lg-8 col-md-6').addClass('col-lg-12 col-md-12');\n      });\n    }\n\n    \/\/ Ensure remaining image sections have sequential orders starting from 3\n    imageSections.each(function(index) {\n      let order = parseInt(jQuery(this).css('order')) || 0;\n      if (order === 0) jQuery(this).css('order', 3 + index);\n    });\n\n    \/\/ Ensure remaining videos have sequential orders starting from 2\n    videos.each(function(index) {\n      let order = parseInt(jQuery(this).css('order')) || 0;\n      if (order === 0) jQuery(this).css('order', 2 + index);\n    });\n\n    \/\/ Log current orders for debugging\n    console.log('Current Orders:', existingOrders);\n  });\n});\n<\/script>\n\n         \n            \n      \n       \n\t\t<div class=\"elementor-shortcode\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>CAB News We\u2019ve built a history of excellence<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-9388","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/cabww.com\/wp-json\/wp\/v2\/pages\/9388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cabww.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cabww.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cabww.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cabww.com\/wp-json\/wp\/v2\/comments?post=9388"}],"version-history":[{"count":0,"href":"https:\/\/cabww.com\/wp-json\/wp\/v2\/pages\/9388\/revisions"}],"wp:attachment":[{"href":"https:\/\/cabww.com\/wp-json\/wp\/v2\/media?parent=9388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}