bootstrap-responsive-tabs icon indicating copy to clipboard operation
bootstrap-responsive-tabs copied to clipboard

a real link inside the nav-tabs

Open maki3000 opened this issue 10 years ago • 5 comments

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 avatar Nov 19 '14 11:11 maki3000

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..

maki3000 avatar Nov 19 '14 12:11 maki3000

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.

mav2287 avatar Jan 24 '16 04:01 mav2287

Is this possible to do in the bootstrap collapse?

openam avatar Jan 24 '16 23:01 openam

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.

mav2287 avatar Jan 25 '16 18:01 mav2287

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...

dabustard avatar May 23 '16 12:05 dabustard