Lead #1172

Company
Lawrence Chiropractic Clinic
Website
http://castlechiropracticclinic.co.uk
Best Contact
Email
()

Override

Captured Pages

View text
Would you like to switch to the accessible version of this site? Go to accessible site Close modal window Don't need the accessible version of this site? Hide the accessibility button Close modal window Accessibility View Close toolbar Javascript must be enabled for the correct page display Lawrence Chiropractic Clinic Stone, 01785 748677 Nantwich Chiropractic Clinic Nantwich, 01270 610640 Menu Home New Patient Center New Patient Form What to Expect Your First Visit Phase 1: Relief Care Phase 2: Corrective Care Phase 3: Wellness Care Health Resources About Us Meet The Doctors Dr Steven Lawrence Dr Xanthe Lawrence Services & Techniques Our Wellness Partners Testimonials Contact Us Press Releases Omega 3 Links Nantwich Chiropractic Clinic How To Find Us Office Opening Hours Lawrence Chiropractic Clinic Stone How To Find Us Office Hours Exercises For Kids Wellness 4 Kids 3D Spine Simulator Wellness Plan & Health Risk Assessment Food Staff Coming Soon! Dr. Nathan Anderson Dr. Anderson has been freeing people from pain since 1980 in his clinic in San Diego, CA. As a Chiropractor with experience, our professionals are committed to promoting the health and well being of his patients. Read More Marina Mason 'I love coming to work everyday and watching them go through chiropractic care.Our patients always leave our office feeling better than they did when they originally came in. Ever since I started working here at Discover Wellness Center I have been reading and learning as much as I can about how the choices we make affect our well being. Now I am living a healthier life and can pass my knowledge and experience to others so they too can discover wellness!' Read More Talia Noble 'There was a time in my life that I really relied on drugs . . . Dr. Anderson taught me that I was not doing anything better for my body by relying on drugs. He explained that I needed to get to the root of the problem by finding what was making me feel bad in the first place. I made the decision that I was going to invest in myself and my healthy. Since then, I've been making healthier choices and living a healthier life. I sleep well, have more energy, and living pain free! The investment was totally worth it!' Read More Maya Moore 'I have always believed in the alternative to traditional medicine. I never was the type of person to take medications or pop a Tylenol or Advil. Working with Dr. Anderson I continue to learn how the body works and what happens when it is not working properly. Now I know that I the potential and power to heal comes from within.I love working with Dr. Anderson because he helps me live a more fulfilling life!' Read More Locations Office Hours Nantwich Chiropractic Clinic Monday: 9:00 am-1:00 pm Closed Tuesday: 9:00 am-1:30 pm 3:00 pm-7:00 pm Wednesday: 9:00 am-1:30 pm 2:40 pm-7:00 pm Thursday: 9:00 am-1:00 pm 1:00 pm-7:00 pm Friday: 9:00 am-1:30 pm Saturday: Closed Closed Sunday: Closed Closed Lawrence Chiropractic Clinic Monday: 2:00 pm-7:00 pm Tuesday: Closed Closed Wednesday: 8:00 am-6:00 pm Thursday: 2:00 pm-7:00 pm Friday: 8:00 am-6:00 pm Saturday: Closed Sunday: Closed Copyright © 2025 MH Sub I, LLC dba iMatrix. Admin Log In _ctRewriteUrl = "https://apps.chiromatrixbase.com/CallTracking/RewriteRule/clientId/18603"; +function() { "use strict"; // Show ada-toolbar btn after page is loaded window.onload = function() { document.getElementById("ada-toolbar").style.display = "block"; }; var activeModal = null, i, toggleModal = function(id) { id = (typeof id !== 'undefined') ? id : null; // Close if another modal is visible if (activeModal) { activeModal.style.display = "none"; } // Select the modal if id is provided if (id) { activeModal = document.getElementById(id); activeModal.style.display = "block"; } // Get the links in the modal and the event handlers var link = activeModal.querySelector(".ada_modal--link"), closeBtn = activeModal.querySelector(".ada_modal--close"), linkHandler = function(e) { if (e.which === 9) { e.preventDefault(); closeBtn.focus(); } }, closeHandler = function(e) { if (e.which === 9) { e.preventDefault(); link.focus(); } }, escButtonHandler = function(e) { if (e.which === 27 && activeModal !== null) { e.preventDefault(); activeModal.style.display = "none"; } }, closeModalHandler = function(e) { if (e.target == activeModal) { e.preventDefault(); e.stopPropagation(); toggleModal(); } }; if (id === null) { // remove the event listeners activeModal.removeEventListener('click', closeModalHandler); link.removeEventListener('keydown', linkHandler); closeBtn.removeEventListener('keydown', closeHandler); document.removeEventListener('keydown', escButtonHandler); activeModal.style.display = "none"; activeModal = null; return; } // add event listeners for tab, shift + tab and close modal activeModal.addEventListener('click', closeModalHandler); closeBtn.addEventListener('keydown', closeHandler); link.addEventListener('keydown', linkHandler); document.addEventListener('keydown', escButtonHandler); link.focus(); }; // init the modals var modals = document.querySelectorAll("[data-action=modal]"); for (i = 0; i < modals.length; i++) { modals[i].addEventListener('click', function(e) { e.preventDefault(); toggleModal(this.getAttribute("data-modal-id")); }); } // button for enabling ada mode document.querySelector("[data-action=accessible]").addEventListener("click", function() { window.location.href = "?ada_mode=1"; }); // buttons for closing the modal var closeBtns = document.querySelectorAll("[data-action=close]"); for (i = 0; i < closeBtns.length; i++) { closeBtns[i].addEventListener("click", function(e) { e.preventDefault(); toggleModal(); }); }; // remove the ada toolbar document.querySelector("[data-action=remove-accessible]").addEventListener("click", function(e) { e.preventDefault(); document.getElementById("ada-toolbar").style.display = "none"; toggleModal(); }); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (!mutation.addedNodes) return; if (document.body.firstChild.id !== "ada-toolbar") { document.body.insertBefore(document.getElementById("ada-toolbar"), document.body.childNodes[0]); document.body.insertBefore(document.getElementById("ada-modal-on"), document.body.childNodes[1]); document.body.insertBefore(document.getElementById("ada-modal-off"), document.body.childNodes[1]); } }) }); observer.observe(document.body, { childList: true , subtree: true , attributes: false , characterData: false }); }();
View text

                    
View text

                    
View text

                    
View text
Would you like to switch to the accessible version of this site? Go to accessible site Close modal window Don't need the accessible version of this site? Hide the accessibility button Close modal window Accessibility View Close toolbar Javascript must be enabled for the correct page display Lawrence Chiropractic Clinic Stone, 01785 748677 Nantwich Chiropractic Clinic Nantwich, 01270 610640 Menu Home New Patient Center New Patient Form What to Expect Your First Visit Phase 1: Relief Care Phase 2: Corrective Care Phase 3: Wellness Care Health Resources About Us Meet The Doctors Dr Steven Lawrence Dr Xanthe Lawrence Services & Techniques Our Wellness Partners Testimonials Contact Us Press Releases Omega 3 Links Nantwich Chiropractic Clinic How To Find Us Office Opening Hours Lawrence Chiropractic Clinic Stone How To Find Us Office Hours Exercises For Kids Wellness 4 Kids 3D Spine Simulator Wellness Plan & Health Risk Assessment Food Contact Us We have three clinics offering chiropractic care to areas surrounding Nantwich, Crewe, Shrewsbury, Stone, Trentham and Stafford. For clinic addresses and contact details see below. If you require further information regarding directions to the clinic, please give one of our staff a call. Nantwich Chiropractic Clinic 14 Love Lane Nantwich, England CW5 5BH Get Directions Phone: 01270 610640 Castle Chiropractic Clinic Halfway House Rowton Rowton , Shrewsbury SY5 9EP Get Directions Phone: 01743 885224 Lawrence Chiropractic Clinic 34 Radford Street Stone, Staffordshire ST15 8DA Get Directions Phone: 01785 748677 No Health Form settings found. Please configure it. Locations Office Hours Nantwich Chiropractic Clinic Monday: 9:00 am-1:00 pm Closed Tuesday: 9:00 am-1:30 pm 3:00 pm-7:00 pm Wednesday: 9:00 am-1:30 pm 2:40 pm-7:00 pm Thursday: 9:00 am-1:00 pm 1:00 pm-7:00 pm Friday: 9:00 am-1:30 pm Saturday: Closed Closed Sunday: Closed Closed Lawrence Chiropractic Clinic Monday: 2:00 pm-7:00 pm Tuesday: Closed Closed Wednesday: 8:00 am-6:00 pm Thursday: 2:00 pm-7:00 pm Friday: 8:00 am-6:00 pm Saturday: Closed Sunday: Closed Copyright © 2025 MH Sub I, LLC dba iMatrix. Admin Log In _ctRewriteUrl = "https://apps.chiromatrixbase.com/CallTracking/RewriteRule/clientId/18603"; +function() { "use strict"; // Show ada-toolbar btn after page is loaded window.onload = function() { document.getElementById("ada-toolbar").style.display = "block"; }; var activeModal = null, i, toggleModal = function(id) { id = (typeof id !== 'undefined') ? id : null; // Close if another modal is visible if (activeModal) { activeModal.style.display = "none"; } // Select the modal if id is provided if (id) { activeModal = document.getElementById(id); activeModal.style.display = "block"; } // Get the links in the modal and the event handlers var link = activeModal.querySelector(".ada_modal--link"), closeBtn = activeModal.querySelector(".ada_modal--close"), linkHandler = function(e) { if (e.which === 9) { e.preventDefault(); closeBtn.focus(); } }, closeHandler = function(e) { if (e.which === 9) { e.preventDefault(); link.focus(); } }, escButtonHandler = function(e) { if (e.which === 27 && activeModal !== null) { e.preventDefault(); activeModal.style.display = "none"; } }, closeModalHandler = function(e) { if (e.target == activeModal) { e.preventDefault(); e.stopPropagation(); toggleModal(); } }; if (id === null) { // remove the event listeners activeModal.removeEventListener('click', closeModalHandler); link.removeEventListener('keydown', linkHandler); closeBtn.removeEventListener('keydown', closeHandler); document.removeEventListener('keydown', escButtonHandler); activeModal.style.display = "none"; activeModal = null; return; } // add event listeners for tab, shift + tab and close modal activeModal.addEventListener('click', closeModalHandler); closeBtn.addEventListener('keydown', closeHandler); link.addEventListener('keydown', linkHandler); document.addEventListener('keydown', escButtonHandler); link.focus(); }; // init the modals var modals = document.querySelectorAll("[data-action=modal]"); for (i = 0; i < modals.length; i++) { modals[i].addEventListener('click', function(e) { e.preventDefault(); toggleModal(this.getAttribute("data-modal-id")); }); } // button for enabling ada mode document.querySelector("[data-action=accessible]").addEventListener("click", function() { window.location.href = "?ada_mode=1"; }); // buttons for closing the modal var closeBtns = document.querySelectorAll("[data-action=close]"); for (i = 0; i < closeBtns.length; i++) { closeBtns[i].addEventListener("click", function(e) { e.preventDefault(); toggleModal(); }); }; // remove the ada toolbar document.querySelector("[data-action=remove-accessible]").addEventListener("click", function(e) { e.preventDefault(); document.getElementById("ada-toolbar").style.display = "none"; toggleModal(); }); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (!mutation.addedNodes) return; if (document.body.firstChild.id !== "ada-toolbar") { document.body.insertBefore(document.getElementById("ada-toolbar"), document.body.childNodes[0]); document.body.insertBefore(document.getElementById("ada-modal-on"), document.body.childNodes[1]); document.body.insertBefore(document.getElementById("ada-modal-off"), document.body.childNodes[1]); } }) }); observer.observe(document.body, { childList: true , subtree: true , attributes: false , characterData: false }); }();
View text
Would you like to switch to the accessible version of this site? Go to accessible site Close modal window Don't need the accessible version of this site? Hide the accessibility button Close modal window Accessibility View Close toolbar Javascript must be enabled for the correct page display Lawrence Chiropractic Clinic Stone, 01785 748677 Nantwich Chiropractic Clinic Nantwich, 01270 610640 Menu Home New Patient Center New Patient Form What to Expect Your First Visit Phase 1: Relief Care Phase 2: Corrective Care Phase 3: Wellness Care Health Resources About Us Meet The Doctors Dr Steven Lawrence Dr Xanthe Lawrence Services & Techniques Our Wellness Partners Testimonials Contact Us Press Releases Omega 3 Links Nantwich Chiropractic Clinic How To Find Us Office Opening Hours Lawrence Chiropractic Clinic Stone How To Find Us Office Hours Exercises For Kids Wellness 4 Kids 3D Spine Simulator Wellness Plan & Health Risk Assessment Food var autoPlay = location.href.indexOf("screenshot_mode=1") === -1 ?true:false; Supporting Spinal Health You've only got one spine. Take great care of it with supportive chiropractic care. Call for Appointment We Create Healthy Families Call or Make an Appointment Online Today. Call for Appointment Supporting Spinal Health You've only got one spine. Take great care of it with supportive chiropractic care. Call for Appointment Wellness Awaits You Your journey to wellness begins here. Call today. Call for Appointment Featured Links Click to find out more Request an Appointment We will do our best to accommodate your busy schedule. Schedule an appointment today! Call Now Our Services We strive to provide complete care for our patients. Learn more about all the services we provide. Read More Online Forms Nantwich Chiropractic Clinic offers our patient form(s) online so they can be completed in the convenience of your own home or office. View Forms Welcome Dr Steven and Dr Xanthe Lawrence are chiropractors (both holding Doctor of Chiropractic qualifications) serving Nantwich, Cheshire, Stone, Trentham, Eccleshall, Staffordshire and the surrounding areas. Whether you need an injury or accident treated, have a specific body problem (such as back pain or a spinal condition), need pain relief, or just want to improve your overall health, our clinics in Nantwich (Cheshire) and Stone (Staffordshire) may have a solution for you through chiropractic care. Click here to visit our testimonials page to see how patients have benefited from seeing the Nantwich and Staffordshire chiropractors and getting regular chiropractic adjustments.Take a look at the 3D SPINE SIMULATOR to see how the spine and nervous system interact with different areas of the body.Using a combination of different techniques including Sacro-Occipital Technique (both Dr Steve and Dr Xanthe have gained post-graduate certification in SOT) we aim to get to the root cause of the problem, not just address the symptoms. SOT uses gentle techniques to correct imbalances within the nervous system by using spinal adjustments, craniopathy (corrections to the rhythmic movements in the cranium) and Chiropractic Manipulative Reflex Technique (or CMRT for short) which uses soft tissue techniques to correct imbalances within the visceral system. At your first visit to our clinics in Nantwich and Stone, we will explain to you how chiropractic works, and give you a full evaluation to see if chiropractic care is right for you. If there is a good fit, we can develop a plan of chiropractic care that is specific to your condition and health goals. As well as correcting any functional issues, we look at improving your health through advice on nutrition, any supplementation using a Functional Medicine approach and exercise to keep you and your family healthy for life. If you are new to chiropractic and want to find out more, we offer complimentary Spinal Health Checks for all of the family at all of our clinics. You are more than welcome to call Nantwich 01270 610640 or Stone 01785 748677 and speak to us directly. We also welcome referrals, so feel free to use the "send to friend" link to share our health information with your friends and loved ones. If you want to receive our free health and wellness articles, you can subscribe to our bi-weekly newsletter, even if you are not a patient. Once you subscribe, you can explore our member wellness section and take advantage of our animated exercise videos, wellness articles, and other resources. "The Doctor of the future will give no medicine but will interest his patients in the care of the human frame, in diet and in the cause and prevention of disease." - Thomas Edison Dr Xanthe Lawrence and Dr Steven Lawrence Stone (Staffordshire) Chiropractor | Lawrence Chiropractic Clinic | 01785 748677 34 Radford Street, Stone, Staffordshire, ST15 8DA Dr Steven Lawrence & Dr Xanthe Lawrence Nantwich (Cheshire) Chiropractor | Nantwich Chiropractic Clinic | 01270 610640 14 Love Lane, Nantwich, England CW5 5BHThe title 'Dr' or 'Doctor' used throughout this website refers to 'Doctor of Chiropractic'All practitioners are Doctors of Chiropractic and are registered with the General Chiropractic Council (GCC) No Health Form settings found. Please configure it. Meet the Chiropractor Learn Who We Are Dr. Steven Lawrence, BSc (Hons) Chiropractic, Diploma in Chiropractic My parents used to see a chiropractor when I was young but it wasn't until I suffered quite a bad fall whilst on a dry ski slope that I had my first adjustment. I could not believe the difference that it made. Since then in my early teens, I knew that I wanted to be a chiropractor. Read More Dr. Xanthe Lawrence BSc (Hons) Chiropractic, Diploma in Chiropractic After studying for my degree at the Welsh Institute of Chiropractic in Glamorgan I graduated in 2002 with a BSc (Hons) degree in Chiropractic. It was whilst at university that I met my husband Steve. After graduation we both started work at Nantwich Chiropractic Clinic in Cheshire where I worked towards my Diploma of Chiropractic (DC). Read More Testimonials Reviews By Our Patients Nantwich Chiropractic Clinic not only saved me from chronic lower back pain but also from acute agony when arthritic changes in my neck sent the surrounding muscles into spasm. The doctors (G.P.s) could do nothing except prescribe increasingly powerful drugs. The chiropractic clinic removed the pain almost immediately and have managed it ever since. Can't thank them enough. Linda H. Having suffered a very painful lower disc/back problem I sought help from Nantwich Chiropractic Clinic. I am a very active person normally and I ride regularly but I had become so debilitated that I feared I wouldn't be able to ride again. However after regular chiropractic adjustments and advice I not only fully recovered but was able to continue to ride at the level prior to my injury. I can't thank everyone enough for giving me such excellent care and treatment. Kim Bailey Very in-depth, detailed examination with great friendly people that use methods and adjustments that work. Also easily accessible and cheap parking nearby next to Market Street. Excellent Chiropractors. Lloyd Cooke Has been a huge benefit. Now feel pain-free. Derek Steel Steve Lawrence is a brilliant Chiropractor and really nice, genuine guy. I first went to him after I did my back in" when he opened his Clinic in Nantwich he helped me then and has helped me through the years to the point now where I go to him every 6 months to maintain my spine health and keep my physical and to some extend physiological well being on track. I'm a former gymnast and Airborne Soldier so my spine has had a hard life - I cannot recommend Steve enough for his brilliant advice and care. Mark Brown As an international Ironman triathlete I need a lot of physical therapy support! I can genuinely say that chiropractic has made me well, kept me fit and sped my recovery from any irritable injury. If you are interested in your holistic health for sport or life in general then I don't hesitate to recommend Nantwich Chiropractic Clinic. Andrew Denton, CEO Outdoor Industries Association Very pleased about the care my family and I receive at Lawrence Chiropractic Clinic. We all attend a few times throughout the year for a check-up. Their spinal adjustments keep us mobile and their advice on exercise and nutrition has been superb, our energy levels are now fantastic and we no longer suffer from regular colds through the winter months. G.L. You keep me mobile! I have a regular maintenance programme which is good. I have been a patient here for years. I always find the receptionists very helpful also, trying to fit me in when needed A.H. I came, they saw, they conquered! Colin Morrey After living for months with a bad back, coming to Nantwich Chiropractic Clinic has helped my pain enormously!. I no longer walk around in agony! Staff are very friendly E.E Many thanks to the team at Nantwich Chiropractic Clinic, my lower back pain which I had lived with for several years has now been corrected. S.A Since, on the recommendation of a friend, first coming to the clinic about four years ago I have had no further bouts of the pressure-related vertigo which had previously been occurring. Dr Lowena at first then Dr Xanthe have done an excellent, highly professional job with a pleasant manner. Reception staff have always been friendly and welcoming. Highly recommended. Geoff Maddocks I started bringing my 5-year-old daughter to the practice over 2 years ago with sleeping problems and a chronic cough. Dr. Steve has been incredibly patient with her and made the consultation as fun as possible. We have received excellent nutritional advice that our family has been able to use to improve our wellbeing as a whole. M. Howe Like most working men who do heavy lifting have a history of back problems which from time to time seem to flare up. Dr Steve my chiropractor has always been able to correct my ailments and keep me free from pain. As my grandchildren grew up and started taking an interest in sports, gymnastics and football inevitably they both sustained what would be described as minor injuries including bone displacements in feet and strained muscles. Dr. Steve has always managed to get them fit again for the next important match. I wholeheartedly can recommend Dr. Steve's treatments for all types of injuries. John and Family, Whitchurch Gallery Our Services Featured Articles Read about interesting topics August Newsletter: What Is Text Neck and How Can Chiropractic Care Help? Wondering if your neck pain is related to your digital habits? ... Read More October Newsletter: When to Consider a Chiropractic Adjustment These seven complaints may mean you need a chiropractic adjustment. ... Read More September Newsletter: The Benefits of Prenatal Chiropractic Care Looking for a solution for pregnancy aches and pains? Try prenatal chiropractic care ... Read More August Newsletter: How Spinal Decompression Helps with Chronic Back Pain Feeling defeated by your chronic back pain? Spinal decompression therapy could help. ... Read More September Newsletter: How Chiropractic Care Can Help with Elbow Pain Can't get rid of your elbow pain? Chiropractic care could soothe your aching elbow. ... Read More June Newsletter: Does Chiropractic Care Help with Damaged Discs? Not sure what to do about damaged spinal discs? Why not relieve your pain with chiropractic treatment? ... Read More June Newsletter: How Chiropractic Care Can Help with Chronic Fatigue Do you feel tired all the time due to chronic fatigue? Chiropractic care offers a natural solution. ... Read More July Newsletter: How Your Chiropractor Can Help with Headaches After a Car Accident Got a headache after a car accident? Chiropractic care could ease your pain. ... Read More October Newsletter: How Chiropractic Care Helps with Auto Accident Injuries Been in an auto accident? Soothe your aches and pains with chiropractic care. ... Read More July Newsletter: How Chiropractic Adjustments Can Help You Keep Your Spine Healthy Could chiropractic adjustments help you improve your spine health? ... Read More No Health Form settings found. Please configure it. Locations Office Hours Nantwich Chiropractic Clinic Monday: 9:00 am-1:00 pm Closed Tuesday: 9:00 am-1:30 pm 3:00 pm-7:00 pm Wednesday: 9:00 am-1:30 pm 2:40 pm-7:00 pm Thursday: 9:00 am-1:00 pm 1:00 pm-7:00 pm Friday: 9:00 am-1:30 pm Saturday: Closed Closed Sunday: Closed Closed Lawrence Chiropractic Clinic Monday: 2:00 pm-7:00 pm Tuesday: Closed Closed Wednesday: 8:00 am-6:00 pm Thursday: 2:00 pm-7:00 pm Friday: 8:00 am-6:00 pm Saturday: Closed Sunday: Closed Copyright © 2025 MH Sub I, LLC dba iMatrix. Admin Log In _ctRewriteUrl = "https://apps.chiromatrixbase.com/CallTracking/RewriteRule/clientId/18603"; +function() { "use strict"; // Show ada-toolbar btn after page is loaded window.onload = function() { document.getElementById("ada-toolbar").style.display = "block"; }; var activeModal = null, i, toggleModal = function(id) { id = (typeof id !== 'undefined') ? id : null; // Close if another modal is visible if (activeModal) { activeModal.style.display = "none"; } // Select the modal if id is provided if (id) { activeModal = document.getElementById(id); activeModal.style.display = "block"; } // Get the links in the modal and the event handlers var link = activeModal.querySelector(".ada_modal--link"), closeBtn = activeModal.querySelector(".ada_modal--close"), linkHandler = function(e) { if (e.which === 9) { e.preventDefault(); closeBtn.focus(); } }, closeHandler = function(e) { if (e.which === 9) { e.preventDefault(); link.focus(); } }, escButtonHandler = function(e) { if (e.which === 27 && activeModal !== null) { e.preventDefault(); activeModal.style.display = "none"; } }, closeModalHandler = function(e) { if (e.target == activeModal) { e.preventDefault(); e.stopPropagation(); toggleModal(); } }; if (id === null) { // remove the event listeners activeModal.removeEventListener('click', closeModalHandler); link.removeEventListener('keydown', linkHandler); closeBtn.removeEventListener('keydown', closeHandler); document.removeEventListener('keydown', escButtonHandler); activeModal.style.display = "none"; activeModal = null; return; } // add event listeners for tab, shift + tab and close modal activeModal.addEventListener('click', closeModalHandler); closeBtn.addEventListener('keydown', closeHandler); link.addEventListener('keydown', linkHandler); document.addEventListener('keydown', escButtonHandler); link.focus(); }; // init the modals var modals = document.querySelectorAll("[data-action=modal]"); for (i = 0; i < modals.length; i++) { modals[i].addEventListener('click', function(e) { e.preventDefault(); toggleModal(this.getAttribute("data-modal-id")); }); } // button for enabling ada mode document.querySelector("[data-action=accessible]").addEventListener("click", function() { window.location.href = "?ada_mode=1"; }); // buttons for closing the modal var closeBtns = document.querySelectorAll("[data-action=close]"); for (i = 0; i < closeBtns.length; i++) { closeBtns[i].addEventListener("click", function(e) { e.preventDefault(); toggleModal(); }); }; // remove the ada toolbar document.querySelector("[data-action=remove-accessible]").addEventListener("click", function(e) { e.preventDefault(); document.getElementById("ada-toolbar").style.display = "none"; toggleModal(); }); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (!mutation.addedNodes) return; if (document.body.firstChild.id !== "ada-toolbar") { document.body.insertBefore(document.getElementById("ada-toolbar"), document.body.childNodes[0]); document.body.insertBefore(document.getElementById("ada-modal-on"), document.body.childNodes[1]); document.body.insertBefore(document.getElementById("ada-modal-off"), document.body.childNodes[1]); } }) }); observer.observe(document.body, { childList: true , subtree: true , attributes: false , characterData: false }); }();