Questions tagged [tabs]

A user interface pattern that allows for the display of multiple pages or elements with a navigation reference above, below, or to the side of the content. On clicking the navigation reference, one element is made visible while others are toggled off. Often, the navigation reference is color-coded in a manner to indicate that it is currently visible.

A user interface pattern that allows for the display of multiple pages or elements with a navigation reference above, below, or to the side of the content. On clicking the navigation reference, one element is made visible while others are toggled off. Often, the navigation reference is color-coded in a manner to indicate that it is currently visible.

This can also refers to the character tab.
See this GitHub study about tab versus space.

14311 questions
57
votes
4 answers

Are search engines going to see my dynamically created content in Bootstrap tabs?

I have a page index.php with 3 Bootstrap tabs in it, and for each tab I am generating its content after user clicks on it. For example: when page is loaded I will execute SQL query that will get data from database only for first tab. when user…
offline
  • 1,589
  • 1
  • 21
  • 42
55
votes
10 answers

Remove line break in TabLayout

I just added the new TabLayout component to my app. As you may know there are two different modes for tabs app:tabMode="scrollable" and app:tabMode="fixed". When I use app:tabMode="fixed" I get following result: There's no margin/padding on the…
finki
  • 2,063
  • 1
  • 20
  • 23
55
votes
2 answers

How to get a list of backstack fragment entries in android?

I'm working on an application in which tabs are implemented using FragmentActivity. Since, tabs are required throughout the application, fragments are used extensively to make the application compatible on all the versions of android. As a…
Harshal Kshatriya
  • 5,630
  • 11
  • 44
  • 60
55
votes
3 answers

How to change tabs order in VIM?

Is there a way to change tabs order in Vim (i.e. change the position of the tabs in the tab bar)? For example, let's say my current tabs are in this order: A | B | C | D But I would like to switch the position of the tabs to something like: A | C |…
nothing-special-here
  • 11,230
  • 13
  • 64
  • 94
54
votes
6 answers

How to save all files in tabs on Vim?

If I have multiple files in tabs on VIM and I edit few of them. How to save them with one command?
rp101
  • 1,239
  • 2
  • 10
  • 10
54
votes
8 answers

TabControl with Add New Tab Button (+)

What is the proper way of adding a '+' button tab at the end of all the tab items in the tab strip of a tab control in WPF? It should work correctly with multiple tab header rows. It should be at the end of all tab items Tab cycling should work…
NVM
  • 5,442
  • 4
  • 41
  • 61
54
votes
11 answers

No resource identifier found for attribute 'layout_behavior' in package

My application worked fine until I tried to add a library to it. After I added the library, Android Studio gives me the following error: Error:(26) No resource identifier found for attribute 'layout_behavior' in package 'inf..' This is my…
user3421416
52
votes
16 answers

Switch to selected tab by name in Jquery-UI Tabs

If I have three tabs:
Rob
  • 2,332
  • 7
  • 31
  • 35
52
votes
7 answers

MacVim Open File In Existing Window

Is there a way to set up MacVim to open a new file in the current window in a running MacVim instance? I currently have the MacVim preference "Open new files in a new tab in the current window" set, but ideally I'd just like to open new files the…
davertron
  • 1,427
  • 1
  • 14
  • 28
49
votes
4 answers

How to launch a Google Chrome Tab with specific URL using C#

Is there a way I can launch a tab (not a new Window) in Google Chrome with a specific URL loaded into it from a custom app? My application is coded in C# (.NET 4 Full). I'm performing some actions via SOAP from C# and once successfully completed, I…
miCRoSCoPiC_eaRthLinG
  • 2,910
  • 4
  • 40
  • 56
49
votes
3 answers

How add tabs programmatically in UITabBarController with swift?

How to create programmatically tabs from any class extended by UIViewController: class DashboardTabBarController: UITabBarController { override func viewDidLoad() { //here } ... }
gellezzz
  • 1,165
  • 2
  • 12
  • 21
48
votes
17 answers

JQuery UI Tabs Causing Screen to "Jump"

I'm using the latest version of the jQuery UI tabs. I have tabs positioned toward the bottom of the page. Every time I click a tab, the screen jumps toward the top. How can I prevent this from happening? Please see this…
Edward
  • 4,331
  • 4
  • 20
  • 6
47
votes
8 answers

Best way to make Twitter Bootstrap tabs persistent

What is the best way of making these tabs persist? http://twitter.github.com/bootstrap/javascript.html#tabs To add some context, this is for a Ruby on Rails application. I'm passing an array [tab1, tab2] to my view, rendering both tabs and using the…
DanS
  • 17,550
  • 9
  • 53
  • 47
47
votes
18 answers

changing location.hash with jquery ui tabs

I've been trying to find a way to change the window.location.hash to the currently selected tab in Jquery UI Tabs. I've tried: $("#tabs > ul").tabs(); $("#tabs > ul").bind("tabsshow", function(event, ui) { window.location.hash = ui.tab; }) This…
Rob
  • 2,332
  • 7
  • 31
  • 35
47
votes
6 answers

How do I change the background of an Android tab widget?

My class extends extends TabActivity TabHost mTabHost = getTabHost(); TabHost.TabSpec tab1 =mTabHost.newTabSpec("tab1"); TabHost.TabSpec tab2 =mTabHost.newTabSpec("tab2"); tab1 .setIndicator("title tab1"); tab2 .setIndicator("title…
d-man
  • 57,473
  • 85
  • 212
  • 296