hey i am working on a website for a restaurant that has a header with "home" "menu" and "about" tabs but i want to switch between the tabs while staying in the same page but only changing the contents of it according to each tab chosed. i managed to do that with jQuery by hiding s and showing the one i want by adding and removing classes but the problem is that whenever i refresh the page it returns to the main home page that are set to chow when page is loaded. so my question is: is there a way to make the webpage refresh with the changed classes made ???
Aucun commentaire:
Enregistrer un commentaire