Tab navigation and double content

Posted by Guisasso on Pro Webmasters See other posts from Pro Webmasters or by Guisasso
Published on 2012-10-24T15:43:50Z Indexed on 2012/10/24 17:15 UTC
Read the original article Hit count: 261

Filed under:
|
|

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.

© Pro Webmasters or respective owner

Related posts about html

Related posts about css