Tab navigator style

Hi experts,
i want to user background images in tab navigator ..assume that i have two tabs tab1 ans tab 2 now what i want is the following
   1.       that both the tabs to have a background image // i was unable to find a property for the same
   2.      i have taken two vbox in the tab navigator after giving the border two the v box i saw a space between the tabs and the vbox..please find the attach image it will clear the my query more..
following is the code:-
   <mx:TabNavigator borderThickness="4" borderColor="#6997AF"
                                 borderStyle="solid" verticalGap="0"  tabHeight="38"
                                  tabStyleName="Selected" cornerRadius="6" tabOffset="40" tabWidth="115"
                                   horizontalGap="17" id="TbNgtr"  width="328" height="461" color="0x323232">
                                       <mx:VBox verticalGap="0" borderColor="red" borderStyle="solid" label="Load Photo">
                                        <mx:Label text="TabNavigator container panel 1"/>
                                       </mx:VBox>
                                    <mx:VBox verticalGap="0" borderColor="green" borderStyle="solid" label="Design Studio">
                                        <mx:Label text="TabNavigator container panel 2"/>
                                    </mx:VBox>
                            </mx:TabNavigator>

Hi,
1. To set background image :- backgroundImage style is available for TabNavigator.
2. To remove the gap : Set horizontalGap style of the TabNavigator to 0.
3. To style selected tab: Use the selectedTabTextStyleName style property. Check the following link for an example
http://blog.flexexamples.com/2007/09/26/styling-the-flex-tabnavigator-control/

