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


Ignore:
Timestamp:
Oct 18, 2012, 1:24:08 PM (11 years ago)
Author:
webzter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8637, comment 3

    initial v1  
    22
    33We use the base tag on our site as well. Tabs worked perfectly in 1.8 but broke with the change to 1.9. We're exploring a work-around but this is a new behavior that, for better or worse, wasn't expected.
     4
     5edit: Our workaround was to append the current page's full url in front of the hash link for each tab.
     6
     7if base is http://mysite.com/theme then the code becomes
     8
     9{{{
     10<div id="tabs">
     11    <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    </ul>
     15    <div id="tab-1">Content of Tab 1</div>
     16    <div id="tab-2">Content of Tab 2</div>
     17  </div>
     18}}}