Jump to content

Jquery Tabs Help


JohnOP

Recommended Posts

Hi i am needing some help using jquery tabs

 

i have one page with tabs on them and when the user goes to each tab it shows diffrent content for each tab without refresh.

 

On one tabs content i have a reload button for the user to reload that tabs content but with just a normal reload it will go back to tab 1 and its content instead of the tab its on.

 

<ul id="home-ul" class="idTabs">
  <li id="home-li"><a href="#tab1">Subscribers</a></li>
  <li id="home-li"><a href="#tab2">Friends</a></li>
  <li id="home-li"><a href="#tab3">Video Views</a></li> 
  <li id="home-li"><a href="#tab4">Channel Views</a></li>
  <li id="home-li"><a href="#tab5">Website Views</a></li>
</ul> 

 

I cant reload the page to #tab2 because the #tabx does not get put in to the url when clicking as it doesnt refresh the page when moving through tabs.

 

Is there anyway i can get it to reload to a certain tab.

Link to comment
https://forums.phpfreaks.com/topic/252997-jquery-tabs-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.