I'm trying to link to specific tabs using flickity.css http://flickity.metafizzy.co/ and i'm having trouble. I know this has been a common problem using php but is there a known method (possibly using javascript) to create unique urls for all of the tabs created inside of "nav nav-tabs"? I'm trying to use a redirect to link to a certain tab after an event is completed. Using php would there be a way to path to that specific event?
<ul class="nav nav-tabs" id = "tab-style">
<li class = "active"><a data-toggle = "tab" href = "#profile"></li>
<li><a data-toggle = "tab" href = "#friends"></a></li>
<li><a data-toggle = "tab" href = "#games"></a></li>
<li><a data-toggle = "tab" href = "#context"></a></li>
</ul>
That is the code for creating the tabs all inside the same html file. The divs are created in the standard way. For example.
<div id = "profile" class "tab-pane fade in active">
tab contents
</div>
<div id="friends" class="tab-pane fade">
</div>
and so on...