Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with EasyTabs and <base href="X" /> tag #89

Closed
nikkow opened this issue Feb 26, 2013 · 1 comment
Closed

Conflict with EasyTabs and <base href="X" /> tag #89

nikkow opened this issue Feb 26, 2013 · 1 comment

Comments

@nikkow
Copy link

nikkow commented Feb 26, 2013

Hi,

I just met an issue while coding my scripts. I'm using the tag in my platform (to automatically add the main url in front of the link, to avoid problems with paths as I'm using URL Rewriting rules that look like this: http://site.ext/path/to/page).

Anyway this seemed not to work:

<div class="tabs">
    <ul>
        <li><a href="#tab-1">My tab</a></li>
        ...
    </ul>
    ...
</div>

It kept loading the homepage inside the tab. To avoid that, you can add the full URL of your current page which should look like this:

<div class="tabs">
    <ul>
        <li><a href="http://site.ext/the/current/page#tab-1">My tab</a></li>
        ...
    </ul>
    ...
</div>

And it works fine. I hope it'll help some of you :-)

Regards,
Nikkow.

@JangoSteve
Copy link
Owner

Sounds like this is working for you then. Thanks for reporting it, hopefully anyone who has the same problem will come across this in their search results. Closing now to help clean up the open issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants