← Back
Editing: LP_Emergency.php
<?php /* Template Name: LP Emergency */ ?> <!doctype html> <html lang="en-US"> <head> <!-- Google Tag Manager --> <script> (function(w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-NTPFH3BQ'); </script> <!-- End Google Tag Manager --> <script src= "https://d3afmc5tg7phyt.cloudfront.net/dni.js"></script> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Emergency Dentist in Towson, MD | Urgent Dental Care</title> <meta name="description" content="Need an emergency dentist in Towson, MD? West Towson Dental provides prompt care for tooth pain, broken teeth, dental injuries and urgent dental problems."> <meta name="robots" content="noindex, follow"><!-- Ads LP: noindex so it doesn't compete with the live site page. Change to "index, follow" only if you want it to rank. --> <link rel="canonical" href="https://www.westtowsondental.com/lp/emergency-dentist/"> <meta property="og:title" content="Emergency Dentist in Towson, MD | Urgent Dental Care"> <meta property="og:description" content="Need an emergency dentist in Towson, MD? West Towson Dental provides prompt care for tooth pain, broken teeth, dental injuries and urgent dental problems."> <meta property="og:type" content="website"> <meta property="og:url" content="https://www.westtowsondental.com/lp/emergency-dentist/"> <meta property="og:image" content="https://www.westtowsondental.com/wp-content/uploads/2025/08/West-Towson-Dental-1200675.jpg"> <link rel="icon" href="https://www.westtowsondental.com/wp-content/uploads/2025/08/West-Towson-Dental-fabicon.jpg"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preload" as="image" href="https://www.westtowsondental.com/wp-content/uploads/2026/09/img-banner-West-Towson-Dental-1.webp" fetchpriority="high"> <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.3.1/css/all.min.css" integrity="sha512-QeR2VH+lsBE5LSAe1Q5EnTBbe7XTBubt8dG93Y7gidSgdMCr8nVqKcfKAMyN96SV8KDbZVTDXChatu5G2KQGzg==" crossorigin="anonymous" referrerpolicy="no-referrer" /> <script> document.documentElement.className += ' js' </script> <style> :root { --ink: #0c2340; --ink2: #40596f; --brand: #0E3E70; --brand-hover: #0070C1; --deep: #0E3E70; --night: #071a30; --pale: #eef4fb; --line: #d9e4f0; --gold: #e8a73a; --disp: "Playfair Display", serif; --sans: "Source Sans 3", sans-serif; --bar: 68px; --r: 16px } *, *::before, *::after { box-sizing: border-box } html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% } body { margin: 0; font: 400 1.0625rem/1.6 var(--sans); color: var(--ink); background: #fff; text-wrap: pretty; -webkit-font-smoothing: antialiased } img { max-width: 100%; height: auto; display: block } a { color: var(--deep) } h1, h2, h3, h4, .mprice b, .plans b { font-variant-numeric: lining-nums } h1, h2, h3, h4 { font-family: var(--disp); font-weight: 400; text-wrap: balance; line-height: 1.15; letter-spacing: 0; margin: 0 0 .5em; color: var(--ink) } h1 { font-size: 4.0625rem } h2 { font-size: 3.4375rem } @media screen and (min-width: 979px) and (max-width: 1199px) { h1 { font-size: 3.4375rem } h2 { font-size: 2.8125rem } } @media screen and (min-width: 767px) and (max-width: 978px) { h1 { font-size: 2.8125rem } h2 { font-size: 2.5rem } } @media screen and (min-width: 480px) and (max-width: 766px) { h1 { font-size: 2.5rem } h2 { font-size: 2.1875rem } } @media screen and (max-width: 479px) { h1 { font-size: 2.25rem } h2 { font-size: 1.875rem } } h3 { font-size: clamp(1.3rem, 2vw, 1.6rem) } p { margin: 0 0 1em } .wrap { width: min(1300px, 100% - 2.5rem); margin-inline: auto } .skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 100 } .skip:focus { left: .5rem; top: .5rem } :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px } .ic { width: 1.4rem; height: 1.4rem; font-size: 1.4rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; flex: none } .stars { display: inline-flex; gap: 2px; color: var(--gold) } .stars .ic { width: 1rem; height: 1rem; font-size: 1rem } .btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.3rem; padding: .8rem 1.7rem; border-radius: 999px; font: 600 1rem/1.1 var(--sans); text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; text-align: center; } .btn .ic { width: 1.1rem; height: 1.1rem; font-size: 1.1rem } .btn-primary { background: var(--brand); color: #fff } .btn-primary:hover { background: var(--brand-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(15, 61, 117, .8) } .btn-ghost { border-color: var(--deep); color: var(--deep); background: transparent } .btn-ghost:hover { background: var(--deep); color: #fff; transform: translateY(-2px) } .btn-light { background: #fff; color: var(--ink) } .btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .6) } .btn-line-light { border-color: rgba(255, 255, 255, .75); color: #fff } .btn-line-light:hover { background: #fff; color: var(--deep); transform: translateY(-2px) } .btn-row { display: flex; flex-wrap: wrap; gap: .8rem } .link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; border-bottom: 2px solid transparent } .link:hover { border-color: currentColor } .link .ic { width: 1rem; height: 1rem; font-size: 1rem } /* header */ .top { background: #fff; position: relative; z-index: 5 } .top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; padding-block: 10px; } .top img { width: 100%; max-width: 190px; height: auto } .top-actions { display: flex; align-items: center; gap: 1.2rem } .top-phone { display: inline-flex; font-weight: 600; text-decoration: none; align-items: center; gap: .5rem; color: var(--deep); border: 2px solid var(--deep); border-radius: 999px; padding: .5rem 1.15rem; min-height: 2.8rem; transition: background-color .18s ease } .top-phone:hover { background: var(--deep); color: #fff } .top-phone .ic { width: 1.1rem; height: 1.1rem; font-size: 1.1rem } .top .btn { min-height: 2.8rem; padding: .5rem 1.3rem } @media(max-width:600px) { /* keep phone button visible, CTA hidden, no header overflow */ .top .wrap { gap: .5rem } .top .wrap>a { min-width: 0 } .top img { max-width: 130px } .top-phone { display: inline-flex; white-space: nowrap; gap: .35rem; padding: .45rem .8rem; font-size: .9rem } .top .btn { display: none } } /* hero: video + headline + CTAs only, review as a slim line */ .hero { position: relative; isolation: isolate; color: #fff; display: flex; flex-direction: column; min-height: min(84vh, 680px); background-image: url('https://www.westtowsondental.com/wp-content/uploads/2026/10/img-emergency-dentist-towson-banner.webp') !important; } .hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--night) } .hero-bg img, .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover } .hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 26, 48, .55) 0%, rgba(7, 26, 48, .78) 100%) } .hero-bg.novideo video { display: none } .hero-main { flex: 1; display: flex; align-items: center; padding: clamp(3rem, 8vw, 6rem) 0 } .hero h1 { color: #fff; max-width: 15ch; margin-bottom: .35em } .hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #dbe9f6; max-width: 37rem; margin-bottom: 1.8rem } .hero .btn-primary { background: #fff; color: var(--ink) } .hero .btn-primary:hover { background: var(--pale) } .hero .btn-ghost { border-color: rgba(255, 255, 255, .75); color: #fff } .hero .btn-ghost:hover { background: rgba(255, 255, 255, .14) } .hero-foot { border-top: 1px solid rgba(255, 255, 255, .22); background: rgba(7, 26, 48, .5); backdrop-filter: blur(6px) } .hero-foot .wrap { display: flex; flex-wrap: wrap; gap: .7rem 2.4rem; justify-content: space-between; align-items: center; padding: 1rem 0 } .hero-rev { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; font-size: .98rem } .hero-rev blockquote { margin: 0; color: #fff } .hero-rev figcaption { color: #b9d3ea; font-size: .92rem } .hero-info { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; font-size: .92rem; color: #dbe9f6 } .hero-info span { display: inline-flex; align-items: center; gap: .4rem } .hero-info .ic { width: 1rem; height: 1rem; font-size: 1rem; color: #9fd0f5 } .js .hero .in1, .js .hero .in2, .js .hero .in3 { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards } .js .hero .in2 { animation-delay: .1s } .js .hero .in3 { animation-delay: .2s } @keyframes rise { to { opacity: 1; transform: none } } /* hero v2: framed video with floating badges */ .hero2 { position: relative; isolation: isolate; overflow: hidden; background: #fff; padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); background: url('https://www.westtowsondental.com/wp-content/uploads/2026/10/img-emergency-dentist-towson-banner.webp') !important; background-repeat: no-repeat !important; background-size: cover !important; } .h2-bg { position: absolute; inset: 0; z-index: -1 } .h2-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(22px) saturate(.9); transform: scale(1.15); opacity: .5 } .h2-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover } .h2-bg.novideo video { display: none } .h2-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .95) 20%, rgba(255, 255, 255, .82) 60%, rgba(255, 255, 255, .7) 100%) } .h2-grid { display: grid; gap: 3rem; align-items: center } @media(min-width:900px) { .h2-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem } } .hero2 h1 { max-width: 15ch; margin-bottom: .35em } .hero2 .lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--ink2); max-width: 34rem; margin-bottom: 1.8rem } .h2-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; margin: 1.6rem 0 0; font-size: .94rem; color: var(--ink2) } .h2-meta span { display: inline-flex; align-items: center; gap: .4rem } .h2-meta .ic { width: 1.05rem; height: 1.05rem; font-size: 1.05rem; color: var(--brand) } .h2-media { position: relative; padding: 0 0 1.5rem } .frame { position: relative; aspect-ratio: 4/4.6; border-radius: 22px; overflow: hidden; background: var(--night); box-shadow: 0 40px 70px -40px rgba(12, 35, 64, .65) } .frame img, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover } .frame.novideo video { display: none } .hb { position: absolute; z-index: 2; display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: 16px; padding: .7rem 1.1rem .7rem .7rem; box-shadow: 0 20px 40px -22px rgba(12, 35, 64, .55); max-width: 17rem } .hb strong { display: block; font-size: 1rem; line-height: 1.2; color: var(--ink) } .hb span:not(.hbi) { display: block; font-size: .84rem; line-height: 1.3; color: var(--ink2) } .hbi { width: 2.8rem; height: 2.8rem; border-radius: 12px; background: var(--pale); color: var(--deep); display: grid; place-items: center; flex: none } .hb .ic { width: 1.35rem; height: 1.35rem; font-size: 1.35rem } .hb1 .ic { color: var(--gold) } .hb1 { top: 3%; left: -2.2rem } .hb2 { top: 46%; right: -1.6rem } .hb3 { bottom: 0; left: -1.4rem } @media(max-width:899px) { .hb1 { left: .7rem } .hb2 { right: .7rem } .hb3 { left: .7rem } .hb { padding: .55rem .9rem .55rem .55rem; max-width: 14.5rem } .hbi { width: 2.4rem; height: 2.4rem } } @media(max-width:899px) { .h2-bg::after { background: rgba(255, 255, 255, .88) } } .js .hero2 .in1, .js .hero2 .in2, .js .hero2 .in3 { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards } .js .hero2 .in2 { animation-delay: .1s } .js .hero2 .in3 { animation-delay: .2s } @media(prefers-reduced-motion:reduce) { .js .hero2 .in1, .js .hero2 .in2, .js .hero2 .in3 { opacity: 1 !important; transform: none !important } } /* mobile hardening */ body { overflow-x: clip } .chips a { display: inline-flex; align-items: center; min-height: 2.75rem } summary { min-height: 3rem } @media(max-width:899px) { .frame { aspect-ratio: 4/3.5 } .h2-media { padding-bottom: 1.2rem } } @media(max-width:520px) { .wrap { width: min(1160px, 100% - 2rem) } section { padding: 2.8rem 0 } .top .wrap { min-height: 64px } .top .btn { padding: .5rem 1rem; font-size: .92rem; min-height: 2.6rem } .h2-text .btn-row .btn, .final .btn-row .btn, .gal2-cta .btn, .svc-cta .btn { flex: 1 1 100%; width: 100% } .hero2 { padding-top: 1.6rem } .hero2 .lede { margin-bottom: 1.4rem } .hb strong { font-size: .92rem } .hb span:not(.hbi) { font-size: .78rem } .hb { max-width: 13rem } .trust li { font-size: .9rem } .mprice b { font-size: 2.5rem } .rc { padding: 1.4rem } .doctor .dphoto img { max-height: 260px } .visit iframe { height: 190px } } @media(max-width:360px) { .hb2 { display: none } } /* trust strip */ .trust { background: var(--deep); color: #fff } .trust ul { list-style: none; margin: 0; padding: 1rem 0; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between } .trust li { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .96rem } .trust .ic { color: #9fd0f5; width: 1.15rem; height: 1.15rem; font-size: 1.15rem } @media(max-width:899px) { .trust ul { display: grid; grid-template-columns: 1fr 1fr } } section { padding: clamp(3.2rem, 6.5vw, 5.5rem) 0 } .sec-head { max-width: 46rem; margin: 0 auto 2.6rem; text-align: center } .sec-head .lead { margin-inline: auto } .sec-head>:last-child { margin-bottom: 0 } /* one alternating rhythm for every section */ main>section:nth-of-type(odd) { background: #fff } main>section:nth-of-type(even) { background: var(--pale) } main>section.hero { background: var(--night) } main>section.final { background: var(--brand) } #faq { background: var(--night) } #faq h2 { color: #fff } .faq-list { max-width: 52rem; margin: 0 auto } #faq details { border-color: rgba(255, 255, 255, .2) } #faq summary { color: #fff } #faq summary::after { border-color: #9fd0f5 } #faq .ans { color: #c3d8ec } #faq .ans a { color: #9fd0f5 } .pay-sub { margin-top: 3.6rem; padding-top: 3rem; border-top: 1px solid var(--line) } .pay-sub .sec-head { margin-bottom: 1.8rem } .pay-sub h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--deep); display: inline; padding: 0 .25em; background: linear-gradient(transparent 60%, #bcd8f4 60%); -webkit-box-decoration-break: clone; box-decoration-break: clone } .pay-sub .btn-primary { padding: .9rem 2rem; box-shadow: 0 14px 26px -16px rgba(15, 61, 117, .8) } .payrows { display: grid; gap: 1.4rem } @media(min-width:800px) { .payrows { grid-template-columns: repeat(3, 1fr); gap: 2rem } } .pay-card { border-top: 2px solid var(--ink); padding-top: 1rem; display: grid; gap: .3rem } .pay-card strong { font-size: 1.1rem } .pay-card span { color: var(--ink2) } .treat-img { margin: 0; align-self: stretch } .treat-img img { width: 100%; height: 100%; min-height: 320px; max-height: 560px; object-fit: cover; border-radius: var(--r) } .under { text-align: center } .note { max-width: 52rem; margin-inline: auto; background: #fff; border: 1px solid var(--line) } .filters { justify-content: center } .rv { opacity: 1 } .js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1) } .js .rv.in { opacity: 1; transform: none } .lead { font-size: 1.2rem; color: var(--ink2); max-width: 40rem } /* split: photo + why */ .split { display: grid; gap: 2.4rem; align-items: center } @media(min-width:900px) { .split { grid-template-columns: .8fr 1.2fr; gap: 5rem } } .dphoto { margin: 0 } .dphoto img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: var(--r) } .dphoto figcaption { margin-top: .7rem; font-size: .95rem; color: var(--ink2) } .pts { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 1.1rem } .pts li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding-top: 1.1rem; border-top: 1px solid var(--line) } .pts .ic { color: var(--brand); margin-top: .15rem } .pts strong { display: block; font-size: 1.06rem } .pts span { color: var(--ink2); font-size: .98rem } .meet h3 { margin: .4rem 0 .3em } .meet p { color: var(--ink2); font-size: .98rem } .why-head { max-width: 44rem } .pts4 { grid-template-columns: 1fr; gap: 1.1rem 3rem } @media(min-width:760px) { .pts4 { grid-template-columns: 1fr 1fr } } @media(min-width:1040px) { .pts4 { grid-template-columns: repeat(4, 1fr); gap: 1.6rem } } .doctor { background: var(--pale) } .facts { margin: 1.6rem 0 1.8rem; display: grid } .facts>div { display: grid; gap: .1rem; padding: .9rem 0; border-top: 1px solid var(--line) } @media(min-width:600px) { .facts>div { grid-template-columns: 9rem 1fr; gap: 1rem } } .facts dt { font-weight: 600; color: var(--ink2); font-size: .95rem } .facts dd { margin: 0 } .doctor { padding: clamp(2.4rem, 5vw, 3.6rem) 0 } .doctor .split { align-items: center } @media(min-width:900px) { .doctor .split { grid-template-columns: .55fr 1.45fr; gap: 3.5rem } } .doctor .dphoto img { aspect-ratio: 1/1; max-height: 340px; width: 100% } .doctor h2 { margin-bottom: .3em } .doctor .lead { font-size: 1.05rem; margin-bottom: 0 } .doctor .facts { margin: 1.1rem 0 1.3rem } .doctor .facts>div { padding: .65rem 0 } /* services as an index, not cards */ .svc { background: var(--pale) } .cols { display: grid; gap: 2.2rem; margin-top: 2.4rem } @media(min-width:900px) { .cols { grid-template-columns: 1.3fr 1fr 1fr; gap: 3.4rem } } .cols h3 { font-size: 1.5rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); margin-bottom: .2rem } .cols ul { list-style: none; margin: 0; padding: 0 } .cols li { border-bottom: 1px solid var(--line) } .cols a { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .85rem 0; text-decoration: none; color: var(--ink); transition: color .15s ease, padding .15s ease } .cols a:hover { color: var(--brand); padding-left: .4rem } .cols b { font-weight: 600 } .cols small { color: var(--ink2); font-size: .9rem; text-align: right } .cols .big b { font-size: 1.2rem } .svc-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center } .svc-cta p { margin: 0; color: var(--ink2) } .svc-head { max-width: 44rem; text-align: center; margin: 0 auto 2.6rem } .svc-head .lead { margin-inline: auto } .svcards { display: grid; gap: 1.4rem } @media(min-width:620px) { .svcards { grid-template-columns: repeat(2, 1fr) } } @media(min-width:960px) { .svcards { grid-template-columns: repeat(6, 1fr) } .scard { grid-column: span 2 } .scard:nth-child(4) { grid-column: 2/4 } .scard:nth-child(5) { grid-column: 4/6 } } .scard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease } .scard:hover { border-color: var(--brand); transform: translateY(-4px) } .simg { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--pale) } .simg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease } .scard:hover .simg img { transform: scale(1.05) } .sbody { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; text-align: center; align-items: center } .sbody h3 { margin: 0; font-size: 1.55rem } .sbody h3 a { color: var(--brand); text-decoration: none } .sbody p { margin: 0; font-size: .98rem; color: var(--ink2); flex: 1 } .svc .chips { margin-top: 2rem } .svc .svc-cta { justify-content: center; text-align: center } .gal2 { background: var(--pale) } .gal2-head { max-width: 44rem; text-align: center; margin: 0 auto 2.6rem } .gal2-head .lead { margin-inline: auto } .gcards { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: .2rem .2rem 1.4rem; scrollbar-width: thin } .gcards>* { flex: 0 0 88%; scroll-snap-align: center } @media(min-width:900px) { .gcards { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 2rem; padding: .2rem 0 1rem } .gcards>* { flex: none } } .gfig { margin: 0 } .gcard { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 100%; aspect-ratio: 2/1.05; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 22px 40px -26px rgba(12, 35, 64, .6); cursor: zoom-in; transition: transform .25s ease, box-shadow .25s ease } .gcard:hover { transform: translateY(-4px); box-shadow: 0 30px 46px -26px rgba(12, 35, 64, .7) } .gh { position: relative; display: block; overflow: hidden } .gh img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease } .gcard:hover .gh img { transform: scale(1.04) } .gh b { position: absolute; left: .75rem; bottom: .75rem; background: rgba(12, 35, 64, .92); color: #fff; font: 700 .76rem var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 6px } .gfig figcaption { margin-top: .9rem; text-align: center; display: grid; gap: .1rem } .gfig figcaption strong { font-size: 1rem } .gfig figcaption span { color: var(--ink2); font-size: .93rem } .gal2-hint { text-align: center; color: var(--ink2); font-size: .9rem; margin: .4rem 0 1.6rem } .gal2-cta { justify-content: center } .chips-wrap { overflow: hidden; margin: 2rem 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent) } .chips-wrap .chips { margin: 0; padding: .2rem .5rem .8rem 0; overflow: visible; width: max-content } .chips-wrap .chips li:first-child { margin-left: 0 } .chips-wrap .chips li:last-child { margin-right: 0 } .chips.marquee { animation: chipscroll var(--dur, 40s) linear infinite } .chips-wrap:hover .chips.marquee, .chips-wrap:focus-within .chips.marquee { animation-play-state: paused } @keyframes chipscroll { to { transform: translateX(-50%) } } /* gallery: the memorable moment */ .gal { background: var(--night); color: #fff } .gal h2 { color: #fff } .gal .lead { color: #c3d8ec } .track { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: .4rem 0 1rem; scrollbar-width: thin; margin-top: 2rem } .track>* { scroll-snap-align: start; flex: 0 0 min(92%, 640px) } .car-ctrl { display: flex; gap: .6rem; align-items: center; margin-top: .4rem } .car-btn { width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .15s ease, color .15s ease } .car-btn:hover { background: #fff; color: var(--ink) } .car-btn .ic { width: 1.2rem; height: 1.2rem; font-size: 1.2rem } .car-hint { font-size: .9rem; color: #b9d3ea; margin-left: .4rem } .case { display: flex; flex-direction: column; gap: .9rem } .ba { position: relative; aspect-ratio: 4/3; background: #10294a; overflow: hidden; --pos: 50%; border-radius: var(--r); user-select: none; -webkit-user-select: none } .ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover } .ba .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0) } .ba-tag { position: absolute; top: .8rem; padding: .25rem .75rem; border-radius: 999px; background: rgba(7, 26, 48, .85); color: #fff; font-size: .82rem; font-weight: 600; z-index: 2 } .ba-tag.l { left: .8rem } .ba-tag.r { right: .8rem } .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none } .ba-handle { position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: var(--deep); border: 0; z-index: 3; display: grid; place-items: center; cursor: ew-resize; touch-action: none; padding: 0 } .ba-handle svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round } .case-body { display: flex; flex-direction: column; gap: .3rem } .case-cat { font-size: .88rem; font-weight: 600; color: #9fd0f5 } .case h3 { font-size: 1.45rem; margin: 0; color: #fff } .case p { margin: 0; font-size: .95rem; color: #c3d8ec } .case-actions { margin-top: .3rem } .btn-sm { background: none; border: 0; color: #fff; font: 600 .95rem var(--sans); cursor: pointer; display: inline-flex; gap: .4rem; align-items: center; padding: .3rem 0; text-decoration: underline; text-underline-offset: 4px } .btn-sm .ic { width: 1.1rem; height: 1.1rem; font-size: 1.1rem } .gal-cta { margin-top: 2rem } dialog.lb { border: 0; padding: 0; border-radius: var(--r); width: min(1100px, 94vw); max-height: 92vh; overflow: auto; background: #fff; color: var(--ink) } dialog.lb::backdrop { background: rgba(7, 22, 38, .8) } .lb-in { padding: 1.2rem 1.2rem 1.6rem } .lb-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem } .lb-top h3 { margin: 0 } .lb-x { border: 0; background: var(--pale); color: var(--deep); width: 2.8rem; height: 2.8rem; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none } .lb-pair { display: grid; gap: .8rem } @media(min-width:700px) { .lb-pair { grid-template-columns: 1fr 1fr } } .lb-pair figure { margin: 0 } .lb-pair img { width: 100%; border-radius: 12px } .lb-pair figcaption { font-weight: 600; margin-top: .4rem; font-size: .95rem } /* reviews: three, no carousel needed */ .revs { display: grid; gap: 1.2rem; margin-top: 2rem } @media(min-width:900px) { .revs { grid-template-columns: repeat(3, 1fr) } } .rev { margin: 0; padding: 1.6rem 0 0; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: .8rem } .rev blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6 } .rev cite { font-style: normal; font-weight: 600; margin-top: auto } /* membership + payment */ .band { background: var(--pale) } .two { display: grid; gap: 3rem } @media(min-width:900px) { .two { grid-template-columns: 1fr 1fr; gap: 5rem } } .ticks { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .7rem } .ticks li { display: grid; grid-template-columns: auto 1fr; gap: .7rem } .ticks .ic { color: var(--brand); margin-top: .2rem } .xplans { list-style: none; margin: 1.6rem 0 1rem; padding: 0; border-top: 2px solid var(--ink) } .plans li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink2) } .plans strong { display: block; color: var(--ink); font-size: 1.08rem } .plans b { font: 500 1.8rem/1 var(--disp); color: var(--ink) } .plans small { font: 400 .95rem var(--sans); color: var(--ink2) } .incl { color: var(--ink2); font-size: .98rem; margin: 0 0 1.4rem } .fine { font-size: .88rem; color: var(--ink2); margin: 20px 0 0 } .pay-row { padding: 1rem 0; border-top: 1px solid var(--line); display: grid; gap: .15rem } .pay-row:last-of-type { border-bottom: 1px solid var(--line) } .pay-row strong { font-size: 1.05rem } .pay-row span { color: var(--ink2); font-size: .98rem } .mem-head { max-width: 42rem } .mplans { display: grid; gap: 1.2rem; margin-top: 2.2rem } @media(min-width:900px) { .mplans { grid-template-columns: repeat(3, 1fr) } } .mplan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem 1.6rem; display: flex; flex-direction: column } .mplan h3 { margin: 0; font-size: 1.6rem } .mplan .ages { margin: .1rem 0 1rem; color: var(--ink2); font-size: .95rem } .mprice { margin: 0; display: flex; align-items: baseline; gap: .5rem } .mprice b { font: 500 2.8rem/1 var(--disp); color: var(--ink) } .mprice span { color: var(--ink2) } .myr { margin: .2rem 0 1rem; color: var(--ink2); font-size: .95rem } .msave { margin: 0 0 1.2rem; padding: .55rem .8rem; background: var(--pale); border-radius: 10px; font-weight: 600; color: var(--deep); font-size: .97rem } .minc { margin: 0 0 .5rem; font-weight: 600; font-size: .95rem } .mplan ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; flex: 1 } .mplan li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; font-size: .98rem } .mplan li .ic { width: 1.1rem; height: 1.1rem; font-size: 1.1rem; color: var(--brand); margin-top: .28rem } .mplus { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink2) } /* faq */ .faq-grid { display: grid; gap: 1.6rem } @media(min-width:900px) { .faq-grid { grid-template-columns: .7fr 1.3fr; gap: 5rem } } details { border-bottom: 1px solid var(--line) } details:first-of-type { border-top: 1px solid var(--line) } summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; font-size: 1.06rem; position: relative } summary::-webkit-details-marker { display: none } summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .65rem; height: .65rem; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease } details[open] summary::after { transform: translateY(-30%) rotate(-135deg) } .ans { padding: 0 0 1.2rem; color: var(--ink2) } .ans p { margin: 0 } /* final */ .final { color: #fff } .final .wrap { text-align: center } .final .btn-row { justify-content: center } .final h2 { color: #fff } .final p.lead { color: #fff; opacity: .92 } .visit { background: #fff; color: var(--ink); border-radius: var(--r); overflow: hidden; max-width: 58rem; margin: 2.6rem auto 0; text-align: left } @media(min-width:800px) { .visit { display: grid; grid-template-columns: 1fr 1fr } .visit iframe { height: 100%; min-height: 270px } } .visit iframe { width: 100%; height: 210px; border: 0; display: block } .visit-in { padding: 1.3rem 1.5rem 1.5rem; display: grid; gap: .8rem } .visit-in p { color: var(--ink); font-size: 1rem; margin: 0 } .visit-in .row { display: flex; gap: .7rem; align-items: flex-start } .visit-in .ic { color: var(--brand); margin-top: .2rem } .visit-in a { color: var(--deep); font-weight: 600 } .hours { margin: 0; padding: 0; list-style: none; font-size: .98rem } .hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 18rem } footer { background: var(--night); color: #a9c1d8; padding: 1.8rem 0 calc(1.8rem + var(--bar)); font-size: .9rem } footer a { color: #d6e6f5 } footer .wrap { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between } /* emergency */ .sym { display: grid; gap: 0 3rem; margin-top: 2.2rem } @media(min-width:760px) { .sym { grid-template-columns: 1fr 1fr } } .sym li { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding: 1.1rem 0; border-top: 1px solid var(--line) } .sym .ic { color: var(--brand); margin-top: .15rem } .sym strong { display: block; font-size: 1.08rem } .sym span { color: var(--ink2); font-size: .97rem } .sym { padding: 0; margin-bottom: 0 } .note { margin: 1.8rem 0 0; padding: 1.1rem 1.3rem; background: var(--pale); border-radius: 12px; font-size: .96rem; color: var(--ink2); margin-inline: auto; } .treat { display: grid; gap: 2.4rem; align-items: start; margin-top: 2.2rem } @media(min-width:900px) { .treat { grid-template-columns: 1.1fr .9fr; gap: 4.5rem } } .trow { padding: 1rem 0; border-top: 1px solid var(--line); display: grid; gap: .15rem } .trow:last-child { border-bottom: 1px solid var(--line) } .trow strong { font-size: 1.06rem } .trow span { color: var(--ink2); font-size: .97rem } .rc { background: var(--deep); color: #fff; border-radius: var(--r); padding: 2rem } .rc h2 { color: #fff } .rc p { color: #d6e6f5 } .under { margin-top: 3rem } .under h3 { margin-bottom: .4em } .chips { display: flex; flex-wrap: nowrap; gap: .5rem; padding: .2rem 0 .8rem; margin: 1rem 0 0; list-style: none; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; overscroll-behavior-x: contain } .chips li { flex: none } .chips li:first-child { margin-left: auto } .chips li:last-child { margin-right: auto } .chips a { white-space: nowrap; display: inline-block; padding: .5rem 1rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); transition: border-color .2s ease, background-color .2s ease } .chips a:hover { border-color: var(--brand); background: var(--pale) } .bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(12, 35, 64, .5) } .bar .btn { min-height: 3.4rem; font-size: 1.05rem } @media(min-width:900px) { .bar { display: none } footer { padding-bottom: 1.8rem } } @media(max-width:899px) { body { padding-bottom: var(--bar) } .hero-info { display: none } } button { font-family: inherit } /* classes replacing former inline styles */ .sym-cta { margin-top: 1.8rem; justify-content: center } .btn-row-center { margin-top: 2rem; justify-content: center } .mem-fine { text-align: center; max-width: 44rem; margin-inline: auto } .rev-more { margin-top: 1.6rem; text-align: center } .lb-desc { margin: 1rem 0 0; color: var(--ink-2) } @media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto } *, *::before, *::after { animation: none !important; transition: none !important } .js .rv, .js .hero .in1, .js .hero .in2, .js .hero .in3 { opacity: 1 !important; transform: none !important } } @media (max-width: 500px) { .trust ul { display: grid; grid-template-columns: 1fr; } .gcards { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: .2rem .2rem 1.4rem; scrollbar-width: thin; flex-direction: column; } } </style> <script type="application/ld+json"> [{ "@context": "https://schema.org", "@type": "Dentist", "name": "West Towson Dental", "url": "https://www.westtowsondental.com/", "telephone": "+1-410-337-8909", "image": "https://www.westtowsondental.com/wp-content/uploads/2025/08/West-Towson-Dental-1200675.jpg", "logo": "https://www.westtowsondental.com/wp-content/uploads/2025/08/west-towson-dental-logo.png", "address": { "@type": "PostalAddress", "streetAddress": "8320 Bellona Ave, Suite 110", "addressLocality": "Towson", "addressRegion": "MD", "postalCode": "21204", "addressCountry": "US" }, "geo": { "@type": "GeoCoordinates", "latitude": 39.414016, "longitude": -76.633515 }, "openingHoursSpecification": [{ "@type": "OpeningHoursSpecification", "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday"], "opens": "08:00", "closes": "17:00" }, { "@type": "OpeningHoursSpecification", "dayOfWeek": "Friday", "opens": "09:00", "closes": "12:00" }], "areaServed": "Towson, MD", "employee": { "@type": "Person", "name": "Dr. Michael W. Whitecar", "jobTitle": "Dentist", "honorificSuffix": "D.D.S." } }, { "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "Does West Towson Dental accept dental emergencies?", "acceptedAnswer": { "@type": "Answer", "text": "Yes. Emergency appointments are welcome. Call (410) 337-8909 as soon as possible. We’re open Mon–Thu 8 am–5 pm and Fri 9 am–12 pm." } }, { "@type": "Question", "name": "What should I do if I have severe tooth pain?", "acceptedAnswer": { "@type": "Answer", "text": "Call us for guidance. Meanwhile, rinse with warm water and use a cold compress. If you have trouble breathing or swallowing, or swelling is spreading, seek emergency medical care." } }, { "@type": "Question", "name": "Can West Towson Dental treat a broken tooth?", "acceptedAnswer": { "@type": "Answer", "text": "Often, yes. The right treatment depends on the break, so you’ll need an exam first." } }, { "@type": "Question", "name": "Do you provide root canals and extractions?", "acceptedAnswer": { "@type": "Answer", "text": "Yes. Dr. Whitecar is trained in root canal therapy and oral surgery and provides both in our office where clinically appropriate." } }, { "@type": "Question", "name": "Where is West Towson Dental located?", "acceptedAnswer": { "@type": "Answer", "text": "8320 Bellona Ave #110, Towson, MD 21204, near Kenilworth Drive and accessible from 139 and 695." } }, { "@type": "Question", "name": "How do I request an emergency appointment?", "acceptedAnswer": { "@type": "Answer", "text": "Call or text (410) 337-8909, or use the online booking button. Calling is fastest." } }] }] </script> </head> <body class="emg"> <?php $phone_link = do_shortcode('[sc name="lp-phone-link"][/sc]'); $phone_text = do_shortcode('[sc name="lp-phone-text"][/sc]'); $cta_link = do_shortcode('[sc name="lp-cta-link-two"][/sc]'); // Use target blank and other security attributes while use it $cta_text = do_shortcode('[sc name="lp-cta-text"][/sc]'); // Use when see 'Book Online' $practice = do_shortcode('[sc name="practice-name"][/sc]'); $city = do_shortcode('[sc name="city"][/sc]'); $state = do_shortcode('[sc name="state"][/sc]'); $location = do_shortcode('[sc name="location-name"][/sc]'); $address_text = do_shortcode('[sc name="address"][/sc]'); $address_link = do_shortcode('[sc name="address_link"][/sc]'); // please use if you use address anywhere $Dr_Michael_W_Whitecar = do_shortcode('[sc name="doctor-name-1"][/sc]'); $Dr_Whitecar = do_shortcode('[sc name="doctor-name-1-short"][/sc]'); ?> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NTPFH3BQ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <a class="skip" href="#main">Skip to content</a> <header class="top"> <div class="wrap"> <div> <img src="https://www.westtowsondental.com/wp-content/uploads/2025/08/west-towson-dental-logo.png" alt="West Towson Dental logo"> </div> <div class="top-actions"><a class="top-phone" href="<?php echo esc_url($phone_link); ?>"><i class="ic fas fa-phone" aria-hidden="true"></i><?php echo esc_html($phone_text); ?></a><a class="btn btn-primary" href="<?php echo esc_url($cta_link); ?>" target="_blank" rel="noopener noreferrer"><?php echo esc_html($cta_text); ?></a></div> </div> </header> <main id="main"> <section class="hero2"> <div class="h2-bg" aria-hidden="true"> </div> <div class="wrap h2-grid"> <div class="h2-text"> <h1 class="in1">Emergency Dentist in <?php echo esc_html($location); ?></h1> <p class="lede in2">Tooth pain, a broken tooth or another urgent dental problem? <?php echo esc_html($practice); ?> welcomes emergency appointments and provides comprehensive dental care in one convenient Towson office.</p> <div class="btn-row in3"><a class="btn btn-primary" href="<?php echo esc_url($cta_link); ?>" target="_blank" rel="noopener noreferrer"><i class="ic fas fa-calendar-check" aria-hidden="true"></i><?php echo esc_html($cta_text); ?></a><a class="btn btn-ghost" href="<?php echo esc_url($phone_link); ?>"><i class="ic fas fa-phone" aria-hidden="true"></i>Call <?php echo esc_html($phone_text); ?></a></div> <p class="h2-meta in3"><span><i class="ic fas fa-location-dot" aria-hidden="true"></i><?php echo esc_html($address_text); ?></span><span><i class="ic fas fa-clock" aria-hidden="true"></i>Call Mon–Thu 8–5 · Fri 9–12</span></p> </div> <div class="h2-media in2"> <div class="frame"> <img src="https://www.westtowsondental.com/wp-content/uploads/2026/10/img-emergency-dentist-banner.webp" alt="West Towson Dental office at 8320 Bellona Ave, a dentist in Towson, MD" fetchpriority="high" decoding="async" width="900" height="1100"> </div> <div class="hb hb1"><span class="hbi"><i class="ic fas fa-plus" aria-hidden="true"></i></span> <div><strong>Emergency appointments</strong><span>Welcome, call us ASAP</span></div> </div> <div class="hb hb2"><span class="hbi"><i class="ic fas fa-star" aria-hidden="true"></i></span> <div><strong>Real Google reviews</strong><span>From <?php echo esc_html($practice); ?> patients</span></div> </div> <div class="hb hb3"><span class="hbi"><i class="ic fas fa-tooth" aria-hidden="true"></i></span> <div><strong>Root canals and oral surgery</strong><span><?php echo esc_html($Dr_Whitecar); ?> is trained in both</span></div> </div> </div> </div> </section> <div class="trust"> <div class="wrap"> <ul> <li><i class="ic fas fa-calendar-check" aria-hidden="true"></i>Same-Day Appointments</li> <li><i class="ic fas fa-check" aria-hidden="true"></i> Experienced Dentist</li> <li><img class="ic ic-img" src="https://www.westtowsondental.com/wp-content/uploads/2026/10/icon-comprehensive-care.svg" alt="" aria-hidden="true" width="32" height="32" loading="lazy">Comprehensive Care</li> <li><img class="ic ic-img" src="https://www.westtowsondental.com/wp-content/uploads/2026/10/icon-advanced-technology.svg" alt="" aria-hidden="true" width="32" height="32" loading="lazy">Advanced Technology</li> <li><i class="ic fas fa-file-lines" aria-hidden="true"></i>Clear Treatment Options</li> </ul> </div> </div> <section id="symptoms" aria-labelledby="sym-h"> <div class="wrap"> <div class="sec-head"> <h2 id="sym-h">Do You Need Emergency Dental Care?</h2> <p class="lead">If you recognize any of these, don’t wait to see whether it improves. An exam can tell you what’s going on and what to do next.</p> </div> <ul class="sym rv"> <li><img class="ic ic-img" src="https://www.westtowsondental.com/wp-content/uploads/2026/10/icon-Severe-tooth-pain.svg" alt="Tooth with pain lines icon" width="40" height="40" loading="lazy"> <div><strong>Severe tooth pain</strong><span>Intense or constant pain deserves a prompt exam.</span></div> </li> <li><img class="ic ic-img" src="https://www.westtowsondental.com/wp-content/uploads/2026/10/icon-Broken-or-cracked-tooth.svg" alt="Cracked tooth icon" width="40" height="40" loading="lazy"> <div><strong>Broken or cracked tooth</strong><span>Cracks aren’t always visible. How deep they go shapes your options.</span></div> </li> <li><img class="ic ic-img" src="https://www.westtowsondental.com/wp-content/uploads/2026/10/icon-Dental-injury.svg" alt="Injured tooth with impact crack icon" width="40" height="40" loading="lazy"> <div><strong>Dental injury</strong><span>A blow to the mouth can loosen, chip or knock out a tooth.</span></div> </li> <li><img class="ic ic-img" src="https://www.westtowsondental.com/wp-content/uploads/2026/10/iconInfection-abscess-or-swelling.svg" alt="Infected tooth with bacteria icon" width="40" height="40" loading="lazy"> <div><strong>Infection, abscess or swelling</strong><span>Needs prompt evaluation. Swelling that affects breathing or swallowing is a medical emergency.</span></div> </li> <li><img class="ic ic-img" src="https://www.westtowsondental.com/wp-content/uploads/2026/10/icon-Lost-crown-or-filling.svg" alt="Tooth with missing crown or filling icon" width="40" height="40" loading="lazy"> <div><strong>Lost crown or filling</strong><span>Keep the crown and call us. The exposed tooth can be sensitive.</span></div> </li> <li><img class="ic ic-img" src="https://www.westtowsondental.com/wp-content/uploads/2026/10/icon-Wisdom-tooth-pain.svg" alt="Wisdom tooth pain at the back of the gum icon" width="40" height="40" loading="lazy"> <div><strong>Wisdom tooth pain</strong><span>Pain or pressure at the back of the mouth can have several causes.</span></div> </li> </ul> <p class="note"><strong>While you wait to be seen:</strong> rinse with warm water, use a cold compress, keep a lost crown safe, and avoid fixing the problem yourself. If you have trouble breathing or swallowing, uncontrolled bleeding or spreading facial or neck swelling, seek emergency medical care right away.</p> <div class="btn-row sym-cta"><a class="btn btn-primary" href="<?php echo esc_url($cta_link); ?>" target="_blank" rel="noopener noreferrer"><?php echo esc_html($cta_text); ?></a><a class="btn btn-ghost" href="<?php echo esc_url($phone_link); ?>">Call <?php echo esc_html($phone_text); ?></a></div> </div> </section> <section class="svc" id="treatments" aria-labelledby="tr-h"> <div class="wrap"> <div class="sec-head"> <h2 id="tr-h">Emergency Dental Treatments in <?php echo esc_html($city); ?></h2> <p class="lead">What we recommend depends on your exam. Not every treatment can be completed during the emergency visit, and we explain each step first.</p> </div> <div class="treat"> <div class="rv"> <div class="trow"><strong>Emergency dental exam</strong><span>Find the cause with digital X-rays and a hi-res camera.</span></div> <div class="trow"><strong>Root canal therapy</strong><span>Treat an infected or damaged tooth to relieve pain and keep the tooth.</span></div> <div class="trow"><strong>Tooth extraction</strong><span>When a tooth can’t be saved.</span></div> <div class="trow"><strong>Crowns, including CEREC®</strong><span>Rebuild and protect a broken or heavily damaged tooth.</span></div> <div class="trow"><strong>Broken tooth and abscess evaluation</strong><span>We assess the damage or infection and explain your options.</span></div> <div class="trow"><strong>Restorative dentistry and implants</strong><span>Fillings, restorations and, where clinically appropriate, implants.</span></div> </div> <figure class="treat-img rv"><img src="https://www.westtowsondental.com/wp-content/uploads/2025/08/img-emergency-dental-care.webp" alt="Emergency dentist care at West Towson Dental in Towson, MD" loading="lazy" decoding="async" width="800" height="900"></figure> </div> </div> </section> <section class="gal2" id="gallery" aria-labelledby="gal-h"> <div class="wrap"> <div class="sec-head gal2-head"> <h2 id="gal-h">Your Emergency Can Be the First Step Toward a Healthier Smile</h2> <p class="lead">Real treatment results from our practice, all under one roof.</p> </div> <div class="gcards rv"> <figure class="gfig"><button type="button" class="gcard" data-open data-title="Single porcelain crown" data-desc="Front (left) central tooth had a poor restoration that was not contoured to match the gumline. It was replaced with an all-porcelain crown (no metal), contoured to match the gumline and matched to the shape and color of the patient's teeth." data-before="https://www.westtowsondental.com/wp-content/uploads/2025/08/img_before_1.webp" data-after="https://www.westtowsondental.com/wp-content/uploads/2025/08/img_after_1.webp" data-before-alt="Before: single porcelain crown case at West Towson Dental, a dentist in Towson, MD" data-after-alt="After: single porcelain crown result at West Towson Dental, a dentist in Towson, MD" aria-label="View larger: Single porcelain crown"> <span class="gh"><img src="https://www.westtowsondental.com/wp-content/uploads/2025/08/img_before_1.webp" alt="Before: single porcelain crown case at West Towson Dental, a dentist in Towson, MD" loading="lazy" decoding="async" width="600" height="450"><b>Before</b></span> <span class="gh"><img src="https://www.westtowsondental.com/wp-content/uploads/2025/08/img_after_1.webp" alt="After: single porcelain crown result at West Towson Dental, a dentist in Towson, MD" loading="lazy" decoding="async" width="600" height="450"><b>After</b></span></button> <figcaption><strong>Porcelain Crowns</strong><span>Single porcelain crown</span></figcaption> </figure> <figure class="gfig"><button type="button" class="gcard" data-open data-title="Single implant and porcelain crown" data-desc="Single-tooth replacement of one upper central incisor. Smile and function were restored with a single implant and an all-porcelain crown that fits securely over the implant." data-before="https://www.westtowsondental.com/wp-content/uploads/2025/08/img_before_3.webp" data-after="https://www.westtowsondental.com/wp-content/uploads/2025/08/img_after_3.webp" data-before-alt="Before: single implant and porcelain crown case at West Towson Dental, a dentist in Towson, MD" data-after-alt="After: single implant and porcelain crown result at West Towson Dental, a dentist in Towson, MD" aria-label="View larger: Single implant and porcelain crown"> <span class="gh"><img src="https://www.westtowsondental.com/wp-content/uploads/2025/08/img_before_3.webp" alt="Before: single implant and porcelain crown case at West Towson Dental, a dentist in Towson, MD" loading="lazy" decoding="async" width="600" height="450"><b>Before</b></span> <span class="gh"><img src="https://www.westtowsondental.com/wp-content/uploads/2025/08/img_after_3.webp" alt="After: single implant and porcelain crown result at West Towson Dental, a dentist in Towson, MD" loading="lazy" decoding="async" width="600" height="450"><b>After</b></span></button> <figcaption><strong>Dental Implants</strong><span>Single implant and porcelain crown</span></figcaption> </figure> <figure class="gfig"><button type="button" class="gcard" data-open data-title="Upper and lower arch rehabilitation (view 1)" data-desc="Upper and lower arch rehabilitation using an upper denture supported by implants, plus lower implants and crowns, for smile, chewing function and facial tissue support." data-before="https://www.westtowsondental.com/wp-content/uploads/2025/08/img_before_4.webp" data-after="https://www.westtowsondental.com/wp-content/uploads/2025/08/img_after_4.webp" data-before-alt="Before: upper and lower arch rehabilitation (view 1) case at West Towson Dental, a dentist in Towson, MD" data-after-alt="After: upper and lower arch rehabilitation (view 1) result at West Towson Dental, a dentist in Towson, MD" aria-label="View larger: Upper and lower arch rehabilitation (view 1)"> <span class="gh"><img src="https://www.westtowsondental.com/wp-content/uploads/2025/08/img_before_4.webp" alt="Before: upper and lower arch rehabilitation (view 1) case at West Towson Dental, a dentist in Towson, MD" loading="lazy" decoding="async" width="600" height="450"><b>Before</b></span> <span class="gh"><img src="https://www.westtowsondental.com/wp-content/uploads/2025/08/img_after_4.webp" alt="After: upper and lower arch rehabilitation (view 1) result at West Towson Dental, a dentist in Towson, MD" loading="lazy" decoding="async" width="600" height="450"><b>After</b></span></button> <figcaption><strong>Implants, Crowns & Dentures</strong><span>Upper and lower arch rehabilitation (view 1)</span></figcaption> </figure> </div> <p class="gal2-hint">Tap any case to see it larger.</p> <div class="btn-row gal2-cta"><a class="btn btn-primary" href="<?php echo esc_url($cta_link); ?>" target="_blank" rel="noopener noreferrer"><?php echo esc_html($cta_text); ?></a><a class="btn btn-ghost" href="https://www.westtowsondental.com/smile-gallery/">See the full Smile Gallery</a></div> </div> </section> <dialog class="lb" id="lb" aria-labelledby="lb-t"> <div class="lb-in"> <div class="lb-top"> <h3 id="lb-t" data-lb-title></h3><button type="button" class="lb-x" data-close aria-label="Close"><i class="ic fas fa-xmark" aria-hidden="true"></i></button> </div> <div class="lb-pair"> <figure><img data-lb-before alt="" decoding="async"> <figcaption>Before</figcaption> </figure> <figure><img data-lb-after alt="" decoding="async"> <figcaption>After</figcaption> </figure> </div> <p data-lb-desc class="lb-desc"></p> </div> </dialog> <section class="doctor" id="doctor" aria-labelledby="dr-h"> <div class="wrap"> <div class="sec-head rv"> <h2 id="dr-h">Meet <?php echo esc_html($Dr_Michael_W_Whitecar); ?></h2> <p class="lead"><?php echo esc_html($Dr_Whitecar); ?>’s passion is comprehensive care, especially for patients with extreme dental anxiety, so many urgent problems can be handled in our office.</p> </div> <div class="split rv"> <figure class="dphoto"><img src="https://www.westtowsondental.com/wp-content/uploads/2025/08/img-meet-dr-whitecar-1.webp" alt="Dr. Michael W. Whitecar, DDS, dentist at West Towson Dental in Towson, MD" loading="lazy" decoding="async" width="640" height="640"></figure> <div> <dl class="facts"> <div> <dt>Recognition</dt> <dd>Voted one of Baltimore’s Best Dentists, with over a decade of practice in the Baltimore area</dd> </div> <div> <dt>Education</dt> <dd>Washington and Lee University; D.D.S., Virginia Commonwealth University; residency at Bellevue Hospital, NYC</dd> </div> <div> <dt>Trained in</dt> <dd>Root canal therapy, oral surgery, sedation dentistry, implants, esthetic dentistry and SureSmile®</dd> </div> </dl> <a class="btn btn-ghost" href="https://www.westtowsondental.com/meet-dr-whitecar/">Know More About <?php echo esc_html($Dr_Whitecar); ?></a> </div> </div> </div> </section> <section class="band" id="membership" aria-labelledby="mem-h"> <div class="wrap"> <div class="sec-head mem-head"> <h2 id="mem-h">No Dental Insurance? Ask About Our Membership Plan</h2> <p class="lead">An in-house membership plan designed to make ongoing dental care more straightforward. Members receive routine care and discounts on eligible procedures.</p> </div> <div class="mplans rv"> <article class="mplan"> <h3>Child Complete</h3> <p class="ages">Ages 0–13</p> <p class="mprice"><b>$29</b><span>per month</span></p> <p class="myr">or $348/year</p> <p class="msave">Save $275 per year</p> <p class="minc">Included annually</p> <ul> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>2 professional cleanings</span></li> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>2 regular exams</span></li> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>1 fluoride treatment</span></li> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>Routine X-rays</span></li> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>1 emergency exam</span></li> </ul> <p class="mplus">Plus: save 10% on procedures completed at our practice.</p> </article> <article class="mplan"> <h3>Adult Complete</h3> <p class="ages">Ages 14+</p> <p class="mprice"><b>$34</b><span>per month</span></p> <p class="myr">or $408/year</p> <p class="msave">Save $240 per year</p> <p class="minc">Included annually</p> <ul> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>2 professional cleanings</span></li> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>2 regular exams and screenings</span></li> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>Routine X-rays</span></li> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>1 emergency exam</span></li> </ul> <p class="mplus">Plus: save 10% on procedures completed at our practice.</p> </article> <article class="mplan"> <h3>Perio</h3> <p class="ages">Ages 14+</p> <p class="mprice"><b>$65</b><span>per month</span></p> <p class="myr">or $780/year</p> <p class="msave">Save $258 per year</p> <p class="minc">Included annually</p> <ul> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>3 perio maintenance visits</span></li> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>3 regular exams and screenings</span></li> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>Routine X-rays</span></li> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>1 oral DNA test</span></li> <li><i class="ic fas fa-check" aria-hidden="true"></i><span>1 emergency exam</span></li> </ul> <p class="mplus">Plus: save 10% on procedures completed at our practice.</p> </article> </div> <div class="btn-row btn-row-center"><a class="btn btn-primary" href="https://member.clerri.com/?slug=QQ5C" rel="noopener">View Membership Plans</a></div> <p class="fine mem-fine">An in-house membership plan, not insurance. 12-month membership with benefits starting immediately. No deductibles, waiting periods, annual maximums, claim denials or pre-approvals.</p> <div class="pay-sub" id="payment"> <div class="sec-head"> <h3 id="pay-h">Flexible Ways to Pay for Your Care</h3> <p class="lead">We show you your costs before treatment begins.</p> </div> <div class="payrows rv"> <div class="pay-card"><strong>Cherry financing</strong><span>3, 6, 12, 18 or 24 monthly payments. Prequalify with no hard credit check.</span></div> <div class="pay-card"><strong>CareCredit</strong><span>Monthly payments for recommended treatment. Depending on the amount, you could get 0% interest.</span></div> <div class="pay-card"><strong>Dental insurance</strong><span>We accept almost every carrier and file the claim for you.</span></div> </div> <div class="btn-row btn-row-center"><a class="btn btn-primary" href="https://www.westtowsondental.com/insurance-payments/">Explore Payment Options</a></div> </div> </div> </section> <section id="reviews" aria-labelledby="rev-h"> <div class="wrap"> <div class="sec-head"> <h2 id="rev-h">What Patients Say About <?php echo esc_html($Dr_Whitecar); ?> and Our Team</h2> </div> <div class="revs"> <figure class="rev"><span class="stars" role="img" aria-label="5 out of 5 stars"><i class="ic fas fa-star" aria-hidden="true"></i><i class="ic fas fa-star" aria-hidden="true"></i><i class="ic fas fa-star" aria-hidden="true"></i><i class="ic fas fa-star" aria-hidden="true"></i><i class="ic fas fa-star" aria-hidden="true"></i></span> <blockquote>Dr. Whitecar and his staff are always friendly and helpful. I am very pleased with his work fixing a broken tooth and being available quickly. He then helped with cosmetic work that turned out very well. I highly recommend this office.</blockquote><cite>Scott P.</cite> </figure> <figure class="rev"><span class="stars" role="img" aria-label="5 out of 5 stars"><i class="ic fas fa-star" aria-hidden="true"></i><i class="ic fas fa-star" aria-hidden="true"></i><i class="ic fas fa-star" aria-hidden="true"></i><i class="ic fas fa-star" aria-hidden="true"></i><i class="ic fas fa-star" aria-hidden="true"></i></span> <blockquote>Dr. Whitecar and staff are the best! Very thorough with exam and any concerns. And, most importantly, extremely caring about my comfort level from beginning to end of appointment. I highly recommend this dental practice!</blockquote><cite>Janeen N.</cite> </figure> <figure class="rev"><span class="stars" role="img" aria-label="5 out of 5 stars"><i class="ic fas fa-star" aria-hidden="true"></i><i class="ic fas fa-star" aria-hidden="true"></i><i class="ic fas fa-star" aria-hidden="true"></i><i class="ic fas fa-star" aria-hidden="true"></i><i class="ic fas fa-star" aria-hidden="true"></i></span> <blockquote>I love this place and all of the people there. Dr. Whitecar's thoroughness, care and diagnostic abilities give me so much confidence in him. He is kind, makes it easy to relax and clearly explains everything that's happening. The staff, from the desk to the hygienists are professional, friendly, comforting and knowledgeable. A big thumbs up.</blockquote><cite>Sara S.</cite> </figure> </div> <p class="rev-more"><a class="link" href="https://www.westtowsondental.com/testimonials/">Read more patient reviews <i class="ic fas fa-chevron-right" aria-hidden="true"></i></a></p> </div> </section> <section id="faq" aria-labelledby="faq-h"> <div class="wrap"> <div class="sec-head"> <h2 id="faq-h">Emergency Dental Care FAQs</h2> </div> <div class="faq-list"> <details> <summary>Does <?php echo esc_html($practice); ?> accept dental emergencies?</summary> <div class="ans"> <p>Yes. Emergency appointments are welcome. Call <a href="<?php echo esc_url($phone_link); ?>"><?php echo esc_html($phone_text); ?></a> as soon as possible. We’re open Mon–Thu 8 am–5 pm and Fri 9 am–12 pm.</p> </div> </details> <details> <summary>What should I do if I have severe tooth pain?</summary> <div class="ans"> <p>Call us for guidance. Meanwhile, rinse with warm water and use a cold compress. If you have trouble breathing or swallowing, or swelling is spreading, seek emergency medical care.</p> </div> </details> <details> <summary>Can <?php echo esc_html($practice); ?> treat a broken tooth?</summary> <div class="ans"> <p>Often, yes. The right treatment depends on the break, so you’ll need an exam first.</p> </div> </details> <details> <summary>Do you provide root canals and extractions?</summary> <div class="ans"> <p>Yes. <?php echo esc_html($Dr_Whitecar); ?> is trained in root canal therapy and oral surgery and provides both in our office where clinically appropriate.</p> </div> </details> <details> <summary>Where is <?php echo esc_html($practice); ?> located?</summary> <div class="ans"> <p><?php echo esc_html($address_text); ?>, near Kenilworth Drive and accessible from 139 and 695.</p> </div> </details> <details> <summary>How do I request an emergency appointment?</summary> <div class="ans"> <p>Call or text <a href="<?php echo esc_url($phone_link); ?>"><?php echo esc_html($phone_text); ?></a>, or use the online booking button. Calling is fastest.</p> </div> </details> </div> </div> </section> <section class="final" id="book" aria-labelledby="fin-h"> <div class="wrap"> <div class="sec-head"> <h2 id="fin-h">Don’t Let a Dental Emergency Get Worse</h2> <p class="lead">Contact <?php echo esc_html($practice); ?> to request an emergency appointment and have your dental problem evaluated by an experienced <?php echo esc_html($city); ?> dentist.</p> <div class="btn-row"><a class="btn btn-light" href="<?php echo esc_url($cta_link); ?>" target="_blank" rel="noopener noreferrer"><i class="ic fas fa-calendar-check" aria-hidden="true"></i><?php echo esc_html($cta_text); ?></a><a class="btn btn-line-light" href="<?php echo esc_url($phone_link); ?>"><i class="ic fas fa-phone" aria-hidden="true"></i>Call <?php echo esc_html($phone_text); ?></a></div> </div> <div class="visit"><iframe title="Map to West Towson Dental, 8320 Bellona Ave, Towson, MD" src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d6164.893944546222!2d-76.63351500000002!3d39.414016!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c80e2cc1211b15%3A0xf5cd0a1c44632a78!2sWest%20Towson%20Dental!5e0!3m2!1sen!2sus!4v1755510707883!5m2!1sen!2sus" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe> <div class="visit-in"> <div class="row"><i class="ic fas fa-location-dot" aria-hidden="true"></i> <p><a href="<?php echo esc_url($address_link); ?>"><?php echo esc_html($address_text); ?></a><br>Near Kenilworth Drive, accessible from 139 and 695.</p> </div> <div class="row"><i class="ic fas fa-phone" aria-hidden="true"></i> <p><a href="<?php echo esc_url($phone_link); ?>"><?php echo esc_html($phone_text); ?></a> · <a href="sms:+14103378909">Text us</a></p> </div> <div class="row"><i class="ic fas fa-clock" aria-hidden="true"></i> <ul class="hours"> <li><span>Monday – Thursday</span><span>8 am – 5 pm</span></li> <li><span>Friday</span><span>9 am – 12 pm</span></li> <li><span>Saturday – Sunday</span><span>Closed</span></li> </ul> </div> </div> </div> </div> </section> </main> <footer> <div class="wrap"><span>© <?php echo date("Y"); ?> <?php echo esc_html($practice); ?>. All Rights Reserved.</span> <span><a href="https://www.westtowsondental.com/privacy-policy">Privacy Policy</a> · <a href="https://www.westtowsondental.com/terms-of-service/">Terms of Service</a> · <a href="https://www.westtowsondental.com/accessibility">Accessibility</a></span> </div> </footer> <nav class="bar" aria-label="Quick actions"><a class="btn btn-ghost" href="<?php echo esc_url($phone_link); ?>">Call Now</a><a class="btn btn-primary" href="<?php echo esc_url($cta_link); ?>" target="_blank" rel="noopener noreferrer"><?php echo esc_html($cta_text); ?></a></nav> <script> (function() { var d = document, root = d.documentElement; var reduce = window.matchMedia && matchMedia('(prefers-reduced-motion: reduce)').matches; /* hero videos (background + frame): skip for reduced motion / data saver, or if the file fails to load */ [].forEach.call(d.querySelectorAll('.hero-bg,.frame,.h2-bg'), function(hb) { var hv = hb.querySelector('video'); if (!hv) return; var sd = navigator.connection && navigator.connection.saveData; if (reduce || sd) { hb.classList.add('novideo'); hv.pause() } hv.addEventListener('error', function() { hb.classList.add('novideo') }, true); var sr = hv.querySelectorAll('source'); if (sr.length) sr[sr.length - 1].addEventListener('error', function() { hb.classList.add('novideo') }); }); /* reveal on scroll */ var rv = [].slice.call(d.querySelectorAll('.rv')); if ('IntersectionObserver' in window && !reduce) { var io = new IntersectionObserver(function(es) { es.forEach(function(e) { if (e.isIntersecting) { e.target.classList.add('in'); io.unobserve(e.target) } }) }, { rootMargin: '0px 0px -8% 0px', threshold: .08 }); rv.forEach(function(el) { io.observe(el) }); } else { rv.forEach(function(el) { el.classList.add('in') }) } /* auto-scrolling chip rows (pauses on hover/focus; off for reduced motion) */ if (!reduce) { [].forEach.call(d.querySelectorAll('ul.chips'), function(ul) { var wrap = d.createElement('div'); wrap.className = 'chips-wrap'; ul.parentNode.insertBefore(wrap, ul); wrap.appendChild(ul); [].slice.call(ul.children).forEach(function(li) { var c = li.cloneNode(true); c.setAttribute('aria-hidden', 'true'); [].forEach.call(c.querySelectorAll('a'), function(a) { a.tabIndex = -1 }); ul.appendChild(c) }); function start() { var half = ul.scrollWidth / 2; ul.style.setProperty('--dur', Math.max(12, half / 45) + 's'); ul.classList.add('marquee') } if (d.readyState === 'complete') start(); else window.addEventListener('load', start); }) } /* carousels */ [].forEach.call(d.querySelectorAll('[data-car]'), function(c) { var t = c.querySelector('.track'); if (!t) return; function step() { var f = t.children[0]; return f ? f.getBoundingClientRect().width + 16 : 300 } c.querySelector('[data-prev]').addEventListener('click', function() { t.scrollBy({ left: -step(), behavior: reduce ? 'auto' : 'smooth' }) }); c.querySelector('[data-next]').addEventListener('click', function() { t.scrollBy({ left: step(), behavior: reduce ? 'auto' : 'smooth' }) }); }); /* before/after handles (drag the handle only so the image area can still swipe the carousel) */ [].forEach.call(d.querySelectorAll('.ba'), function(ba) { var h = ba.querySelector('.ba-handle'); if (!h) return; function set(p) { p = Math.max(0, Math.min(100, p)); ba.style.setProperty('--pos', p + '%'); h.setAttribute('aria-valuenow', Math.round(p)) } function fromX(x) { var r = ba.getBoundingClientRect(); set((x - r.left) / r.width * 100) } h.addEventListener('pointerdown', function(e) { h.setPointerCapture(e.pointerId); fromX(e.clientX); h._drag = true; e.preventDefault() }); h.addEventListener('pointermove', function(e) { if (h._drag) fromX(e.clientX) }); h.addEventListener('pointerup', function() { h._drag = false }); h.addEventListener('pointercancel', function() { h._drag = false }); h.addEventListener('keydown', function(e) { var v = +h.getAttribute('aria-valuenow') || 50; if (e.key === 'ArrowLeft' || e.key === 'ArrowDown') { set(v - 5); e.preventDefault() } if (e.key === 'ArrowRight' || e.key === 'ArrowUp') { set(v + 5); e.preventDefault() } if (e.key === 'Home') { set(0); e.preventDefault() } if (e.key === 'End') { set(100); e.preventDefault() } }); ba.addEventListener('click', function(e) { if (e.target === h || h.contains(e.target)) return; if (ba.dataset.tap !== 'off') fromX(e.clientX) }); }); /* lightbox */ var lb = d.getElementById('lb'); if (lb && lb.showModal) { var lt = lb.querySelector('[data-lb-title]'), lbf = lb.querySelector('[data-lb-before]'), lba = lb.querySelector('[data-lb-after]'), lbd = lb.querySelector('[data-lb-desc]'); [].forEach.call(d.querySelectorAll('[data-open]'), function(b) { b.addEventListener('click', function() { lt.textContent = b.dataset.title; lbd.textContent = b.dataset.desc; lbf.src = b.dataset.before; lbf.alt = b.dataset.beforeAlt; lba.src = b.dataset.after; lba.alt = b.dataset.afterAlt; lb.showModal() }) }); lb.querySelector('[data-close]').addEventListener('click', function() { lb.close() }); lb.addEventListener('click', function(e) { if (e.target === lb) lb.close() }); } })(); </script> </body> </html>
Save File
Cancel