CINXE.COM

<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <script id="pvscript" src="plugins/js.js"></script> <link rel="shortcut icon" href="skin/favicon.png" /> <link href="https://fonts.googleapis.com/css?family=Quicksand&display=swap" rel="stylesheet" /> <link href="../assets/css/styles.css" rel="stylesheet" id="colors" /> <style> body * { font-family: "Quicksand", sans-serif !important; } nav#menuWrapper { background: rgba(88, 110, 117, 0.6); z-index: 50000; bottom: 40px; height: 50px; width: 100%; position: fixed; } #btn-nav-previous { z-index: 10; text-align: center; color: white; cursor: pointer; font-size: 24px; position: absolute; left: 0px; padding: 9px 12px; background: #db9815; fill: #fff; height: 32px; } #btn-nav-next { z-index: 10; text-align: center; color: white; cursor: pointer; font-size: 24px; position: absolute; right: 0px; padding: 9px 12px; background: #db9815; fill: #fff; height: 32px; } .menu-inner-box { width: 100%; white-space: nowrap; margin: 0 auto; overflow: hidden; box-sizing: border-box; display: flex; justify-content: center; } .menu { padding: 0; margin: 0; list-style-type: none; display: block; text-align: center; margin-top: -3px; } .menu-item { padding: 5px 25px; color: #fff; display: inline; margin: 0 15px; text-decoration: none; text-align: center; white-space: nowrap; border: 1px dashed; position: relative; } .menu-item.no-boder { border: 0px dashed; } .menu-item:hover { text-decoration: none; background: #db9815; border: 1px dashed #fff; color: #fff; } .menu-item.no-boder:hover { border: 0px dashed; background: transparent; } @media only screen and (max-width: 480px) { #btn-nav-previous { display: none; } #btn-nav-next { display: none; } .menu-inner-box { width: 100%; overflow-x: auto; } } .sidebar { width: 350px; transition: right 0.7s ease; position: absolute; height: auto; left: -355px; transition: left 0.5s ease; z-index: 10000; overflow: hidden; bottom: 110px; display: flex; border-radius: 10px; border: 2px solid #fc9403; border-left-color: transparent; border-top-left-radius: 0px; border-bottom-left-radius: 0px; } .sidebar_wrapper { background: rgba(255, 255, 255, 0.9); border-radius: 10px; padding: 10px; display: flex; border-top-left-radius: 0px; border-bottom-left-radius: 0px; padding-left: 0; width: 100%; } .sidebar.visible { left: -1px; transition: left 0.7s ease; padding: 7px; padding-left: 0; } .sidebar-btn { display: inline-block; vertical-align: middle; width: 20px; height: 15px; cursor: pointer; margin: 20px; position: absolute; right: -60px; top: 0px; z-index: 10000; } .sidebar-btn span { background-color: white; height: 1px; display: block; margin-bottom: 5px; } .sidebar-btn span:nth-child(2) { width: 75%; } .hinh_anh { width: 100%; } .hinh_anh img { border: 2px solid #f1662f; width: calc(100% - 5px) !important; border-radius: 0; } .product_title.entry-title { padding-left: 10px; font-weight: bold; text-transform: uppercase; max-width: 35%; margin-right: 20px; } .product_title.entry-title h3 { color: #fc9403; font-size: 14px; border-left: 7px solid #fc9403; padding-left: 10px; } .woocommerce-product-details__short-description { color: #2e2e2e; line-height: 20px; font-weight: normal !important; font-size: 14px; } .woocommerce-product-details__short-description h5 { font-weight: normal !important; } .woocommerce-product-details__short-description h5 strong { font-weight: bold !important; } button.button.buy_now_button { margin: 20px 0 10px 0px; font-weight: 500; background-color: #f26a39; border-radius: 2px; padding-top: 10px; padding-right: 40px; padding-bottom: 10px; padding-left: 40px; width: 100%; color: #fff; font-weight: bold; text-transform: uppercase; border: 1px solid transparent; } .close { position: absolute; top: 5px; right: 5px; width: 15px; cursor: pointer; } .close img { width: 100%; height: auto; } .description p span { display: inline-block; } .navBar { background: #455a64; } .nav { padding: 10px 0; list-style: none; display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; } .nav > li > a { padding: 5px 10px; display: block; color: rgba(255, 255, 255, 0.8); text-decoration: none; text-transform: uppercase; font-size: 14px; } ::-webkit-scrollbar { height: 3px; width: 3px; background: gray; } /* Track */ ::-webkit-scrollbar-track { background: #f1f1f1; } /* Handle */ ::-webkit-scrollbar-thumb::-webkit-scrollbar-thumb { background: #888; } /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: #555; } ::-webkit-scrollbar-thumb:horizontal { background: #db9815; border-radius: 0px; } .hot { position: absolute; top: -10px; right: -10px; font-size: 10px; border-radius: 5px; background: red; padding: 1px 4px; font-weight: bold; } </style> </head> <body> <nav id="menuWrapper" class="arrow"> <div class="menu-inner-box"> <ul class="nav"> <li> <a class="menu-item" href="../showroom-nguyen-van-troi" >Hồ Chí Minh</a > </li> <li><a class="menu-item" href="../showroom-ha-noi">Hà Nội</a></li> <li> <a class="menu-item item-hot" href="../showroom-bac-ninh" >Bắc Ninh</a > </li> <li> <a class="menu-item" href="../showroom-da-nang">Đà Nẵng</a> </li> <li> <a class="menu-item" href="../showroom-thu-thiem">Sala</a> </li> <li> <a class="menu-item" href="../showroom-phu-my-hung">Phú Mỹ Hưng</a> </li> <li> <a class="menu-item" href="../showroom-binh-duong-dat-cuoc"> KCN KSB </a> </li> <li> <a class="menu-item" href="../showroom-binh-duong-tan-uyen"> Tân Uyên </a> </li> </ul> </div> </nav> <script src="../assets/js/jquery.min.js"></script> <script src="../bower_components/jquery.scrollbar/jquery.scrollbar.js"></script> <script> const currentURL = window.location.href; var currentShowroom = null; if (currentURL.includes("showroom-nguyen-van-troi")) { currentShowroom = "showroom-nguyen-van-troi"; } else if (currentURL.includes("showroom-ha-noi")) { currentShowroom = "showroom-ha-noi"; } else if (currentURL.includes("showroom-da-nang")) { currentShowroom = "showroom-da-nang"; } else if (currentURL.includes("showroom-phu-my-hung")) { currentShowroom = "showroom-phu-my-hung"; } else if (currentURL.includes("showroom-binh-duong-dat-cuoc")) { currentShowroom = "showroom-binh-duong-dat-cuoc"; } else if (currentURL.includes("showroom-binh-duong-tan-uyen")) { currentShowroom = "showroom-binh-duong-tan-uyen"; } else if (currentURL.includes("showroom-cspace")) { currentShowroom = "showroom-cspace"; } $(document).ready(function () { // setTimeout(function () { // var krpano = document.getElementById("krpanoSWFObject"); // $(window).click(function () { // console.log( // "SCREEN_CLICK!", // krpano.get("view.hlookat"), // krpano.get("view.vlookat"), // krpano.get("view.fov") // ); // }); // }, 3000); $(".ac").click(function () { console.log("click!!!"); }); $("#btn-nav-previous").click(function () { $(".menu-inner-box").animate({ scrollLeft: "-=100px" }); }); $("#btn-nav-next").click(function () { $(".menu-inner-box").animate({ scrollLeft: "+=100px" }); }); //$("#menuWrapper").hide(); $(".item-hot").append("<div class='hot'>New</div>"); $(".menu-item").each(function () { if ($(this).prop("href").includes(currentShowroom)) { $(this).addClass("active"); } else { $(this).removeClass("active"); } }); }); function openPopup(visible) { if (visible === "true") { $("#menuWrapper").show(); } else if (visible === "false") { $("#menuWrapper").hide(); } } </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10