Removing vertical scroll bar on innerpage/content area

Hi All,
I am trying to remove extra vertical scroll bar on innerpage/content area. I followed below weblog
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5192 ..."Those pesky scrollbars when using URL isolation"
It works if I give fixed pixels like 1000 px for inner page height.
obj = document.getElementById("isolatedWorkArea");
obj.style.height = 1000 + 'px';
But its not getting dynamic height of the content area using below code which is mentioned in the blog.
reqsize = window.frames[obj.name].document.body.scrollHeight + 100 ;
obj.style.height = reqsize + 'px';
Please advice if anybody have a solution for this.
Thanks a lot.

Hello,
First of all if you wand to remove the scroll bar you should use;
obj.style.overflow="hidden";
About dynamic height I cannot tell you if the sollution proposed on the blog is suitable for you.
Normaly you should use only:
reqsize = document.body.scrollHeight + 100 ;
In order to find out the total height of your page.
I don't understand why do you want to do all this. You will have cases when parts of the content will not be visible to the user due to these restrictions.
BR
Alex

Similar Messages

  • Removing the Vertical scroll bar from the content area.

    Hello,
    Is there a way to remove the vertical scroll bar from the content area?
    I am trying to create a new light portal frame work.
    Everything works fine except that I see two vertical scroll bars, one from the content area and another from the page(frame).
    Thanks in advance.
    -Sudheer

    Hi
    There are a couple of ways in which to achieve this
    1) Try and make the content flat. What I mean by this is that the content area (when using the standard light framework) doesn't contain an iframe, meaning that the iview defined on the page has "EMBEDDED" isolation mode. This should mean that you only have one scrollbar (if the content extends past the size of the browser)
    2) If you need to make the iview URL isolation, then try and get the domain of the content to be of a similar domain to your portal server, i.e. your portal is portal.company.com and the content is content.company.com. In this way you can make the pages expand.
    NOTE: One thing to note is that when using URL isolation iviews doesn't allow the automatic expanding of the iframe content. This is because the standard javascript doesn't allow this. Therefore you may have to write your own javascript function (or content area page) to do this
    I hope this helps
    Darrell

  • Remove vertical scroll bar from table control

    hi,
    i had used table control in my application. i want remove vertical scroll bar from table control.
    At initial time in table control there is no vertical scroll bar. In my table control lines are dependent on internal table which i was used to fill it.
    i was used these code for to set table control lines.
    DESCRIBE TABLE IT_RISK_ZINRISEXC LINES EXC_LINE.
    TC_RISK_EX-LINES =   EXC_LINE .
    Initially there is no data in internal table so there is no vertical scroll bar. After getting value i am filling internal table. and there is scroll bar in my table control. but i does not want that.
    i was not selected RESIZING-VERTICAL OR -HORIZONTAL.

    Hi,
    From Scroll Bars in Table Control
    You can remove the scroll bar in the table control by switching off horizontal and vertical scrolling in the properties of the table control. The properties can be accessed from the screen painter by double clicking on the table control. Regarding the page up and page down functions, I believe you add those buttons in the screen layout and code for them. You can use the standard function code for the page up and page down functions.
    or
    You can get rid of the vertical scroll bars by not setting table control lines. This way the user can only see the visible lines of the table control. As for the horizontal scrollbar, just make sure that your table control doesn't contain too many fields.
    Regards,
    Raj.

  • Add vertical scroll bars to a content panel

    I need to use long text passages in a fixed size content area, so I need to add a vertical scroll bar to the side. Muse support says I need to use HTML code to do this. I'm a designer, not a coder, can anyone walk me thru this?

    Hi Jeff,
    I have replied to your previous post, Please refer to this thread :-  https://forums.adobe.com/thread/1627033
    Regards,
    Rohit Nair

  • Vertical Scroll Bar in module pool

    Hi,
    I am doing the module pool program in ECC 6.0 when i have more than 10 records in my internal table the tablecontrol wizard is showing only 5 records which are visible. when i hit the vertical scroll bar
    all the records are getting refershed and unable to get single record.
    Please suggest me how to get all 10 records and how the vertical scroll bar works properly
    Regards
    Edited by: Rasheed salman on Dec 6, 2008 5:35 AM

    Hi
    Try include this code in PAI
    loop at itab.
    module modify_tab
    endloop
    in program
    module modify_tab
    describe table itab lines tc-liens
    if tc-current_line > tc-lines
    append itab
    else
    modify itab index tc-current_line
    endmodule
    if it is not resolved  please post your coding in PAI part and PBO part
    if at all you are using any loop statements any other part of the code let us know
    regards
    Ramchander Rao.K

  • Why are vertical scroll bars disapearing with safari

    I have no vertical scroll bar when I access certain websites through safari, but they are there if I use firefox...

    Open the Finder.
    From the Finder menu bar click Go > Go to Folder
    Type or copy / paste:    ~/LIbrary/Caches/com.apple.Safari
    Click Go the move the ApplicationCache.db (or Cache.db) file from the com.apple.Safari folder to the Trash.
    Quit and relaunch Safari to test.

  • Text editing window expands instead of creating vertical scroll bar

    In the last few days, I have noticed that when I try to edit or post to Wordpress.com the vertical scroll bar no longer appears on the text editing box. Instead the box just gets progressively larger which makes it very difficult to get to other items on the WordPress editing screen, such as tags and categories. This problem seems to have arisen during the v31.0 auto-upgrade. Is anybody else having this issue and what steps can I take to solve it? (FYI, I tried modifying the setting described in another response about a similar issue using the about:config screen, with no success.)

    I don't know whether your dashboard has the "Visual" and "Text" buttons, but I believe the Visual uses CKEditor or another WYSIWYG editor and the Text editor might be a simpler design. Are both affected?
    I searched around to see whether I could find Wordpress.com support threads or other stories about it and I can't. So I'll fall back on some general suggestions:
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    "3-bar" menu button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * (menu bar) Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove WordPress.com cookies without affecting other sites.
    Then try reloading the page. Does that help?
    To rule out extensions as a possible culprit, could you try the site in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions, some advanced features, and some custom settings. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using either
    * "3-bar" menu button > "?" button > Restart with Add-ons Disabled
    * (menu bar) Help menu > Restart with Add-ons Disabled
    Note: Flash and other plugins still run
    After Firefox closes, a small dialog should appear: click "Start in Safe Mode" (''not'' Reset)
    Any difference?

  • RH7 - Viewing WebHelp in IE9 creates two vertical scroll bars

    An extra frameset appears to be in the main htm page (attached) that is generated by RoboHelp.  Here’s the frameset:
    <frameset cols="100%,*" frameborder=no border=0>
      <frame src="whnjs.htm">
      <frame src="whskin_blank.htm" noresize>
    </frameset>
    When viewing the help in a Telerik RadHtmlPlaceholder control in Internet Explorer 9, this frameset causes our help content to appear twice.  The content is stacked on top of each other, and a vertical scroll bar is added.
    Manually removing this frameset resolves the issue.
    Has anyone else seen this issue, and if so, are there any RH options for resolving it?

    While I was using RoboHelp 7, I worked around the frameset problem by deleting the following code from the main pag in my help system, as suggested in the forum:
    <frameset cols="100%,*" frameborder=no border=0>
      <frame src="whnjs.htm">
      <frame src="whskin_blank.htm" noresize>
    </frameset>
    When I did so after generating help in RoboHelp 7, I found that the extra frameset disappeared from IE9. Later I upgraded to RoboHelp 9 for an automated solution to the extra frameset in IE9. But I find that the problem persists. On WebHelp pages with more than a single screenful of text, the double frameset appears, and the content for the page one is viewing is stacked on top of the Welcome page, much as described by TechComm2 at the beginning of this thread. In IE9, with content generated in RoboHelp 9, an extra frameset appears whether I delete the abovementioned code or leave it in.
    My project is used as contextual help. Our developers have placed extra security on the project so that a user cannot view the help without first logging in to the application it describes. Because of this, I am asking our developers to help me look for a solution to extra framesets. But I did want to come back to this forum with an update and ask for additional comments from you-all as well.
    Thank you.
    Tom

  • Vertical Scroll Bars not wanted

    I have read other messages, but I cannot figure out why the
    vertical scroll bar still appears in IE even though there is no
    content below. The bar is there but not useable. Is there some code
    that will turn this off when not needed?

    That's the way IE (and some other browsers) works. It always
    draws a
    vertical scrollbar. If the scrollbar is not needed, it is
    "ghosted" and
    not usable, as you have noticed. When the page's content
    exceeds the
    window height the ghosted scrollbar rises from the grave and
    becomes alive.
    Other browsers do not add a scrollbar until one is needed.
    Some people
    don't like this because the addition of the scrollbar removes
    some space
    from the window, making it a bit narrower, and page elements
    that are in
    some way positioned or sized in relation to the window's
    width will
    shift and/or change size slightly.
    IE's solution prevents this content shifting at the expense
    of devoting
    part of the window to a non-functioning interface element
    some of the time.
    (It is my belief that either method of handling the vertical
    scrollbar
    is fine, and skilled designers will not create pages that
    fall apart if
    a scrollbar should appear where there was none before. For
    the record, I
    subscribe to the no-scrollbar-at-all-until-one-is-needed
    doctrine.)
    James M. Shook
    http://www.jshook.com

  • Adobe Reader move the vertical scroll bar from left to right

    Hi,
    is it possible to move the vertical scroll bar from left to right in Adobe Reader 9?
    If not, are you planning to implement this functionality?

    I meant from right to left, sorry
    You see, I'm left handed and when I use the scroll bar that is on the right side with the left hand I don't actually see the content of the page, because my left hand is covering the screen (I'm browsing the internet in tablet mode and I use the pen to navigate between pages).
    My system is a Tablet PC with Windows XP Tablet Edition 2005 and Adobe Reader 9.3.2.
    P.S. can you edit my post so the google indexes it right? (
    from right to left
    instead of "from left to right")

  • Vertical scroll bar on tab page.

    Hello,
    I have to show vertical scrollbar on my tab canvas.
    I have one Content canvas on which I have 1 tab canvas with 8 tab pages.(sec1,sec2,sec3 ..sec8)
    I have another tab canvas(kind of seb section for the above and each has 3 tab pages) like
    Sec1 will have (sub sectiion tab canvas) which has again 3 tab pages 1.1,1.2,1.3 and soon
    now on the third tab page of the sub section or second tab canvas, I need vertical scroll bar to fit number of fields which are more than the tab canvas size.
    all are from the same data block
    Could you please help me. i tried by creating staked canvas but no luck.
    can you please let me know the procedure to be followed
    Thank you in advance.

    Could you please help me. i tried by creating staked canvas but no luck.What happened when you tried to use a stacked canvas?
    If the items in the area you want to scroll are all in the same datablock you can set the Scrollbar properties of the block to be displayed. This will enable scrolling of the items that are within the specific block. If you items are assembled from more than block, then using a stacked canvas is a better option for enabling scrolling within an area.
    Also, what is your Forms version?
    Craig...

  • Textarea: strange vertical scroll bar

    Hi, everyone
    I implemented textarea with JTextPane, code is below.
    The problem is that,
    when there is only one pane in the content of HBox, the vertical scroll bar runs normal;
    but when there is 2 panes, the vertical scroll bar changes between visible and invisible again and again.
    My code wrong? or a bug of JavaFX?
    Thanks.
    * TextArea.fx
    * Created on 2009-12-5, 22:27:47
    package morsshow;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import java.awt.Dimension;
    import javax.swing.JScrollPane;
    import javax.swing.JTextPane;
    import javafx.ext.swing.SwingComponent;
    import javafx.scene.layout.HBox;
    * @author icycandy
    var text: JTextPane = new JTextPane();
    var pane: JScrollPane = new JScrollPane(text,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS ,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
    text.setText("youyouyouyouyouyouyouyouyouyouyou");
    text.setPreferredSize(new Dimension(500, 300));
    var text1: JTextPane = new JTextPane();
    var pane1: JScrollPane = new JScrollPane(text1,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS ,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
    text1.setText("lovelovelovelovelovelovelovelovelovelove");
    text1.setPreferredSize(new Dimension(500, 300));
    Stage {
        title: "love you"
        scene: Scene {
            content: [
                HBox{
                    content:[
                        SwingComponent.wrap(pane),
                        //SwingComponent.wrap(pane1)
    }

    Hi,
    I've just used the following SQL statement to create a tabular form:
    select
    "EMPNO",
    "EMPNO" EMPNO_DISPLAY,
    "ENAME",
    "PHONE1",
    APEX_ITEM.TEXTAREA(5, PHONE2, 5, 50, 'style="overflow-Y:scroll"') "PHONE2"
    from "#OWNER#"."EMP"PHONE2 is a small field, so you probably won't be able to save anything, but this statement is used in: http://htmldb.oracle.com/pls/otn/f?p=33642:100
    Both in IE7 and FF3, the scroll area appeared on the right of the box.
    Andy

  • In FF 4.0 why does the down arrow no longer function in the vertical scroll bar?

    Prior to FF 4.0 when I positioned my cursor over the down arrow of the vertical scroll bar in Hotmail and depressed the left mouse button, the scroll bar moved downward toward the bottom of it's column limit. Now in 4.0 it turns into an adjustment cursor forcing me to readjust the size of the Hotmail window rather than moving the scroll bar down the column. This only seems to happen in Hotmail.

    Check: http://kb.mozillazine.org/Website_colors_are_wrong
    See:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    * You can see the permissions for the domain in the current tab in Tools > Page Info > Permissions
    * You can see all exceptions in Tools > Options > Content: Load Images > Exceptions
    * You can check the Tools > Page Info > Media tab for blocked images (scroll through all the images)
    There are also extensions (Tools > Add-ons > Extensions) that can block images.

  • Vertical scroll bar in a tree node

    Hi Friends,
    I am trying to create a tree in Apex 4.0. I need a vertical scroll bar in my tree nodes if the no: of values is greater than 8. For example i am having a tree with customers and sites. When i press the customers it will list the sites under that customer. I need a vertical scroll bar to be displayed for sites if the no: of sites is greater than 8, so that i can limit the size of the tree. Is there any ways to achieve this in Apex 4.0. Any input for this will be appreciated.
    Thanks,
    Nav

    Hi,
    My test page was upgraded to version 4 along with the rest of the OTN workspaces. I still have access to the tree template but can not guarantee how long that will last as I have no idea behind the reasoning for removing access to new tree's templates. You can access existing old trees by changing the app:page in the URL to 4000:28 - but, note, that new Apex 4 trees are not included on this page as they are generated by widgets not by templates.
    For my old tree, to add the scrolling around the entire tree, I edited the tree's template - by clicking on the Tree link in the region - and added the following at the top of the "Before Tree" setting:
    &lt;div style="height:200px; width:300px; overflow-y:auto;"&gt;and add the following to the bottom of the "After Tree" setting:
    &lt;/div&gt;I have not, as yet, been able to find a way of adding scrollbars within a list when there are more than x number of entries.
    Andy

  • Can you remove Firefox Scroll Bar ....[Solved]

    In Firefox I am looking for a way to remove side scroll bar
    Is this possible?
    Did have a quick google but only came up with tab scroll????
    Last edited by Mr Green (2008-12-20 20:55:47)

    Mr Green wrote:it does remove scrollbar but you lose mouse wheel scrolling ;-(
    I use the following…
    /* hide vertical scrollbar */
    notificationbox {
    overflow-x: hidden;
    browser[type="content-primary"], browser[type="content-targetable"] {
    overflow-y: scroll;
    margin-right: -12px; /* 12px == width of my scrollbar */

Maybe you are looking for