Tab navigation and double content
- by Guisasso
I have a website in which i use tabs to navigate between pages. For example, page a displays A as an active tab and B and C background tabs.
If the visitor gets to the website via page B, i also would like to display to page d, but not a and c.
Question:
I know i can just create index2 for b for example, so when the visitor gets to b from a, i display a,b,c and index1 when visitor gets to b from d for example.
Is that a bad practice? I know double content isn't good, but in which other way can i or should i approach this problem?
The tab navigation i designed uses < li and id tag do display active tab, defined in the < body tag.