FAQ Database Discussion Community


Need help moving HTML+CSS Tabs below the respective content pane

html,css,tabs
I use radiobuttons to create a simple tab-bar for a webpage, using only HTML and CSS. This is the current code: http://jsfiddle.net/nypd81x9/1/ <ul class="tabs"> <li> <input type="radio" name="tabs" id="tab1" checked /> <label for="tab1">Description</label> <div id="tab-content1" class="tab-content"> <p>content 1</p> </div> </li> <li> <input type="radio" name="tabs" id="tab2" /> <label for="tab2">Specification</label> <div id="tab-content2"...

Using Accordions and Tabs

javascript,jquery,html,tabs,accordion
This question has been asked before but not solved. I'm using jquery Tabs and Accordion, both on the same page and they simple won't work together. They work seperate on individual pages, but as soon as theyre on the same page the tabs won't work. In fact, it flips randomly...

How to capture RightMouse Click in empty area of tab control?

c#,tabs,control,area
I have a normal C# tab control. I want to execute a function when the user right-clicks in the empty area to the right of the right-most tab header (anywhere in the tab header area that's not a tab is ok too). I looked at positioning a hidden button in...

PyQT Qtabwidget hide and close certain tab

python,tabs,pyqt
Is it possible to hide and close a certain tab in Qtabwidget? I have 5 tabs, two of them are plots and generated while using my software. First I want to hide the two plots in the beginning and second I want to make them closable after there were generated....

Parse a JSON (array with tabs and arrays) with PHP

