"on click change url"
Bootstrap 4.1.1 Snippet by amit0511989

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ---------->
jQuery(document).ready(function(){ jQuery('.toggle__target .cancel').on('click',function () { jQuery(".toggle__target").removeClass("is-opened"); history.pushState(null, null, "/"); location.reload(); }); }); jQuery('.services').click(function() { history.pushState(null, null, "/services"); }); jQuery('.products').click(function() { history.pushState(null, null, "/products"); });

Related: See More


Questions / Comments: