I have a page on my site that has a tab bar. It works with jQuery, but it works so that the contents of all tabs are loaded initially. I need to implement this: the content of each tab is in a separate file and is connected as soon as I switch to the tab (the whole page is not updated).
This is easy to do with ajax, but plus I need everything to change the link to the page, i.e., for example, the tab bar on www.mysite.ru/tabs
, when you click on a certain tab, the link should look like www.mysite.ru/tabs/tab1.php
. Of course, this can be done with a full page reload, but I would like to use ajax.
Thank you in advance.