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

a real link inside the nav-tabs #25

Open
maki3000 opened this issue Nov 19, 2014 · 5 comments
Open

a real link inside the nav-tabs #25

maki3000 opened this issue Nov 19, 2014 · 5 comments
Labels

Comments

@maki3000
Copy link

hello!

i have a real link inside the nav-tabs. of course there is no content in the tab-content for it, because it links to a new page. also the href doesn't look something like this: href="#profile", but e.g. like that: href="http://www.example.com". of course the responsive tabs script crashes there, because it has no content for the tab and it can't do something with the href.
is there a solution for that? i tried to add a class "no-content" to the real link i the tab and then tried to make the responsive tabs script to ignore this one. but i didn't succeed..

@maki3000
Copy link
Author

i really hacked now the script and succeded in adding a real link to the responsive tabs. would be nice if there would be a standart option or class to add if there's a real link under the tabs..

@openam openam added the feature label Jan 3, 2016
@mav2287
Copy link

mav2287 commented Jan 24, 2016

I had the same issue the problem is that when it makes the new link it makes the href="#" instead of keeping what was their if it is already a link.

@openam
Copy link
Owner

openam commented Jan 24, 2016

Is this possible to do in the bootstrap collapse?

@mav2287
Copy link

mav2287 commented Jan 25, 2016

yea, as long as you don't have the data-toggle="collapse" on the link you can. The problem comes in when you try to do something like this http://www.bootply.com/ZobVKYt63X In that case I have a drop down button. When the responsive tabs does it's thing it makes each link in the drop down button a header, which would be fine, but they no longer work as links.

@dabustard
Copy link

Solution has not been found yet? It important because real link is working well in a default bootstrap tabs but with installed responsive script it is not...

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

No branches or pull requests

4 participants