tabs

dividers between TabWidgets

Hi, Is the android:divider attribute under the TabWidget working? I tried the Tab Layout tutorial from android just to test (http://developer.android.com/resources/tutorials/views/hello-tabwidget.html) and set the android:divider to some image (for now I used the android vertical scrollbar as the drawable to really emphasize if its get...

Using tabs and periodic updated views

In a previous question i asked how to make one activity to reload/refresh periodically to always present the latest information. Now i have a follow-up question. I changed my app to have 2 tabs. Each tab starts its own activity. The first tab uses the activity described above and after i added the periodic update (using Timer) to that t...

TabHost setCurrentTab only calls oncreate method for Activity in Tab once

I'm following the example here: http://developer.android.com/resources/tutorials/views/hello-tabwidget.html Everything works fine. The first time I click on each tab, the "oncreate" method for Activity bound to that particular tab is called. However, subsequent selections of the tab's do not call this oncreate method. I need to be...

How to persist a jquery sortable tabs and accordion order using cookies?

Hi I've got some jQuery sortable tabs and accordions which I want them to be in the same order whenever the user fetches that page. I was thinking about using cookies to do this. How can I do this? Thanks in advance. ...

Tabbed windows on Emacs

I'm trying to get multiple tabs in windows like vim does it. In vim tabs aren't tied to buffers and you can have multiple tabs each with multiple splits and buffers in them. What I've found so far is: tabbar: shows all tabs. winring: doesn't show tabs in the window and is clunky to use (have to name each tab first). This is the closest...

Using multiple tab-blocks on the same page (jQuery)

$('.tabbed-block .tab-content:first').show(); $('.tabbed-block ol li:first').addClass('active'); $('.tabbed-block ol li a').click(function () { $('.tabbed-block ol li').removeClass('active'); $(this).parent().addClass('active'); var a = $(this).attr('href'); ...

Odd jQuery UI Error

Hi all, I'm attempting to use the jQuery UI Tabs module, but whenever I attempt to do so, I get the following error in my console: Uncaught TypeError: Object #<an Object> has no method 'tabs' I followed the demo's source down to the letter, and I still can't get it to work. I'm loading the CSS locally and the JS from the Google CDN,...

deleting/closing current tab

Hi, Is there any simple way to close the current tab or single tab in androids? I don't want to do clearing all tabs and adding the required tabs? Please suggest me. Thanks in advance. With regards Kavya ...

What's the state of a pressed Tab in Android

Hi all, I'm trying to get my tabicon to change when a tab is pressed (i.e. when it changes color when you press the tab, but haven't released yet). I've created a selector as follows: <?xml version="1.0" encoding="UTF-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"&gt; <!-- Non focused states --> <it...

How do you type a tab in a bash here-document?

The definition of a here-document is here: http://en.wikipedia.org/wiki/Here_document How can you type a tab in a here-document? Such as this: cat > prices.txt << EOF coffee\t$1.50 tea\t$1.50 burger\t$5.00 EOF UPDATE: Issues dealt with in this question: Expanding the tab character While not expanding the dollar sign Embedding a he...

Android - refresh view for one Tab from another Tab

I'm developing an Android application, and I have a 2 tabbed interface, created by having separate TabSpec's for each tab within a TabHost. I have separate activities for each Tab - let's call them TabPhotos and TabAlbums. The layout for each tab is a ListView of records (e.g. photos and albums, respectively). From the TabPhoto context ...

Visual Studio Tab change color?

http://s12.radikal.ru/i185/1009/82/8f01e59f40b1.png Can I change back/fore color of tabs? ...

Passing a float between multiple viewcontrollers

Hi Im using tabs to switch between two view controllers. How do I retrieve a float in the secondviewcontroller, thats been initiated in the firstviewcontroller? should i make some sort of global variable? Where and how do I do this? Thanks guys :) ...

Passing a float between multiple viewcontrollers

Im trying to send a float from one viewcontroller to another. Ok Ive tried using NSUserDefaults to go about this. First I tested it with a string and it worked, but now I'm struggling to do the same with my float. Any help would be appreciated! :) Heres my code In my firstviewcontroller.h file i have IBOutlet UITextField *nameField;...

Catch Click events on Tabs

Is there a way to catch a click event on a TabControl tab so that you can say if clicked at a certain point that it doesn't switch to the clicked tab? Here is the code that is used to find the area that if clicked in i do not want it to switch tabs. RectangleF closeArea = (RectangleF)tabStrip2.DisplayRectangle; closeArea = ...

target form to specific browser tab

Is there a cross-browser compatible way to post a form in one tab of the browser to another (which I know is open and is of the same domain)? I tried window.name='some_name'; and target='some_name' on the form, but this does not seem to work. Am I missing something? ...

Javacript: how to switch between tabs?

So I created some tab using XUL. How can I write javascript code so that if I click on a button in tab 1, tab 2 will be shown? Thanks ...

How do I hide Drupal nodes that shouldn't be directly accessed from users and search engines

I have seen many somewhat similar questions, but nothing quite what I'm looking for. So at the risk of being told this is a duplicate... here it goes. I've found that there are times I have a node that simply contains content that will be displayed somewhere else, but shouldn't be viewed directly. That is, no one should ever go to node/...

VIM macro for interacting with multiple tabs

Hi All, This is what I want to do using GVIM 7.3: open a file in new tab (first tab) get all lines which contain a pattern -> insert them to a register/clipboard open a new tab (second tab) paste the code from clipboard do some regex replace process in the second tab. I can manually execute commands one by one successfully. I even c...

Firefox Open a new tab instead of a pop window?

I found that in recent version of Firefox, there was add a setting called "Open new windows in a new tab instead". When I keep it on, all the pop windows(Using javascript "window.open" function opened) opened in a new tab, which I realy need opened in a pop window(With settings like "menubar=no" and etc.). Some normal links with "target...