Horizontal Scroll Bar for Region or Page

Hi,
I have a region with 10 items in a row for data entry. If i resize the browser window or the the screen/resolution is smaller then not all items are displayed and there is no scroll bar.
How can i enable a scroll bar to be able to view all items depending on the current width of the browser?
I'm using Application Express 4.0.1.00.03
Teo

Teo,
You can set the div's width based on the window's width in Javascript. If you are in Apex 4 the following code can do this for you
$('#SPECIAL_DIV').width( $(window).width()/2 );$(window).width() returns a number indicating the window width.
Here the width of an HTML element ( with an ID: SPECIAL_DIV ) is set as the half of window's width.
If you want to resize the item as soon the window is resized(without refreshing the page) ,you can bind the code to the resize browser event
In jQuery, that would be
$(window).resize(function () {$('#SPECIAL_DIV').width( $(window).width()/2 ); });

Similar Messages

  • Horizontal scroll bar for the adf page

    Hi,
    We have around 7 tables in single jsff page. Here , we have a requirement like :
    We need to show horizontal scroll bar for the entire page instead of each table. Is there any way to get this.
    As of now, we have horizontal scroll bar for each table, but our customer is not accepting this, that want the scroll bar for the entire page.
    Please suggest the approach.
    Thanks

    I have grouped all the tables in panelgrouplayout.So, what is the problem (because it is not quite clear what you need)?
    If your PanelGroupLayout is with layout="horizontal", then the tables will be rendered next to each other horizontally but there will be no horizontal scrollbar on the page.
    If your PanelGroupLayout is with layout="scroll", then the tables will be next to each other vertically and there will be a horizontal and a vertical scrollbar on the page (if necessary).
    If you need your tables to be relocated next to each other horizontally and to have a horizontal scrollbar on the page, then use a PanelGroupLayouts(horizontal) inside a PanelGroupLayout(scroll):
    <af:panelGroupLayout layout="scroll">
      <af:panelGroupLayout layout="horizontal">
        <af:table> ... </af:table>
        <af:table> ... </af:table>
        <af:table> ... </af:table>
      </af:panelGroupLayout>
    </af:panelGroupLayout>If your problem is that you still have horizontal scrollbars inside the tables, then you should set appropriate widths to the corresponding tables (e.g. to <af:table> tags) such that they are large enough to fit the sum of corresponding column widths.
    ya, I know that its not god design, but its customer requirement, so we need to do that.If you expect some table(s) to be stretched automatically according to the size of browser's window, then you should re-think your UI design because PanelGroupLayouts do not stretch their children. A possible solution is to use a combination of PanelSplitters or other layout containers that stretch their children.
    Dimitar

  • Set the horizontal scroll bar for the OOTb document library view

    hi all,
     Am facing an issue in my sp portal.We have designed and developed the portal with OOTB document library views for site columns also. Going to enable the doc lib view. but  we have some  35 columns in eeacha nd every document
    library within our sub site. But if an end user wants to see the last column then he needs to scroll. but, since  then my master page has fixed width, the top corner will be seen as blank. would like to know how can we set horizontal scrolling
    in this doc lib view .
    Das

    Hi,
    According to your description, my understanding is that you want to set the horizontal scroll bar for the document library when the last column postion exceed the fixed width.
    I suggest you can try to use Jquery to set the width attribute of the menu bar dynamically if the document library width exceeded. You can add the Jquery or CSS style using SharePoint Designer under the PlaceHolderMain tag of document
    library page. Also, you need to find the div id in your environment using Internet Explorer.
    More information:
    http://sharepointpromag.com/sharepoint-development/sharepoint-branding-101-branding-master-pages
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to get the Horizontal Scroll Bar for a Table?

    Hi All,
    As per my requirement, I am displaying several records in a Screen in a Tabular Format. But here I have to show 21 Columns in that table which is too high. I am able to display it but due to it I am getting a Horizontal scroll bar for the whole screen since all the columns are not getting displayed in the normal window screen space. But its looking too odd since once I am scrolling it to right the columns are getting displayed but the above Header Bar and Global buttons are not displaying, they are bound to the normal screen space.
    Is there a way to have a Horizontal scroll bar only for that table instead of the entire screen so that on scrolling that bar only the table rows will beshifted ant got displayed?
    With Thanks
    Kumar Gautam

    try this approach.
    include a raw text item before and table item.
    include the appropriate HTML tags in raw text item to enable horizontal scroll
    --Prasanna                                                                                                                                                                                                                                                                                                                                   

  • Horizontal scroll bar for combo/lsit box in JSP

    hi,
    i want "Horizontal Scroll bar" for combo box to display long names.
    regards,
    krishna

    Not a JSP issue. Look up styles, CSS, and dynamic HTML. They should help.

  • REG:: Horizontal scroll bar for pdf

    Dear All,
    I am displaying data in a table in Portal and this table has 13 columns in it. I am writing all this data from the table to a PDF and I am able to generate a PDF. 
    This generated PDF clips the data on the right side, i.e. it shows few columns only.
    I need to have the horizontal scroll bar for the generated pdf output file.
    Can anyone guide me how to achieve this.
    Regards,
    JayPal.

    hi pal,
    refer this help
    http://help.sap.com/saphelp_webas630/helpdata/en/3f/c0ae3dacbff972e10000000a114084/content.htm
    bvr

  • Horizontal scroll bar for each page of the ADF page???

    Hi Everyone,
    I have developed one ADF page which is working very fine.
    The width and height of the page is more by which it is showing vertical scroll bar and horzontal scroll bar at the end(bottom) of the page.
    But the requirement is that the horzontal scroll bar should be displayed for every page when we scroll down but it is displaying at only bottom of the page.
    How can i include horizontal scroll bar?
    Any suggestions wil be really useful.
    Thanks.

    See if this works:
    <af:form id="f1">
    <af:panelStretchLayout id="psl1">
    <f:facet name="center">
    <af:panelGroupLayout id="pgl2" layout="scroll">
    <af:panelGroupLayout id="pfl1"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    Drop your content inside the second panelGroupLayout

  • Urgent!!!!Add a Horizontal Scroll Bar for Table Control

    Hi Experts,
    I want to have a Horizontal Scroll Bar on my Table control.
    I tried with few properties for the Table UI Element but not able to solve it.
    If any one who had already done this please help me out.
    Thanks in advance..
    Regards, Kishore K

    HI Koen,
    Thanks for early Reply.
    When I use this I get
    Page Down ( ->!!, Arrown with lines pointing Down)
    Page UP
    Page Top    ( ->, Arrown with lines pointing Top)
    Page Down ( ->, Arrown with lines pointing Down)
    But I need only Page top and Page down for this Table UI .
    I think my question is clear enough.
    Please let me know this also.
    Thanks & Regards,
    Kishore K

  • How do I get my horizontal scroll bar back?

    Well, I just installed firefox 5 on my computer and for some reason, the bottom horizontal scroll bar you use to move the screen left to right has gone missing. So my question is, how do I get it back?

    I had this problem and it only started after installing firefox v12.0 (on win xp).
    Mozilla mentions it is related to the css 'overflow' attribute not being defined correctly.
    HOWEVER, in my case, the offending line of css belonged to the jquery ui library
    file: jquery-ui-1.7.2.custom.css
    .ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
    all I needed to do was remove one of the '9's and the horizontal scroll bar reappeared on all pages that included this jquery ui lib.
    the better solution would be to upgrade to the latest jquery ui lib.

  • Add Horizontal Scroll Bar to MII Navigation

    Hello,
    We are on MII 12.1.8 build (20).
    Our client would like to see a horizontal scroll bar for the Navigation pane such that if the Name of the link is longer the navigation page scrolls horizontally but I figured that in MII 12.1 I can only wrap the names or let them expand.
    I brought in the DynamicHomePageLibrary.xsl and tried to customized but I am unable to get a proper scroll bar.
    Please guide me on how I can add a horizontal scroll bar to MII Navigation page, which lines must be added/modified in DynamicHomePageLibrary.xsl
    Thanks,
    Adarsh

    At line 308 you should see something like this:
    <xsl:attribute name="style">z-index=5;display:visible;height:100%;border:1px solid #666;padding:5px;overflow:auto</xsl:attribute>
    Try adding a css width like so:
    <xsl:attribute name="style">z-index=5;display:visible;height:100%;border:1px solid #666;padding:5px;overflow:auto; width: 250px;</xsl:attribute>
    Edited by: Michael Appleby on Aug 17, 2011 12:25 AM added lines after and before the  blocks

  • Horizontal scroll bar in maintenance view

    Hi all,
             i have a ztable  which has ony two fields id and description. Maintenance view exists for same.
    Can anybody suggest me how to set 'HORIZONTAL SCROLL BAR' for this view as sometimes description is too large and not able to see the description. plz suggest me.
    plz help.
    thnks n Regards,
    Ashmita Singh

    You can do one of two things:
    1. When you are at the maintenance view, manually drag the right edge of the columns to make them narrower.
    2. If you can change the maintenance view, go to the function group with the same name as the maintenance view (which should be the one automatically generated, such as from SE54), and then find the screen in the function group. Open the screen, click "Layout", and the SAP GUI painter will display the screen layout. Over there, click the upper-left corner of the table, and the control TCTRL_<your_view_name> will be selected. Open the "attribute window" or press F2, and then you can set the number of Fixed Columns. Try reducing the number and re-test the effect.

  • A region with horizontal scroll bar?

    I do have a page with 2 regions next to each other:
    region1 region2
    In region1 I am retrieving and image from database. This image has fixed set of attributes like width and height. In region2 there is a text retrieved from DB. I would like to configure region2 so it will have same (fixed) width and height so in cases where there is more text so it would cause region2 to be taller there will be a horizontal scroll bar.
    Is this done through ccs styles? Can any body advice how to accomplish this?
    Thank you for your time.
    DanielD

    Reuben
    Try the solution mentioned at Re: Report Displaying with Scrollbars
    for your text region.

  • Help with code for inserting horizontal scroll bar in photo gallery in Business Catalyst site?

    Hi,
    I am using Business Catalyst and Dreamweaver to create a trial site.
    I am not sure if this is the correct forum to post this request but anyway I have inserted a photo gallery module at the bottom of the sidebar in the homepage of my test site.
    Can anyone advise on whether jquery or any other code can be inserted into the page or module code that will replace the "next" hyperlink below the first 4 photos with a horizontal scroll bar at bottom of the gallery so users can just scroll through all 12 images ?
    Kind Regards, Matt.
    http://craftime-bs6.businesscatalyst.com/

    Alyssa,
    Have you tried putting this rule back as it was originally:
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto; /*was 9px*/
        color: #EF9CCF;
        background-color: #FFF;
    That is, changing your 9px back to auto.
    And giving  us a link (as you did) is much better than printing out the code for us! Thanks!
    Beth

  • Horizontal scroll bar moves with page up/down

    I'm new at this and apologize if I don't have the right forum, but can't find any reference to my problem anywhere. A month or so ago the horizontal scroll bar at the bottom of the screen started moving up or down with the page as I used the vertical scroll bar to page up or down. The bar partly disintegrates if I click on it, but mostly remains in place and obscures text on that line. If there is more than one page I can make the bar disappear by scrolling the to the next page, and then back. This happens only when I'm on the internet, and appears in news pages ( e.g. NY Times, BBC) and on my e-mails (I use Hotmail). I have a Mac mini, 1.66 GHz, OS 10.4.11, all other updates offered by Apple. I'm sure this is not a Safari problem, and my searches for Apple viruses, Trojans, Worms, has found nothing about this (there are discussions about vertical scrolling, but these don't seem to relate to my problem). So can anyone tell me what this is and how to get rid of it? Thanks for any help. TJ Wont

    I've got the same problem. It started when the BBC introduced adverts onto their News website. As the page loads an advert (or sometimes whitespace) appears between the tab and the BBC News banner. This is then shifted to the right hand side when the page fully loads.
    I suspect that there's some fancy DHTML going on that Safari isn't rendering properly.
    Problem doesn't occur if the Safari window is maximised to full screen width.

  • How can I eliminate unwanted horizontal scroll bars from certain pages on my site?

    A few pages on my website have a horizontal scroll bar at the bottom of the browser. I have several other pages in the exact same format and none of them have the horizontal scroll. No elements are off the edge of the page or anything. I'm a designer and don't know code, which is why I'm using Muse, but all the forums I've checked so far give coding solutions that I don't understand or know how to apply to my Muse site. Anyone have any suggestions?

    Can you post a URL for your site? (You could publish a free temporary site on Adobe Business Catalyst and provide the URL.)
    Other than the page being wider than the browser window or there being content that's outside the page bounds, I don't know what else to tell you to look for. If you provide a URL, we can probably detect what's causing the horizontal scrollbar and let you know what needs to change.

Maybe you are looking for

  • Game center doesnt sync my game

    hi i have  problem with my game center when i upgrade my ipad to ios 8.1.2 when i sign in to game center it doesn't sync with my games (clash of clans)  it doesn't even show the box which says "Welcome back yourname" and as i said it doesn't load my

  • Use of Services without SR and ESR

    Hello, for this one I need to explain something: I'm writing my diploma about ESOA. Because of this I allready have created a application which uses Enterprise Services. But because I used the ESWorkplace I've had some restrictions. - If I used the S

  • Saving photo issue

    When I save photos from facebook, they are not showing up in my photo stream, where are they?

  • ODS takes huge time

    Hi guys,   The data lookup in the ODS is taking huge time .....it was working fine a week back it has around  200 mill records.. Thanks, Your help will be greatly appreciated

  • When I try to open itunes, 'my documents' comes up- and nothing else!

    Whenever I try to open itunes, windows explorer opens and displays my documents- and nothing else happens! And when I plug in my ipod, instead of opening itunes like normal, the same thing happens. Any ideas whats going on/how I can fix it? If I rein