HTML Sitemap

Pages

Make An Appointment
First
Last

$('.side > .menu > li.menu-item-has-children > a').click(function(e) { e.preventDefault(); var $this = $(this); if ($this.next().hasClass('show')) { $this.next().removeClass('show'); $this.next().slideUp(350); } else { $this.parent().parent().find('li .sub-menu').removeClass('show'); $this.parent().parent().find('li .sub-menu').slideUp(350); $this.next().toggleClass('show'); $this.next().slideToggle(350); } });/* ------------------------------------------------------------ Function to activate form button to open the slider. ------------------------------------------------------------ */ function open_panel() { slideIt(); var a = document.getElementById("form-sidebar"); a.setAttribute("id", "sidebar1"); a.setAttribute("onclick", "close_panel()"); } /* ------------------------------------------------------------ Function to slide the sidebar form (open form) ------------------------------------------------------------ */ function slideIt() { var slidingDiv = document.getElementById("slide-in-slider"); var stopPosition = 0; if (parseInt(slidingDiv.style.right) stopPosition) { slidingDiv.style.right = parseInt(slidingDiv.style.right) - 2 + "px"; setTimeout(slideIn, 1); } }