Similar Messages

  • Tab navigation does not show at all in FP 10 it shows in FP9

    Hi,
    I have module that is loaded at runtime,
    it has simple tab navigation with 3 children,
    in FlashPlaer 9 Debug, tab navigation shows fine, even
    thought for some reason it looks like linkbar :)
    also numericStepper looks like inputBox and ComboBox has no
    arrow, (they all look fine in FB 3.2)
    in Flash player 10 tab navigation does not show at all, is
    there any obvious thing that I am missing ?
    I am guessing something terribly wrong with flex styles, but
    I am not overriding any styles,
    my environment :
    vindows Vista 64 bit (although I use jvm 32)
    project is build with latest flex sdk :flex_sdk_3.3.0.4589
    P.S: I cant attach image here, so I will record video
    tomorrow, if that will help.
    thanks in advance
    Levan

    bump :)
    anybody , please please :)

  • Inserting tabbed navigation code makes my web page not display in design view..

    Hi everyone..
    I am on Dreamweaver 8 for MAC, and was working on a couple of web pages..these pages included divs and tables. But when I tried inserting a tabbed navigation I found at:
    http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
    In a nutshell, it asked me for step 1 to:
    Step 1: Insert the        below CSS and script into the HEAD section of your page:
    <link rel="stylesheet" type="text/css" href="tabcontent.css" />
    <script type="text/javascript" src="tabcontent.js">
    * Tab Content script v2.2- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    </script>
    The next step was this:
    Step 2: Finally, simply add the below      HTML to where you wish the Tab Content to appear on the page:
    <h3>Demo #1- Basic implementation</h3>
    <ul id="countrytabs" class="shadetabs">
    <li><a href="#" rel="country1" class="selected">Tab 1</a></li>
    <li><a href="#" rel="country2">Tab 2</a></li>
    <li><a href="#" rel="country3">Tab 3</a></li>
    <li><a href="#" rel="country4">Tab 4</a></li>
    <li><a href="http://www.dynamicdrive.com">Dynamic Drive</a></li>
    </ul>
    <div style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px">
    <div id="country1" class="tabcontent">
    Tab content 1 here<br />Tab content 1 here<br />
    </div>
    <div id="country2" class="tabcontent">
    Tab content 2 here<br />Tab content 2 here<br />
    </div>
    <div id="country3" class="tabcontent">
    Tab content 3 here<br />Tab content 3 here<br />
    </div>
    <div id="country4" class="tabcontent">
    Tab content 4 here<br />Tab content 4 here<br />
    </div>
    </div>
    <script type="text/javascript">
    var countries=new ddtabcontent("countrytabs")
    countries.setpersist(true)
    countries.setselectedClassTarget("link") //"link" or "linkparent"
    countries.init()
    </script>
    <p><a href="javascript:countries.cycleit('prev')" style="margin-right: 25px; text-decoration:none">Back</a> <a href="javascript: countries.expandit(3)">Click here to select last tab</a> <a href="javascript:countries.cycleit('next')" style="margin-left: 25px; text-decoration:none">Forward</a></p>
    <hr />
    Well, I did all the steps required, but when I put this inside a div I had inside a table, all of a sudden I couldnt see anything in my design view, only two tables that arent even the same size..When I take out all this code, I get back my regular page..Can I see this tabbed navigation in my design view? Unfortunately, I dont have the spry widgets since I am on Dreamweaver 8..If I preview it in both Safari and Firefox (on Mac Firefox/3.0.8) (Safari 3.2.1) I can see everything fine, including the tabbed navigation..But designing in code isnt really helpful because I want to see what it looks like in design view, in case we change things-its just easier for me to work on..So I assume there is something in this code that is making my design view show nothing..
    Update:I tried taking out the code again, but this time, I couldnt see anything again, even without this code..
    I know that I can go to validation website, and I got a lot of errors-but all the pages I have that are in the same style have those same errors too—and they display fine..its only when I insert this specific piece of code that everything goes haywire..Is it even possible to view tabbed navigations (like the one in the above link) inside of Dreamweaver Design View?
    Any help would be appreciated..

    DW8 doesn't render any dynamic content, so I'd say it's a no go. You'll just have to live with that limitation or upgrade to CS4...
    Mylenium

  • Tab Navigator

    I have problem in giving roll over color for a Tab
    Navigator.I have tried with setting styles such as fillcolors,roll
    over color but not achieved yet. Any suggestions will be accepted.
    Thanks in advance.

    Hello.
    That might be skins. upSkin, downSkin, overSkin ...
    More information is here.
    http://livedocs.adobe.com/flex/201/langref/mx/containers/TabNavigator.html
    Also I made a sample of Vertical TabNavigator.
    This sample use TabBar. But skins are same as TabNavigator.
    http://shigeru-nakagaki.com/index.cfm/2007/8/21/20070821-Vertical-TabNavigator-sample
    Shigeru

  • Tab navigator vertical gap

    Hi all
    I am using tab navigator control, in that i have used skins for the tabs..further i have given 4px border to the tab navigator control now the problem  i am facing is that ,the tabs touches the original border of the navigator.As now the border thickness is 4 px.so the tabs should touch the 4px border thickess not the default border of 1 px thickness..due to this my  tab skin touchess the default border not the new 4 px border..and because of which they are not completely visible.how can i solve this issue..is there any vertical gap property or something else..via which i can achieve this
    please check the attach image which will clear you the picture

    Try making adjustments in CSS using the Flex style explorer. http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html
    Then apply that style to your tab nav.

  • Creating a tab navigation

    Hi everyone.
    I have a course where I'd like to put additional info about 6 aspects of a topic in a notebook style tab navigation at the bottom of the screen.
    And it struck me that there's no obvious easy way to draw the outline, but plenty of obvious but difficult ways to do it
    The easiest way I can think of is to do it in Photoshop, with a rectangle for the text area and two layers for each tab, one selected, one not. Then I can hide/unhide the right layer combination for each different selection option and save to png before importing into Cp, finally adding transparent captions for the tab labels and content. Or possibly doing the labels in Photoshop too.
    Or is there an simpler way that I'm looking straight past? Anyone created a navigation like this before?
    Thanks

    Powerpoint! Of course!
    Dan,you've saved my colleagues a lot of discomfort: I tend to swear a lot when I'm using Photoshop
    Should be a 5 minute job and the format painter can take care of the different combinations for highlighted tabs.
    Thanks

  • Highlighting List which using Template  "Page Tab navigation"

    Hi,
    Im using a List which uses List Template : "Page Tab navigation".
    But irrespective of selection all tabs looks same..How can I highlight the active one ?
    Regards,
    Benz

    Hello Benz,
    I suppose you want the "current" tab to be highlighted.
    Take a look at Shared Components>Lists>List Entries>Create / Edit List Entry in section 'Current List Entry'.
    There you can spezify for each of your entires when it should be current and therefore displaying in different style.
    Regards, Tine.

  • Regarding Navigation Style in UWL

    Hi All,
    I am using EP7 and SP09 . In this version, UWL iView property <b>Navigation style</b> has only two value as <b>None, Tab</b>. Here I need one more value as <b>icon</b>. When I change Navigation style as icon, it should show icon instead of Tab(For Tasks, Alerts, Notification etc.). How can I achive it?.
    Thanks & Regards,
    Art

    Hi Art,
    This isn't a configurable option as far as I know, so your only alternative is to code your own version of UWL... or possibly adapt the current UWL code if you can find the DCs to import to NWDI.
    Cheers,
    Darren

  • Tab navigation bar library item?

    On my site:
    http://vectorworksexchange.com/index.html
    I made the tab navigation bar a library item. Doing so caused me to lose the current page highlighted tab on the active page (like the Home tab looks now). I'm not sure how to get that back. Can it be done when the tab navigation is a library item?

    Make a back-up of your site folder and then try the below solution:
    Give your <li> tags individual ids as below:
    <ol id="toc">
        <li id="index"><a href="index.html"><span>Home</span></a></li>
        <li id="topics"><a href="topic_ideas.html"><span>Topic Ideas</span></a></li>
        <li id="meetings"><a href="past_meetings.html"><span>Past Meetings</span></a></li>
        <li id="resources"><a href="resources.html"><span>Resources</span></a></li>
        <li id="gallery"><a href="member_gallery.html"><span>Member Gallery</span></a></li>
        <li id="facebook"><a href="http://www.facebook.com/group.php?gid=107562565951462"><span>VWX on Facebook</span></a></li>
    </ol>
    Then take the 'current' class out of the main css style sheet and insert the below in the index.html code in the <head> section:
    <style type="text/css">
    /* page marker */
    ol#toc #index a  {
    background-color: #48f;
    background-position: 0 -60px;
    color: #fff;
    font-weight: bold;
    ol#toc #index span {
        background-position: 100% -60px;
    </style>
    Insert the below code in the topic_ideas.html page code in the <head> section
    <style type="text/css">
    /* page marker */
    ol#toc #topics a  {
    background-color: #48f;
    background-position: 0 -60px;
    color: #fff;
    font-weight: bold;
    ol#toc #topics span {
        background-position: 100% -60px;
    </style>
    Get the idea?
    past_meetings.html page:
    <style type="text/css">
    /* page marker */
    ol#toc #meetings a {
    background-color: #48f;
    background-position: 0 -60px;
    color: #fff;
    font-weight: bold;
    ol#toc #meetings span {
        background-position: 100% -60px;
    </style>

  • Why data are not getting poulated in dynamically added tab in a tab navigator???

    Hi All,
    I am facing a very strange problem and need you expert opinion on this. Ok so the problem goes like this:
    In my application i have a tab navigator where i have 2 fixed tabs say tab A and tab B. In tab B I have a data grid where All the user name are getting populated. Once the user clicks on any datagrid row i am dynamically adding a new tab based on username , so if in my datagrid u1,u2 and u3 are getting displayed then once you clik on u1 a new tab called u1 is getting displayed. Code for this goes like this:
    var vbox1: VBox= new VBox();
    box1.label=mydatagrid.selectedItem.uName;
    var sde:* = new searchDetails();
    vbox1.addChild(sde);
    myTabnavigator.addChild(vBox1);
    Application.application.searchdetails.displayall();
    I have created a component called searchDetails where i have designed the page wit various fields for this tab.This also has a method called displayall() which is populating the data in all fields using php an my sql where i have designed the page wit various fields for this tab.
    New tab is getting displayed perfectly. My problem is once the tab is getting displayed fields are not getting populated with data.
    Please let me know what wrong i am doing. I am really struggling

    Hmm.. you have to assign text to the labelfields on creation complete not before that, the fllow will be like this
    var vbox1: VBox= new VBox();
    var sde:* = new searchDetails();
    vbox1.addEventListener(creationcompleteevent,function);
    vbox1.addChild(sde);
    myTabnavigator.addChild(vBox1);
    function(e:event):void{
    box1.label = "text";

  • How to open the popup with in Tab navigator  working area.

    Hi,
              I using the customized  panel to open it as popup by using  popup manager in the Tab navigator . The popup should be able to  move with in the tab navigator's  content area. Not outside of the tab navigator's  content area. How to do this? .What is the difference between opening the popup by using popup  manager and add children(); which one is best?
    Regards,
    Thiru

    It depends on your purpose. A popup displays information to the user, and it might be modal if the user should repsond to the popup before continuing, but why constrain it's movement to the space occupied by the TabNavigator.
    You could, in theory, check the x and y properties of the popup position, and then compare those with the x and y of the TabNavigator view area, though you might have to do some conversion between global and local coordinates.
    You might want to consider your design. Is a popup necessary? Perhaps not. If so, maybe do not consider constraining its movement as you have indicated.
    If this post answers your question or helps, please mark it as such.

  • Applet TAB navigation not working with 1.4.1_01

    I recently upgraded to Java version 1.4.1_01. Now, when I load my applets, the TAB key cannot be used for navigation until I open the Java console and then close it again. To ensure that my the threads in my specific Applet are not the problem, I came up with the following test applet:
    import java.awt.BorderLayout;
    import javax.swing.BoxLayout;
    import javax.swing.JApplet;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    public class TestApplet extends JApplet {
        public void init() {
            super.init();
        public void start() {
            JPanel myPanel = new JPanel();
            myPanel.setLayout(new BoxLayout(myPanel, BoxLayout.Y_AXIS));
            JTextField textField1 = new JTextField("Text Field 1");
            myPanel.add(textField1);
            JTextField textField2 = new JTextField("Text Field 2");
            myPanel.add(textField2);
            JTextField textField3 = new JTextField("Text Field 3");
            myPanel.add(textField3);
            getContentPane().add(BorderLayout.CENTER, myPanel);
        public void stop() {
            super.stop();
    }To ensure that my build environment/options are not the problem, I compiled this applet as follows:
    javac TestApplet.java
    I then came up with the following HTML file for the applet:
    <HTML>
    <HEAD>
    <TITLE>Test Applet</TITLE>
    </HEAD>
    <BODY MARGINWIDTH="0" MARGINHEIGHT="0" BGCOLOR="white">
    <APPLET
    CODE=TestApplet.class
    WIDTH=635
    HEIGHT=500
    ALIGN=left
    VSPACE=10
    HSPACE=10
    >
    </APPLET>
    </BODY>
    </HTML>When I access this test applet, again I am not able to navigate among the text fields with the TAB key. However, if I open the Java console, close it right back up, and refresh my applet, the TAB navigation works. I've tried simply refreshing my applet (as well as a hundred other things) and have had no success.
    Any help would be GREATLY appreciated.
    Thanks in advance

    Looks like this is related to Bug #4707289. To fix this,
    I added the following lines to the above applet:
    textField1.setFocusable(true);
    textField2.setFocusable(true);
    textField3.setFocusable(true);

  • Substitution syntax in tabbed navigation list. Smart or Lucky?

    I've got a tabbed navigation list that I use on two separate pages.
    The list entry points back to the current page but sets a page item value based on the list item value.
    So this tabbed list might have items labeled E-mail, Phone, Address. When you click one of the list tab items it submits to the current page, sets a hidden field to EMAIL,PHONE, or ADDRESS. That hidden field controls which email,phone, or address region is displayed.
    OK easy enough. Except that I use the same list on multiple pages. Rather than create a list for each page, I made it more generic...
    So I set the item target as follows:
    Target type: Page in this application
    Page: &APP_PAGE_ID.
    Set these items: P&APP_PAGE_ID._ALIAS_REGION
    With these values: ADDRESS
    Notice that I've got substitution type syntax for the target page and the NAME of the item whose value I want to set. For example if the list is rendered on page 2 the target page becomes 2 and the item name becomes P2_ALIAS_REGION. On page 7, they are 7 and P7_ALIAS_REGION respectively.
    I also use this same syntax in the "Current List Entry" with a query like:
    select 1 from dual where :P&APP_PAGE_ID._ALIAS_REGION = 'ACTIVE'
    Now, I thought I was being clever in doing this, since it lets me use the same list on several similar pages. However the Apex Essentials Advisor is complaining about my syntax, and as awesome as that tool is, it got me thinking that I might be too clever for my own good.
    Is it valid to use this substitution syntax in this context? I mean it works, but is it supposed to work this way? If this is by happy coincidence then Apex developers please don't change how this works. If this is by design, then you guys/girls are awesome!

    Is it valid to use this substitution syntax in this context?Yes.
    I mean it works, but is it supposed to work this way?Yes.
    If this is by happy coincidence then Apex developers please don't change how this works.It is very unlikely that we would change any of the core substitution logic in ways that adversely affect behavior like this.
    If this is by design, then you guys/girls are awesome!Aw, shucks.
    Scott

  • Tab Navigation in ABAP screens

    Hi All,
    Is the navigation sequence of the screen elements in a dynpro screen on "tab" event is from left to right and top to bottom always irrespective of whether the fields are in multiple subscreens/tab pages?. Is there a way to control the tab navigation sequence in Screens. Any help regarding this would be appreciated.
    TIA,
    Sharath

    Hi,
    The navigation sequence in tabstrip can be controlled in coding itself.
    If u want to make the first tab as deault u can set that in coding as follows.
    I will give u some sample coding try this out.
    DATA FOR TABSTRIP 'MAIN_TAB'
    CONTROLS:  main_tab TYPE TABSTRIP.
    DATA:      BEGIN OF i_main_tab,
                 subscreen   LIKE sy-dynnr,
                 prog        LIKE sy-repid VALUE
                                  'Program name',
                 pressed_tab LIKE sy-ucomm,
                            <b>"  VALUE c_main_tab-tab1,(specify the tab u want to make default)</b>
               END OF i_main_tab.
    U can control the tab flow in the PBO as
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_9001.
      MODULE main_tab_active_tab_set.
      CALL SUBSCREEN main_tab_sca
        INCLUDING i_main_tab-prog i_main_tab-subscreen.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_9001.
      MODULE main_tab_active_tab_get.
      MODULE main_tab_active_tab_set.
    MODULE main_tab_active_tab_set OUTPUT.
    IF ( NOT cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab NE c_main_tab-tab1 ) .
       i_main_tab-pressed_tab = c_main_tab-tab2.
    elseif ( NOT cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab eq c_main_tab-tab1 ) .
       i_main_tab-pressed_tab = c_main_tab-tab1.
    ELSEIF ( cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab NE c_main_tab-tab2 ).
       i_main_tab-pressed_tab = c_main_tab-tab1.
    ELSEIF ( cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab eq c_main_tab-tab2 ).
       i_main_tab-pressed_tab = c_main_tab-tab2.
    ENDIF.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
          i_main_tab-subscreen = '9100'.
          CALL METHOD o_alvgrid1->set_table_for_first_display
          EXPORTING
        WHEN c_main_tab-tab2.
      To display detail report
          i_main_tab-subscreen = '9200'.
          CALL METHOD o_alvgrid2->set_table_for_first_display
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.                 " MAIN_TAB_ACTIVE_TAB_SET  OUTPUT
    *&      Module  MAIN_TAB_ACTIVE_TAB_GET  INPUT
          text
    MODULE main_tab_active_tab_get INPUT.
      CASE sy-ucomm.
        WHEN c_main_tab-tab1.<b>(tab name)</b>
          i_main_tab-pressed_tab = c_main_tab-tab1.
        WHEN c_main_tab-tab2.
          i_main_tab-pressed_tab = c_main_tab-tab2.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.              " MAIN_TAB_ACTIVE_TAB_GET  INPUT
    &----&      Module  USER_COMMAND_9001  INPUT
          This performs PAI
    MODULE user_command_9001 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          PERFORM exit_program.
          SET SCREEN '0'.
        WHEN 'EXIT' OR  'CANC'.
          PERFORM exit_program.
          LEAVE PROGRAM.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    *&      Module  MAIN_TAB_ACTIVE_TAB_SET  INPUT
          text
    MODULE main_tab_active_tab_set INPUT.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
          i_main_tab-subscreen = '9100'.
        WHEN c_main_tab-tab2.
          i_main_tab-subscreen = '9200'.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.              " MAIN_TAB_ACTIVE_TAB_SET  INPUT
    This is the sample code u can try this out.
    Thanks &  Regards,
    Judith

  • Tab canvas, tabs navigation

    In my tab canvas, for some reason, I had to make my tab1 as tab3 now. I want the users to be able to navigate
    in the normal order tab1,2,3 (as they are laid out in the object navigator). Now that I renamed my tab1 as 3, upon entering the block it is first navigating to tab3.
    Is there a way/place to specify the order or tab navigation at design time?
    Thanks,
    Chiru

    Now that I renamed my tab1 as 3, upon entering the block it is first navigating to tab3.The form doesn't navigate to a tab, it navigates to the "focused" item, means the item where the cursor is placed on. So, if you want another tab to shown by default, you have to order the items in your block so that the first navigable item is visible on tab1.

Maybe you are looking for

  • How to install the maintance update to JDeveloper 9.0.3

    Does any one know how to apply the maintenance update to JDeveloper 9.0.3 running on Linux

  • Finder & software becomes unresponsive (Crash?) multiple times a day...

    It happens out of nowhere about 2-3 times a day. Basically everything slows down to a halt. The only way to stop it is to restart the computer by holding down the power button. Not sure why this is happening since I usually don't have anything runnin

  • (8I) COLLECTION TYPE 변경 방법

    제품 : SQL*PLUS 작성날짜 : 1999-05-12 COLLECTION TYPE 변경 방법 ========================= collection type은 attribute나 column의 데이타 타입으로 사용된다. 이전에 정의한 collection type의 property를 변경해야 하는 경우가 종종 발생하게 되는데 그 작업이 간단하지 않다. ALTER TYPE문은 spec이나 body를 재컴파일하거나, member를 추가

  • How to generate PDF file from HTML file using Acrobat API's

    Hi, I want to generate a PDF file from an HTML file on server side(C# .Net). Their is a COM interop called "AcrobatWeb2PDF" availaible but could not find any document regarding how to use it. I cant use "Adobe live cycle PDF Generator" as we just hav

  • Problem during installation

    Hi, I'm installing EPSP9 (NW04 SR1) on Windows 2000Server/Oracle9206. I've successfully installed J2EE engine, but during portal installation at step "Check Portal Deployment Status" it gives error. Following errors reported in file j2ee\cluster\serv