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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.