Skip to content
  • Free 24/7 Hot Line
  • (347) 733-1916
  • Book Online
Phoenix Physical Therapy Rehab Logo Phoenix Physical Therapy Rehab Logo
  • HOME
  • ABOUT US
  • SERVICES
    • Telehealth
    • Physical Therapy & Rehabilitation
    • Sports Medicine
    • Medical Kinesio Taping
    • Manual Therapy
    • Spinal Decompression Therapy
    • Pelvic Floor Therapy
    • Joint Pain Treatments
  • LOCATIONS
    • BROOKLYN
    • ROSEDALE
    • DIX HILLS
  • PATIENT EDUCATION
  • REVIEWS
    • ADD A REVIEW
  • CONTACT US
Phoenix Physical Therapy logo
  • HOME
  • ABOUT US
  • SERVICES
    • Telehealth
    • Physical Therapy & Rehabilitation
    • Sports Medicine
    • Medical Kinesio Taping
    • Manual Therapy
    • Spinal Decompression Therapy
    • Pelvic Floor Therapy
    • Joint Pain Treatments
  • LOCATIONS
    • BROOKLYN
    • ROSEDALE
    • DIX HILLS
  • PATIENT EDUCATION
  • REVIEWS
    • ADD A REVIEW
  • CONTACT US
FREE 24/7 HOTLINE
(347) 733-1916
(function () { // ✅ set your services page path here const SERVICES_PATH = "/services"; // If your header is sticky, adjust this offset (px) const HEADER_OFFSET = 100; // e.g. 120 function normalizeHash(hash) { if (!hash) return ""; // remove Avada underscore injection (#_id -> #id) return hash.startsWith("#_") ? ("#" + hash.slice(2)) : hash; } function isServicesPage() { // matches /services and /services/ and subpaths if you ever use them return window.location.pathname.replace(/\/+$/, "") === SERVICES_PATH.replace(/\/+$/, ""); } function smoothScrollToId(id) { const el = document.getElementById(id); if (!el) return false; const rect = el.getBoundingClientRect(); const top = window.pageYOffset + rect.top - HEADER_OFFSET; window.scrollTo({ top, behavior: "smooth" }); return true; } function handleClick(e) { const a = e.target.closest("a"); if (!a) return; const hrefAttr = a.getAttribute("href") || ""; if (!hrefAttr.includes("#")) return; // Build a URL safely (works for relative + absolute) let url; try { url = new URL(a.href, window.location.origin); } catch { return; } const rawHash = url.hash || ""; const cleanHash = normalizeHash(rawHash); if (!cleanHash) return; // Only hijack links that point to the services page (or same-page hashes while on services) const linkPath = url.pathname.replace(/\/+$/, ""); const servicesPath = SERVICES_PATH.replace(/\/+$/, ""); const pointsToServices = linkPath === servicesPath; const samePageHashOnServices = isServicesPage() && (hrefAttr.startsWith("#") || pointsToServices); if (!pointsToServices && !samePageHashOnServices) return; // Prevent Avada (and browser default) from handling it e.preventDefault(); e.stopPropagation(); const targetId = cleanHash.slice(1); // If already on /services, just scroll if (isServicesPage()) { // Force re-trigger even if clicking same hash again history.replaceState(null, "", window.location.pathname + window.location.search); // Try scroll; if element doesn't exist, fallback to setting hash if (!smoothScrollToId(targetId)) { window.location.hash = cleanHash; } return; } // If not on /services, navigate there and scroll after load const dest = SERVICES_PATH + cleanHash; window.location.href = dest; } // Capture phase so we run before theme handlers document.addEventListener("click", handleClick, true); // On page load, if we're on /services with a hash, fix #_ and scroll window.addEventListener("load", function () { if (!isServicesPage()) return; if (!window.location.hash) return; const cleanHash = normalizeHash(window.location.hash); if (cleanHash !== window.location.hash) { history.replaceState(null, "", SERVICES_PATH + cleanHash); } const id = cleanHash.slice(1); if (!id) return; // Slight delay to allow Avada layout scripts to finish setTimeout(function () { smoothScrollToId(id); }, 50); }); })();

Rosedale Location
23520 147th Avenue, Suite 1 Rosedale, NY 11422

Brooklyn Location
7510 4th Ave., Suite 3, Brooklyn, NY 11209

Dix Hills Location
105 Majestic Dr, Dix Hills, NY 11746

Copyright 2026 | Phoenix Physical Therapy Rehabilitarion, PLLC | Sitemap | Designed by MFWD

Page load link
Go to Top