php,arrays,json,tabs
I have been trying to parse a JSON response since few days without success. I've read on the internet and this site how to parse with a foreach but I think the structure of json is too different from the examples I've found. So here is the JSON: array(1) {...

Following up emacs TAB indentation with TABs, not spaces

emacs,tabs
If my .emacs contains just the lines (setq-default indent-tabs-mode nil) (add-hook 'text-mode-common-hook (lambda () (setq indent-tabs-mode t))) I am expecting that if I edit a file list.txt containing <tab> - Item 1 <tab> - Item 2 and press return after Item 2, a tab will be inserted on the next...

Is there a “working” example of using jquery tabs with MVC 4 views in VS2012, VS2013 or VS2015

jquery,asp.net-mvc,asp.net-mvc-4,visual-studio-2013,tabs
I've seen lots of examples (mostly VS2010) of using Tabs in MVC but I can't get any of them to actually work in a view with newer version of the VS IDE. So is there an example including references which works in VS2013? My code which works in HTML but...

php open site in new tab (no window)

php,tabs
i need to open $url in new tab without any button(this is not any hidden ad or anything like that, but just bank website), because user already have to click button to execute java part of php code to generate values and then open new tab <a class="style_a" onclick="javascript:document.form_sms.submit()" href="#"><B>Confirm</B></a>...

Angular - Best way to load html page inside tab's content

javascript,angularjs,tabs,angular-bootstrap
I have multiple tabs in one master.html page and in every tab different tab*.html page is getting loaded. The page getting loaded inside tab's content has angularjs code Now issue here is when I load tab*.html separately is working as expected. Here Plunker for single page However, When I load...

TAB key in Code128 barcodes

tabs,barcode,code128
I'm trying to create a barcode with a TAB key within it. It seems as though some generators (only found one thus far) uses ~ as a TAB key. But I can't seem to get it to work with any of the other generators. I've also read that Code128 A...

How to set the last tab default in jquery Ul tabs?

jquery,tabs
I Use this Tutorial for my tabs. Need to set the last tab active default Anyone can help ?...

How to open a website in the same tab with javascript

javascript,tabs
So I am trying to make a tab system for my website and I have been using window.open("The Website") except when I use it, the site opens on a new tab. Is there a way to make it open on the same tab?

Disable fade In effect on second click of the element

jquery,tabs
I have created a custom Jquery tab, It's working fine but there I need a small change that I don't need fadeIn effect on second click of the current tab item means there need $(".tab_container") show as normally. How can I achieve that? //custom tab $(".tab_container").hide(); $('.tab_container:first').show(); $('.tab ul li...

Getting same list for two tabs in tabs with listview on start of activity

android,listview,tabs
So,I have this activity which has tabs with listviews in them, and the problems I'm facing are: The first and second tabs are having the same content i.e. the content the second tab should have is in first and second tab. The third tab has correct content, though this is...

Page captions (of tab control) not shown in print preview

ms-access,printing,tabs,ms-access-2010,print-preview
I'm using MS Access 2010 and have created a simple form with a 2-page tab control. On each page is a single label. In Design View, the form looks like this... In Form View, the tab control and appropriate label are shown as expected... However, when I print preview what...

Restoring instance variables in Android upon activity recreation

android,android-activity,tabs,fragment,recreate
I have an Android project for which I am creating a custom tab view. I have structured the main Activity (FragmentActivity) in such a way that it has a tab bar at the bottom of the screen with a FrameLayout above it. Each option on the tab creates a new...

Use Tab with new ToolBar (AppCompat v7-21) in mvvmcross

android,tabs,xamarin,android-toolbar
I have use support_v7 Toolbar as ActionBar, but i getting problem to add tabs in my activity. Is there any example to add tab with toolbar. I took a look at http://blog.ostebaronen.dk/2013/11/getting-support-v7-working-with.html

How to re-activate Lazyload when navigating between tabs?

tabs,jquery-lazyload
I used zurb's foundation for a website which had lots of images distributed over some tabs. It was very heavy to load so I used jQuery Lazyload to solve the problem. It worked beautifully except for the fact that it only loads the images on the 1st tab, which is...

Passing Browser Tab information at backend?

java,session,tabs,guid,browser-tab
Scenario: We have one analysis which gives different results based on different inputs. So if the user open the same analysis in two different browser tabs, the session variables being common will get overridden and output will be same in both tabs though we want different outputs based on different...

jquery ui datepicker not working with tabs

php,jquery,jquery-ui,tabs,datepicker
When a user switches tabs in the jquery ui code they can click on a button to add data to a jqgrid. The only thing that is not working is datepicker; it will launch one time and after that when switching to a new tab it will not launch again....

Showing and hiding fragments are not committed (don't occur) immediately when SwipeRefreshLayout is refreshing

android,android-fragments,tabs,instagram,fragmentmanager
So basically what I'm working on is very similar to Instagram application, where there're a number of tabs and users can switch to any tab without any delay no matter what there's anything going on, such as refreshing, reloading, and etc. It also uses back button to go back to...

Reload table Ajax jquery

jquery,ajax,tabs
I am developing a table , the table reload with ajax/jquery but table doesn't empty , append the next content to table. <table class="table" id="pujas"> <thead> <tr> <th>#</th> <th>Nombre</th> <th>Apellido</th> <th>Email</th> </tr> </thead> <tbody> </tbody> </table> Jquery <script> $(document).ready( function() { setInterval(function() { $.ajax({ url:'../ajaxpujas', dataType:'json', type:'get', cache:true, success:json, });...

android tabs not working

java,android,tabs,listener
I was following a tutorial about tabs in android and did everything exactly like in the video. There's a bunch of code, however i'm getting an error on one of the lines tab1.setTabListener(new ActionBar.TabListener(fragment1)); it says 'TabListener' is abstract; cannot be instantiated. How do I fix this? Here's the full...

Andoid, how can i get a row of a listview and send to other tab?

android,tabs,wifi
Ive got a scan scanning for wifi networks in a listview in tab1. So when i click on a network i want to go to tab2 and display the clicked network but more advanced information about it. How can i send the name of the netowrk(ssid) to the other tab...

Two line Tab Text

c#,winforms,text,tabs,multiline
I've seen this done in Visual Basic (though I haven't seen the code, or how it is done in design view, if that is possible). Is there way to create a two-line tab name in WinForms? Please see attached picture, I've circled it for emphasis. Surely, there must be a...

Android simple tabs with toolbar

java,android,layout,tabs,icons
I've been struggling with tab implementation in my application and seen a lot of resources on the matter but nothing appears to be working for me. I just want 4 simple tabs with icons above my toolbar, that's all. Can someone help me out on achieving this? Here's my code...

angular-ui-tab-scroll: Weird spacing beetwen block to tabs included separetely

javascript,jquery,css,angularjs,tabs
First of all, thanks for this great library! Now, i am facing a weird problem when wrapping a tabset with tabs included separately, ie either via single tab elements added manually in the DOM, either via group of tab added by use of ng-repeat: See this plunker: <scrollable-tabset show-tooltips="false"> <tabset>...

jQuery tabs - content appearing outside the tab border

jquery,css,tabs
UPDATE: I need to use IE8. I want to put some div's inside a jquery tab. The content is appearing but it's outside of the tab border: I've tried removing the border with #tabs {border: none} which works but I'd rather the border be there. This is the HTML for...

Disable a Tab in angularjs

angularjs,model-view-controller,tabs
I have created a demo at plnkr. I want to disable a particular tab say migration, I tried by writing disabled: true but it doesn't seem to work. http://plnkr.co/edit/0XgquovKIICmgGcSVSef?p=preview html code: <!doctype html> <div ng-app="TabsApp"> <head> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.js"></script> <script src="http://angular-ui.github.io/bootstrap/ui-bootstrap-tpls-0.6.0.js"></script> <script src="example.js"></script> <link...

How to easily make ionic tabs navigation

javascript,angularjs,tabs,ionic-framework
As I recently started working with "ionic", I am facing a problem making a "tabs navigation". I was following a simple tutorial, I made a navigation with two tabs, but I couldn't make three tabs, it doesn't work properly, I'm afraid I didn't understand the concept of these tabs. CODEPEN...

Chartkick and Twitter Bootstrap interaction is messing up my dashboard

twitter-bootstrap,twitter-bootstrap-3,tabs,chartkick
I am using Twitter bootstrap nav tabs to create a dashboard where the single page is tabbed for each graph. I am using chartkick to generate those graphs. When I pair it with tabs the second two tabs resize the chartkick graphs and make them unusable. <div> <ul class="nav nav-tabs...

Tabbed Content: Left Border Disconnected from Tabs Above - html CSS jQuery

jquery,html,css,tabs,border
I'm having a go at building a reusable tabbed content. The following is remixed from Shay Howe's jQuery Tutorial; catching up on HTML5/CSS3 skills. I've added a margin to further highlight the issue. Everything is spot on, but the left vertical border doesn't line up with the left side of...

Bootstrap Tabs First Tab dynamically loading without having to click on it

javascript,jquery,ajax,twitter-bootstrap,tabs
I use the Bootstrap tabs in my app and load some parts of the content of them dynamically via ajax calls. It works everything fine except the first tab... The tab is loaded, but the Ajax call is only submitted after a click on the tab. How can i make...

jQuery ui drop (move) elements between tabs

jquery,jquery-ui,tabs,draggable,droppable
I want to realize moving elements between tabs using jquery ui. If I want drop element to another tab - droppable block (.elements) doesn't catch hover event (outline doesn't want to apply), but dropping works correctly. $( "#tabs" ).tabs(); $('.elements').children().draggable({ appendTo: 'body', opacity: 0.9, helper: "clone", zIndex: 1000, cursorAt: {...

Crash at launch - ios 8.1 because adding UIButton's subview. EXC_BREAKPOINT (SIGTRAP)

ios,tabs,crash,launch,symbolicate
I have just got rejected by Apple with the following reason: We were unable to review your app, as it crashed on launch on the following device(s): - iPhone 5S running iOS 8.1- iPhone 6 running iOS 8.1- iPhone 6 Plus running iOS 8.1 Here is what I did: I...

how to pause timer in another activity in android

android,timer,tabs
I have a tabActivity public class MainActivity extends TabActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Resources ressources = getResources(); TabHost tabHost = getTabHost(); // Android tab Intent intentAndroid = new Intent().setClass(getApplicationContext(), AndroidActivity.class); TabSpec tabSpecAndroid = tabHost .newTabSpec("Android") .setIndicator("android", ressources.getDrawable( R.drawable.icon_android_config )).setContent(intentAndroid); //...

Clicking on angular ui tabs fires event many times

javascript,angularjs,tabs,angular-ui-bootstrap
I have 15 tabs using angular ui tabs like this This is template <tabset justified="true"> <tab heading="{{ tab.display }}" select="tsc.selectTab(tab.date)" ng-repeat="tab in tsc.tabs"> <div ng-include="'entries.html'"></div> </tab> </tabset> This is controller $scope.activeTabDate = ''; self.selectTab = function (tabDate) { $scope.activeTabDate = tabDate; }; Now This is my child controller for entries.html...

border on bootstrap tabs content

css,tabs,bootstrap,right-to-left
I want to add a border to my tab content. There should be no border at the bottom of the selected tab. I found this questions: how to give a border to bootstrap tab contents, but the answers didn't work for me? HTML: <ul class="nav nav-tabs pull-right"> <li><a data-toggle="tab" href="#sub_cats_8">תתי...

Change Value of a tab fragment

android,android-fragments,tabs
I'm having some problem to change text value of a tab at runtime, I tried every answer at stack overflow and any answer solve it. I want to change the text when I change the tab. I'm Using for create the tabs this tutorial: Material Design Tabs and I capture...

Android: how to change menu item at page scrolling with ViewPager?

android,android-fragments,tabs,menuitem,swipe-gesture
The last version of WhatsApp does what I'm talking about. When you scroll between tabs the toolbar shows different menu options. I can implement ViewPager with adapter and fragments but not this. How could it be done? I really don't know what kind of trick is behind. It changes everytime...

Android Studio: How to go to a specific tab in a Sliding Tab Layout from another activity

java,android,tabs
In my Main Activity I have a Sliding Tab Layout with three tabs. Clicking on a button in the first tab leads to a series of activities. I want the following: Clicking on a button in the last activity of the series should take the user to the second tab...

AngularJS Material Design : Different colors for different tabs in md-tabs

angularjs,tabs,angular-material
Is there a way to set different background colors for different tabs in md-tabs ? The default is no color as can be seen in tabs demo I tried <md-tabs background-color="green"> but it's not working...

Android Tabcontent overlap with tab

android,xml,android-layout,tabs
Hi I need some help with Tab. Got some layout advice need to consult. My current tabcontent seems to overlap with my tab. Anyway to go about preventing that? main.xml <TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:id="@+id/LinearLayout01" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> <FrameLayout...

angular bootstrap scrolling tabs

angularjs,scroll,tabs
Guys I am beginner in AngularJs and javascript. In my project, I am using this plugin https://github.com/mikejacobson/angular-bootstrap-scrolling-tabs but I am facing error and I am not able to find the root cause even after spending too much time. Here's my HTML code - <div class="scrolling-tabs-container" ng-controller="MainController as main"> <div scrolling-tabs-wrapper>...

AngularJS tabs with ng-repeat

angularjs,tabs,ng-repeat
I asked this question before and was wondering maybe somebody has had a similar problem and maybe know how to deal with it? My plnkr! Angular tabs are not working with ng-repeat. It seems that Angular can't put together tab value from click and tab value from ng-show. My code:...

Android Design Support TabLayout overlapping content

android,layout,tabs,android-toolbar,androiddesignsupport
I am using the new TabLayout introduced in the design support library. I have the code like this: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="match_parent" android:layout_width="match_parent"> <android.support.design.widget.CoordinatorLayout android:id="@+id/lines_coordinator" android:layout_width="match_parent" android:layout_height="match_parent"> <android.support.design.widget.AppBarLayout android:layout_width="match_parent"...

display the contents of another page inside tabs

jquery,tabs,bootstrap
how am I going to display the external page inside my tabs? I have these four tabs and aiming to call the external pages when it was clicked. <div class="bs-example bs-example-tabs" role="tabpanel" style="padding-top: 70px;"> <ul id="myTab" class="nav nav-tabs" role="tablist"> <li> <a href="#ViewPools.aspx" id="#tab0" role="tab" data-toggle="tab" >Pool </a></li> <li> <a href="#tabCategory"...

Updating the contents on tab changed in view pager

android,tabs,android-viewpager,fragment,pagerslidingtabstrip
I am scracthing my head for past 1 day but unable to find the solution. In mine application there are two tabs under the toolbar First tab is USER-TAB the second one is ADMIN-TAB In both the tabs there are the listView. When a ListItem on the USER-TAB is clicked...

How to display text in browsers tab bar in a javaserver page [closed]

html,jsp,browser,text,tabs
I have heard of being able to display images in a browsers tab bar here: http://stackoverflow.com/questions/120420/image-icon-beside-the-site-url But I was wondering if there might be an easier way to do this for just some simple text? I am trying to display just two lines, last login and IP address in this...

change custom product tab position in admin grid Magento

magento,tabs,position,admin,product
Hi i have added a new product tab in admin grid by following the below link http://inchoo.net/magento/how-to-add-custom-product-relations-in-magento/ Everything is working fine. BUt this has added the new tab at the last position in product edit section. Can you please suggest me how can i change the position of that tab....

Zurb Foundation grid or block grid not working with vertical tabs

html,tabs,grid,zurb-foundation,zurb-foundation-5
I have a set of vertical tabs, and when I try and nest in some grid or block grid elements everything seems to overflow outside of the element i.e the 1,2,3 should be in the right section of the below image <div class="row"> <div class="medium-8 columns"> <ul class="tabs vertical" data-tab>...

Preference Screen in SlidingTabLayout

java,android,tabs,screen,preference
I am currently using the example from Google's slidingtablayout in my code. I would like to replace one of the tabs' layout as a preference screen instead of the current linear/relative layout. How can I do this?...

Adding a search function to the Android tab bar

android,mobile,tabs,navigation
We're developing an app on the Android platform. We currently have 3 tabs on the top for navigation. To save on space, it is permissible to add the search icon to the extreme right of the Tab bar on the top? Or does it against the Android Design Guidelines?

Android - App crashes, using Swipe Tab Views

android,tabs,tabview
I have looked at every tutorial on the Internet about swipeable tab views with Android. Every time I use a different code, it crashes! The logcat gives this error: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setNavigationMode(int)' on a null object reference I have no idea why this...

Load Google Maps in a tab when tab is picked, and not from begining

java,android,google-maps,android-fragments,tabs
I have a TabLayout with 2 tabs. First tab ( Main tab ) is a list of store in a listview Second tab is the same list in a Google Maps. I noticed that When I go by default in the first tab ( list ), the GPS icon appears...

how to auto complete files names on bash script?

linux,bash,shell,tabs
I have a bash shell script that cd to directory according to a variable. After that I press Tab and files don't appear like in terminal. Ex: #!bin/bash clear mypath=/opt/projects/ cd $mypath echo "Enter tour file:" read n echo $n on read code ups, the files don't appear when I...

How to have tabs of a ttk Notebook in different rows?

python,tabs,tkinter,ttk
In the below program i have many tabs in a single notebook page. when the number of tabs increases the look changes. So how to put the tabs in different rows As in attached image, I have many tabs in a single row, but I want some tabs say from...

How to use multiple instances of Jquery-tabs.js in one page

javascript,jquery,html,jquery-ui,tabs
I'm very new to HTML and jquery, and have been trying in vain to get multiple instances of the jquery-tabs.js widget to run twice within the same page on my website. Below is the HTML code for my first tab. <div id="tabs-container"> <div id="tabs"> <ul class="mctabs"> <li><a href="#view1">ContentA</a></li> <li><a href="#view2">ContentB</a></li>...

CSS Slider's Tab's Active Class (Bootstrap) doesn't work on second slide

css,twitter-bootstrap,tabs,slider
I am using a CSS Slider that utilises two sub tabs in each slide. The slider's sub tabs use Bootstrap's 'Active' Class on the li that then changes the inactive li's class to active when the inactive tab's navigation arrow (< or >) is clicked. The sub tabs work correctly...

Manually triggering the ttk notebook tab change event

python,events,tabs,tkinter,ttk
I'm talking about <<NotebookTabChanged>> event that ttk.Notebook can be bound to. Say I have: def tabChanged(self, event): print "tab changed" And say I want to manually trigger this method. What I actually mean by this is, say I have a basic, tabbed GUI and there's a start button which makes...

Freeze first tab in C#.net tab control

c#,.net,tabs,freeze
Is there a way to freeze the first tab of a C#.net tab control? I have a tab controller which can have many tabs. If the user is scrolling them the first tab should remain in the first position and rest of the tabs should move. I have tried to...

NullPointerException navigationDrawer and tabs in android

android,tabs,navigation-drawer
I try to create navigationDrawer and tabs in android, but get this exception: 06-20 17:10:35.717: E/AndroidRuntime(17235): FATAL EXCEPTION: main 06-20 17:10:35.717: E/AndroidRuntime(17235): Process: com.dusandimitrijevic.spisakzakupovinu, PID: 17235 06-20 17:10:35.717: E/AndroidRuntime(17235): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dusandimitrijevic.spisakzakupovinu/com.dusandimitrijevic.spisakzakupovinu.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void...

ActionBar tab implementation fails in Fragment

android,android-fragments,tabs
Requirement: Fragment should provide Actionbar tabs after calling through MainActivity Problem facing: after calling fragment, actionbar tabs gets invisible after showing for 1-2 secs. Here is Fragment: public class tabFragment extends Fragment implements ActionBar.TabListener{ SectionsPagerAdapter mSectionsPagerAdapter; ViewPager mViewPager; public static tabFragment newInstance() { return new tabFragment(); } @Override public void...

String concatenation not working in HTML declaration of TABS through PHP variables [closed]

php,html,variables,tabs
The below code is not showing similar results as other one : <?php $week = array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); $k=0; while ( $k<= 6) { $t=$k+1; echo "<li>"; echo "<a href=#panel-".$t." data-toggle='tab'>".$week[$k]; echo "</a></li>"; $k+=1; } $a=1; echo '<div class="tab-content"> <div class="tab-pane" id="panel-"'.$a.'> <div class="alert alert-info" role="alert"> <a href="#" class="alert-link">'.$week[$a].'Bazaars</a> </div>'; ?>...

Swift and Xcode - How to Create Custom Tab Bar Icons

ios,xcode,tabs,icons,photoshop
I have a tabbed application project I am working on in Xcode written in Swift (Xcode 6.3 and Swift 1.2). I am having a lot of trouble with custom Tab Bar icons. I have designed an image in Photoshop (CS6), saved it as a PNG, resized it in Prepo to...

Chrome extension find tabs

javascript,api,google-chrome,tabs
I am creating a chrome extension which should open a new tab when clicked, which would take you to google. Currently I have this chrome.tabs.create({ "url": "http://google.co.uk", "index":0, "pinned":true }); how can I search the tabs too see if that tab is open and if it is pinned.If it is...

jquery detect when mouse over tab before closing

jquery,tabs,hover,window,close
I want to display an image on my webpage when the user hovers over the tab top section to close the window. i.e. wait we have special promotion. example can be seen here: http://www.twoj-priz.com/cgi-bin/wingame.pl I tried searching on my own but could'nt find how to do it. Can you kindly...

Tabs in TabLayout not filling up entire ActionBar

java,android,tabs
I am using a TabLayout and ViewPager to display ActionBar tabs following the guide here, however my tabs are squished to the left side of the ActionBar, shown below: and I would like them to take up the whole bar with equal widths. I've made only a few minor changes...

Calling Fragment from inside the BaseAdapter class in PageViewer Android

android,android-fragments,tabs,transactions,android-viewpager
Hi I am new to Android and am using PageViewer in my project to show Tab swiping and other such stuff I have used 4 tabs and and used fragments for each tab Now 1 of the tabs I have a list on which button is there to call another...

Targeting tabs on page with direct URL link breaks URL on tab click

javascript,jquery,hash,url-rewriting,tabs
I'm trying to create a tabbed area within my page. The tabs navigate hidden areas with out leaving the page. I also want to be able to link to an area with in the page. It's working except when you click the menu as well as revealing the hidden area...

How to make element inside table switch tabs using jquery ui tabs

javascript,jquery,jquery-ui,tabs,jquery-ui-tabs
Hi what I'm trying to do is to create a a tabbed paged in which the elements inside the table can also be used to switch to another tab. I was able to make the tab work using jquery ui but the problem is when I click the element inside...

How to avoid calling 'onCreated()' method of near tabs when i switch to some tabs?

android,eclipse,tabs,fragmentpageradapter
i'm working on application in eclipse that have 5 tab and i have spent much time for that but now i have a big problem : when one of tabs is activated the next tab and prev tab is loading too and onCreated() method is called but i don't need...

“label.error” seems to always be present on every bootstrap tab

javascript,jquery,twitter-bootstrap,tabs
I can't figure out why $('label.error') is showing up on every bootstrap tab when that particular element should only show on 1 tab. I have a field that's not passing validation on a bootstrap tab and thus a label with class error is being appended the DOM on the violating...

How to determine which tab was right clicked on?

c#,tabs
I have seen this question asked multiple times, all with the same answer. For some reason it does not work correctly in my program. This is the basic answer that everyone gives to this question... for (int i = 0; i < tabs.TabCount; ++i) { if (tabs.GetTabRect(i).Contains(e.Location)) { //tabs.Controls[i]; //...

Jquery ui tabs error

html,css,jquery-ui,tabs
I create tab with jquery ui and I want to tab appear after on click. But tabs title appear before on click in index page. How can I solve this problem? (Hourly Forecast, 10 Day Forecast in shared image) CSS #tabs1{font-size: 14px; } .ui-widget-header { border: 1px solid #b9cd6d; color:...

iOS - Return to Safari from Native App without Opening New Tab

ios,tabs,safari,native
I am having trouble figuring out how to switch to Safari from a native app in iOS 7+. I've used UIApplication.sharedApplication.openURL(), but that opens a new tab. I would like to return the user to the current page he/she was viewing before without opening a new tab. I found this...

CSS Tabs not growing with content

html,css,tabs
I have an issue with a web app I'm developing which is to have several tabs for various content. The problem is, the tabs are not growing to wrap the entire content. CSS Code is here: .w3c { height: auto; min-height: 250px; position: relative; width: 100%; } .w3c > div...

SWT CTabFolder doesn't display when running from eclipse

eclipse,tabs,swt,windowbuilder
I am creating an app using WindowBuilder in eclipse 4.4.2. I've added CTabFolders and corresponding CTabItems. The tabs are displayed properly when Click the preview button(Quickly test/preview the window without compiling or running it) in windowbuilder. Screen Shot===> http://i.imgur.com/Sx9TQrL.jpg But the real problem is when I run the app,the tabs...

How to get rid of the bottom shadow in label of the css tabs

css,tabs,positioning,shadow,box-shadow
I'm making the css tabs with shadows. How can I get rid of the bottom shadow in label? Here's an example: http://codepen.io/ekscentrysytet/pen/QbNdEB I've tried z-index: -1; for label:after but shadow disappears....

Change TabItem's Header FontWeight

wpf,tabs,controltemplate
I would like to change the TabItem's Header FontWeight to Bold when IsSelected = True from my ResourceDictionary. Some Code <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type TabItem}"> <Grid> <Border Name="Border" Background="White" BorderBrush="White" BorderThickness="1,1,1,0" Margin="0,0,0,-1" > <ContentPresenter x:Name="ContentSite" Height="25" VerticalAlignment="Bottom" HorizontalAlignment="Center" ContentSource="Header" Margin="12,2,12,2"/> </Border>...

How can i access the control in fragment in a tabed layout in android?

android,android-fragments,tabs,nullpointerexception
I create a project in android and use page view and fragment to create a tab layout and I create a control in each fragment (3 fragment) Now the problem is Here : In the main activity class in the oncreate() method I want to set text to a text...

Creating pages within tabs with Javascript - Link not working

javascript,html,dom,tabs
I have an HTML with tabs, based on this example: http://inspirationalpixels.com/tutorials/creating-tabs-with-html-css-and-jquery What I'm trying to do is to create sub-pages within each tab. An arrow at the bottom of the tab text links you to more text, within that current tab's div. It works in HTML, but when I try...

How to update a FirefoxDriver (WebDriver) object when opening, and switching between tabs?

java,firefox,selenium,tabs,selenium-firefoxdriver
Long time lurker; first time poster. I'm fairly new to the Selenium API and WebDriver, and I'm having a small problem. In short, I am attempting to leverage the Firefox tab feature using Selenium's FirefoxDriver, but my driver instance object is not returning the correct URL using its getCurrentUrl() method...

onTabSelected Selected Not Called

android,tabs
I have just migrated my old actionBar to new TabLayout ( Support Material Design ) Everything is great but I can't intercept tab selection The method onTabSelected is only called the first time tabLayout is displayed, but when clicking tabs, nothing happens! Any idea what's wrong with this code? tabLayout...

AngularMaterial: Custom md-tab-label in md-tabs

angularjs,tabs,angular-material
According to md-tab Documentation we can have custom md-tab-label, which I'm trying to do like this: <md-tab-label class="my-label"> Label </md-tab-label> My css: .my-label{ background: #40FF00; } However, the background color is not appearing for tab labels. Am I doing something wrong ?...

CMFCTabCtrl color customising

colors,tabs,mfc,color-scheme
Is there the way to change the line and background colors of CMFCBaseTabCtrl? I can change tabs color via SetTabBkColor(...) or SetAutoColors(...) but control's header and lines remain grey. SetSysColors(...) is not an option because it changes colors globally for entire OS. Basically we need to apply some lite/dark color...

Angular strap tabs doesn't open any tab on data reload

angularjs,tabs,angular-strap
I'm playing around with angular strap tabs and got into an issue where if I reload the data that the tabs are based on then none of the tabs are actually open. It just shows the top headers, but no data for any of them. If you click a tab...

Java Swing Tabs with multiple panels [closed]

java,swing,tabs,pane
is it possible to create a (new)panel inside a tab when you press a button inside the (current)panel?So that the layout is different to the (current) panel? For example the button is just "next". i can't find anything on google, i have the feeling that my approach is not possible....

How to open in new tab using button

javascript,html,css,button,tabs
<script type="text/html" id="marketSelection"> <h3 class="choose-store">Choose your store:</h3> <div class="text-center"> <% _.each(suppliers, function (supplier) { %> <button class="btn-custom supermarket-item" data-id="<%= supplier.id %>"> <i></i><%= supplier.name %> </button> <% }) %> </div> /*File:src/js/data.js*/ var cookie_selectedSupermarket = CookieManager.retrieve('supplierId'), cookie_selectedPostalCode =...

Setting SharedPreference within Fragments as Tabs

android-fragments,tabs,sharedpreferences
I'm having problems with what I thought was a simple use of SharedPreferences! Aim: I've a ActionBar/Tab application with a MainActivity and 4 Tabs as swipe Fragments. I want the App to remember the last user selected Tab, so that on the next start of the App, it defaults to...

Coldfusion dynamic output of Bootstrap tabs

dynamic,coldfusion,tabs,bootstrap
Can anyone tell me why this code for bootstrap tabs doesn't work? The tabs are visible and mouse over in the normal way, but nothing happens when I click on them? <div role="tabpanel"> <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"><a href="#home" aria- controls="home" role="tab" data-toggle="tab">Home</a></li> <cfoutput...

Add tab under android.app.fragment

android,android-fragments,tabs,android-viewpager
I want to add tabs inside android.app.fragment and not to be in action bar All solutions on the web are talking about tabs inside an activity, tabs in the action bar, tabs inside android.support.v4.app.Fragment this is available in my case. Thank you...

Multiple jQuery UI Tabs on Page: Close all other tabs when another is opened

jquery,jquery-ui,tabs,jquery-ui-tabs,jquery-tabs
I've got several rows of of separate jQuery Tabs. How do I get the separated tabs to close when another is opened (so at max, 1 is open at any given time on the page): Markup: <!-- First Leadership Row --> <div id="leadershipTabs1" class="leadershipTabs leadershipContentContainer contentContainer clearfix"> <ul> <li><a href="#leader1-slug">Leader...

Tabbed Notepad - not able to remove close button

c#,winforms,tabs,notepad
I'm trying to create a tabbed notepad application but having problems in deleting the "close buttons" on the tabs. The tabs gets removed as they should, but I'm only able to remove 1 close button. Can anyone please help and direct me into the right direction: using System; using System.Collections.Generic;...

How to edit .vimrc file to replace tab with spaces?

vim,tabs,yaml,spaces
I am writing a Python script which writes some formatted data into a YAML file. I am using tabs for formatting the text, but I want the tabs to be converted into spaces when written into the YAML file. This is because my YAML file does not take tabs as...

In JQuery UI Tabs: how to show the selected tab after activating it via JavaScript?

jquery,jquery-ui,tabs
I'm working on a website that uses the JQuery UI Tab widget and can quite often have more tabs open than can be viewed on the screen. When this happens there is a right/left arrow to scroll through the tabs. My problem is that if I activate a new tab...

How to stop URL with hash from jumping to anchor?

javascript,jquery,tabs,anchor,hashtag
I've tried almost everyone's answer to similar problems and the answers haven't help me. So i'll post my codes and then explain a little more details of what is my problem. Link to see codes in and editor. http://jsbin.com/nudavoseso/edit?html,js,output Code inside .html body. <div class="tabs"> <ul> <li><a href="#content1">Tab 1</a></li> <li><a...

How to handle listview event while using new android sliding tabs technique?

java,android,listview,tabs
I tried searching internet but I found all tutorials to be using old tabhost technique. I am using new toolbar and adding tabs under it. I want to display contents fetched from database in listview dynamically when that particular tab is focused. Following is my Activity code: [EDITED] public class...

jQuery tab moves to last tab on button click

jquery,ajax,tabs
I am making an eCommerce web application in Laravel and I am stuck at a point to add products in the admin panel. There are 3 tabs for adding the products General Information Meta Information Product Options. I am using AJAX with for inserting the data in the database. My...

Load to the first tab when select onchange HTML/PHP

javascript,php,jquery,html,tabs
I want to load the first tab when I select a value. If the user changes the selected value when he is inside the second tabs it should load the first tab. How can I do this? <script> $('#select1').on('change', function (e) { var defaut = '#menu1'; $('#myTab li a').defaut.tab('show'); });...