Htmlb:tabstrip: Height should change on each tab...

I have a htmlb:Tabstrip with two Tabs that have a different height. Tab1 is 200px high and Tab2 500px. At start, die Tabstrip is also 200px high and when I click on Tab2, it is expanded to 500px. When I click on Tab1 again, the Tabstrip should change to 200px, but it stays at 500px.
The 200px are not static but change according to the elements within the tab.
Is there anything I can do?

i just tried it.
i would like to continue using htmlb:tabstrip, but I dont see a way of having the strip resized on every tab-select.
i had several problems with xhtml:tabstrip.
1) i don't like the blue (design2003) vertival bar on the upper left.
2) there is only a onSelect on the entire TabStrip, not on the sinlge tabs.
3) in my code, html_event was not bound:
IF htmlb_event IS BOUND.
lirv_pg_cont = me->get_page_context( ).
cl_htmlb_manager=>dispatch_event( request= runtime->server->request
                                  event_handler = me
                                  page_context = lirv_pg_cont ).
ENDIF.
Does anybody know if it is possible with htmlb:tabstrip?

Similar Messages

  • Url wont change with each tab

    The url stays the same in each tab even though I am looking at different sites. So if i opened up Google last then i change to another tab with hotmail the address is still Google even though I am in hotmail.
    == This happened ==
    Every time Firefox opened
    == When I installed latest Firefox

    I updated my adobe...that fixed the problem

  • Width*height vals changing in save for web ??

    Hi all
    I've opened an EPS file in illustrator cs4. And its width & height values are differing with width & height values in "save for web" option.
    For example, normally in width & height boxes shows as
    width : 247.499 pt
    height : 116.524 pt
    but in save for web
    width : 249
    height : 117
    I've checked with various figures too.

    Script lan : javascript
    thanks for ur help!
    Actually I've to resize the figure for the width 175, 525, 1400 and the height should change proportionally. So I tried, but I couldn't resize the figures using save for web. Becoz its horizontalScale & verticalScale treats values as percentage. eg. 175 treats as 175%. Then I grouped all items and changed its "width" and foud out the values' corresponding "height" values. But the problem is, exported file's values are changing nearly 3pts.
    could u help on this?

  • Htmlb:tabstrip = check in %code& which tab is selected

    i have a htmlb:tabstrip with 2 tabs.
    tab1 is quite small and tab2 shows a huge table, which is loaded in "OnSelect" of tab2.
    if i start at tab1 and click on tab2, it takes a while, but that's OK concerning the large table.
    BUT if i then click on tab1 again (which also has a onSelect Event Handler and leads to a page refresh), i also takes a while because in tab2, the huge table is included into the html-file although it is not shown. Tab 2 looks like this:
    <htmlb:tabStripItem id = "tab2" index = "2"             onSelect = "os2" >
    <htmlb:tabStripItemHeader>
    bla </htmlb:tabStripItemHeader>
    <htmlb:tabStripItemBody>
    <% IF application->table1 IS NOT INITIAL. %>
    <%-- show table ... --%>
    <% ENDIF. %>
    My question: The code <%-- show table --%> should not be executed if the current tab is tab1. Is that possible?

    Make a page attribute called MyTabSelection TYPE STRING
    then on your OnInputProcessing Event Handler
    DATA:
      event TYPE REF TO cl_htmlb_event,
      tabstrip_event TYPE REF TO cl_htmlb_event_tabstrip.
    event = cl_htmlb_manager=>get_event( request ).
    if event->name eq htmlb_events=>tabstrip and event->id eq 'MyTabs'.
      tabstrip_event ?= event.
      myTabSelection = tabstrip_event->selection.
    endif.
    Be sure to change the event->id eq 'MyTabs' to the id you gave to your <htmlb:tabStrip
    Then on your page
    <% IF MyTabSelection EQ 'tab2'
          AND table IS NOT INITIAL.
    %>
       ....Do table here....
    <% ENDIF. %>

  • Is there a way to automatically change tabs with different times set for each tab?

    I found a few add-ons that will automatically change tabs based on a configurable time. But all the tabs use the same time setting. What I need is the ability to have tabs displayed for different amounts of time. Ex, Tab 1 for 30 seconds, Tab 2 for 10 seconds, Tab 3 and 4 for 5 seconds. Ideally, I will have the ability to modify these settings as the amount of tabs and the content will change a couple times a week.
    Currently I'm using Tab Slideshow with each tab displayed for 15 seconds. But it sounds like Tab Rotate and Auto Toggle Tabs essentially do the same. If there is already a solution that would be great but if not is there someone available for hire to help modify one of the existing add-ons? Thank you in advance for your time.
    John

    Currently Firefox don't have any options like that.
    You can ask the Addon developers
    *http://addons.mozilla.org/

  • My tab default is1.25 which is too big for the A5 document I'm working on, how do I change the default tab so that I don't have to reset each individual line?

    My tab default is1.25 which is too big for the A5 document I'm working on, how do I change the default tab so that I don't have to reset each individual line?

    Hi Hannah,
    Inspector > Text > Tabs Button > Tab Settings > Default Tabs.
    To set a tab stop on the go, click in the ruler.
    If you can't see the ruler, Menu > View > Show Rulers.
    To set tab stops for lines (paragraphs) you have already typed, select those paragraphs and set them all at once.
    Also, have a look at Menu > Pages > Preferences > Rulers.
    Regards,
    Ian.

  • Change htmlb:button  height ?

    Hello,
    is it possible to change the htmlb:buton height ??
    I want the buttons "bigger"

    For HTMLB/DESIGN2003.  
        <a href="javascript:void(0);" onclick="if(!sapUrMapi_Button_checkClick('htmlb_button_1',event)){return true;};return htmlbSL(this,2,'htmlb_button_1:myClickHandler')" onkeypress="if(!sapUrMapi_Button_checkClick('htmlb_button_1',event)){return
    true;};return htmlbSL(this,2,'htmlb_button_1:myClickHandler')" class="urBtnStd urV" style="height:40px;" id="htmlb_button_1" ct="Button" style="white-space:nowrap;">Press Me</a>  
    Raja T
    Message was edited by:
            Raja T

  • Spry - Changing focus on each tabbed panel

    Hello,
    I am not sure if this is the correct place to post this.
    I have been asked to modify this page, http://webpac.lvlspa.org/screens/moco_mainmenu.html , and I was wondering how I could have the focus be on the input box when a patron clicks on each tabbed panel?
      Thanks for your time,
       Matt

    Automatically setting the focus in a form field is normally a trivial operation. However, it's not so simple with tabbed panels because the tabs and their content are all on the same web page.
    I decided to give this a try, and think that I have come up with a solution. The code is specific to your setup, which uses "targetEncore" and "searcharg" as the name of the input fields you want to have focus when a tab is clicked. Add the following script block at the bottom of the page, just before the closing </body> tag:
    <script>
    if (document.getElementsByClassName) {
        function findField(node) {
            var node = node || document.getElementsByClassName('TabbedPanelsContentVisible')[0];
            if (node.hasChildNodes()) {
                var child = node.firstChild;
                while (child) {
                    if (child.nodeType === 1 && child.nodeName == 'INPUT') {
                        if (child.name == 'targetEncore' || child.name == "searcharg") {
                            child.focus();
                            break;
                    } else {
                        findField(child);
                    child = child.nextSibling;
        findField();
        var tabs = document.getElementsByClassName('TabbedPanelsTab');
        for (var i = 0; i < tabs.length; i++) {
           tabs[i].addEventListener('click', (function (num) {
                return function() {
                    findField();
            })(i), false);
    </script>
    This script works in all modern browsers, included Internet Explorer 9. However, it does not work in IE 8 or earlier. Getting it to do so would involve a lot more scripting, so is probably not worthwhile.
    Message was edited by: David_Powers to wrap script in conditional statement that tests support for document.getElementsByClassName.

  • Some recent changes now force me to sign in on each tab when I open a new messenger ( yahoo) it changes ALLmy tabs to that account.. this makes me lose information and is horribly annoying. What to do?

    some recent changes on either yahoo or firefox have caused my tabs to change and now when I use yahoo messenger to check my mail in different accounts, it changes all my tabs and I am forced to sign out and sign in again. Before I could maintain my tabs, except for the one I opened in the new account.. this is a horrible situation because I cannot go between accounts with out having to close all my tabs .. ERCHHHHHHHHHH What can I do to change this??? it is horrible.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Xhtmlb:tabStrip height attribute

    I am using xhtmlb:tabStrip to show few tabs and each tab item is holding a iframe loading some page .
    The tabstrip item should be to the maximum page height. unlike htmlb:tabstrip there is nothing like body height in xhtmlb.
    i tried setting the <xhtmlb:tabStrip height to various values like 100%, 600 , 600px but nothing seems to change the size at all.
    Anybody has seen this , got a solution?
    Thanks in advance.
    Regards
    Raja
    <b>I have fixed it. it was the height property of the iframe which was causing the issue. i had set 100% as the height of the iframe. But when i changed to px its working as desired.</b>
    Message was edited by: Durairaj Athavan Raja

    hi Brian,
    Thanks for taking time to put in your thoughts.
    The issue is within the tabstrip body i have iframe and the src parameter is changed at runtime to different bw webtemplates depending on the user action.
    If i have to determine the height of the webtemplate , then i would write a javascript in the webtemplate and pass it back to my  main page. But how will my javascript in the webtemplate is going to find the <b>rendered</b> webtemplate height? i need to try these things out and post the outcome here.
    Regards
    Raja

  • Change Color of Tabs Web Item

    I'd like to publish a WAD 7.0 webtemplate including several tab groups which need to have different colors, one color for one issue.
    Currently I found no way to realize that.
    I tried to put the &STYLE_SHEET=<url>/<name.css> after the web template link without success. I also tried to use <link href="<url>" type="text/css" rel="stylesheet" /> in the web template without success.
    Do you have some ideas for me?
    Cheers Anja

    Hi,
    In BI 7.0, by default, colors for 7.0 web templates should be changed by changing the portal theme. You need to be a portal administrator to do this.
    Portal themes can be edited with the theme editor: Go to System Administration --> Portal Display --> [Choose theme assigned to user group] --> Theme Editor. The default theme is Tradeshow. If no custom theme is made, you better make a copy of Tradeshow and assign this to the users.
    The colors of the tabstrip can be changed by choosing the item 'Tabstrip'.
    This should solve the problem of Maya M. For using different colors for different tabs (ahaufe), probably a combination of javascript and CSS should be used. You don't necessarily need to link to an external stylesheet. You can also put CSS code directly in your template between <style type="text/css"> </style>  tags (in de the <head> area). See http://www.tizag.com/cssT/internal.php for examples.
    Good luck,
    Daniel

  • How do I get each tab [past the 1st one] to open to my homepage?

    I open Firefox and I am at my home page as it should be. When a open a NEW tab I no longer see my homepage, how do I adjust that so I will see my home page in each tab opened?

    After installing the add-on, click on the "Tools" menu in Firefox and choose "Add-ons" to open the add-on manager. In the "Extensions" section, find NewTabURL and press its "Options" button to change your new tab settings.
    For more detailed instructions, see: '''[https://support.mozilla.com/en-US/kb/Using%20extensions%20with%20Firefox#w_how-to-change-extension-settings How to change extension settings]'''

  • How to set multiple languages to each tab in JTabbedPane?

    Hi!!!
    Am trying to set two different languages to each tab in a tabbedpane. For each language i have maintained one file with unicodes. So, If any key has an empty value in that file, the value for the same key in other language file should be displayed for the tab.so, here the actual probem occured. it was showing some boxes instead of that tab title.Please give me a solution to set different languages (using setFont()) for a tabbedpane.
    Thank you
    Mourya

    Hi!!!
    First of all .. Thanks a lot for ur valuable time and suggestions. Coming to the topic... i have used all these unicodes. Could you please tell me that would it be possible to set multiple languages to a tabbedpane at a time? (in the context of missing of keys setting other language key to that missed one).
    Thanks
    Mourya
    Edited by: sindhumourya on Oct 7, 2008 1:58 AM

  • Having trouble with dreamweaver cs 6 spry tabbed panels, all content in each tab showes through like

    Having trouble with dreamweaver cs 6 spry tabbed panels, all content in each tab showes through like it was all created on one page, plus mouse over doesnt work on them.
    This started all of a sudden.
    The entire website is a series of spry tabbed panels.
    http://pacificlaser.com/const.html
    if you click on General construction tab things work ok...
    if you click on Machine control tab, mouse over doesnt work and all page content of each tab show through.
    ive been looking for the answer for 4 months with no success.
    Hope a fellow dreamwever-person can help
    Thanks Rick

    You called it: your links to the SpryAssets are linking to your hard drive, not to the files within the folder on the server.
    Correct these links:
    <script src="file:///C:/Users/work/Desktop/Sites/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <link href="file:///C:/Users/work/Desktop/Sites/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    And you should be good to go.
    Beth
    ps. If you run into more difficulties with the Spry Widgets, take your questions to the Dreamweaver Spry Forum http://forums.adobe.com/community/labs/spry, where they will get quicker attention.
    B

  • Using Firefox 26. How do I get a close button for each tab at the top of the screen?

    Some time ago, I had a close tab button for each tab on the top of the screen. I want that back. I have no additional add ons and the close tab is set to 1. Changing it to 2 does nothing.

    Do you have installed this extension?
    *Firefox/Tools > Add-ons > Extensions
    If you do not have the extension and also have no need for the feature that it provides then you can ignore this.
    If it works in Safe Mode and in normal mode with all extensions (Firefox/Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: Firefox > Quit Firefox; Linux: Firefox/File > Quit)
    You can use one of these to start Firefox in <u>Safe Mode</u>:
    *On Windows, hold down the Shift key while starting Firefox with a double-click on the Firefox desktop shortcut
    *On Mac, hold down the Options key while starting Firefox
    *Help > Restart with Add-ons Disabled
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for