Changes between Version 1 and Version 2 of Ticket #8637, comment 3


Ignore:
Timestamp:
Oct 18, 2012, 2:05:52 PM (10 years ago)
Author:
webzter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8637, comment 3

    v1 v2  
    55edit: Our workaround was to append the current page's full url in front of the hash link for each tab.
    66
    7 if base is http://mysite.com/theme then the code becomes
     7if base is http://mysite.com/theme
     8and current page is  http://mysite.com/site
     9then the code becomes
    810
    911{{{
    1012<div id="tabs">
    1113    <ul>
    12       <li><a href="http://mysite.com/theme#tab-1">Tab 1</a></li>
    13       <li><a href="http://mysite.com/theme#tab-2">Tab 2</a></li>
     14      <li><a href="http://mysite.com/site#tab-1">Tab 1</a></li>
     15      <li><a href="http://mysite.com/site#tab-2">Tab 2</a></li>
    1416    </ul>
    1517    <div id="tab-1">Content of Tab 1</div>