samedi 28 février 2015

Switching tabs on the "body" and "sidebar" simultaneously


So, I have this tabs on the body of the page (let's call it "X" and "Y")


And I have a sidebar which also has tabs (X-1) and (Y-1).


Sibebar tab 1 (X-1)'s content is related to the body tab "X" Sidebar tab 2 (y-1)'s content is related to the body tab "Y"


The question that I have is that, is there a way to switch sidebar tabs based on what body content you are viewing?


For example, if you are viewing tab X, then the sidebar shows tab x-1. If you switch to tab y on the body, then the sidebar tab also shows tab y-1 automatically.


Thanks.





Aucun commentaire:

Enregistrer un commentaire