Using browser scrollbars

I cannot seem to get a browser (in this case IE 7) to show
scrollbars for any Flex application. While I know how to use Flex
scrollbars, they do not make up for browser scrolling, especially
considering the flex scrollbars themselves have a tendency to get
clipped out of a browser window. Is there a solution for this, or
does using Flex automatically preclude a browser's ability to
scroll.
I noticed that on sample applications, like the Flex Store,
this is an issue as well.
Any advice would be much appreciated.

We are having this exact problem. This is a pretty crazy
problem. It seems like inner containers are not "pushing" the outer
containers out far enough. The only resolution that I can find is
to set a bunch of static sizes for containers, but then we lose the
flexibility. Any ideas? The scrollbars are ridiculous cause they
are constantly getting cut off by the browser or are there when
they shouldn't be. Is there a better way for apps with multiple
layers that are larger than the normal height of a screen?

Similar Messages

  • Applet repainting error in IE 5.5 using the scrollbars

    I've created a real straight forward applet using swing components to test out this error. It consists of a couple of JButtons & JLabels added to a JPanel that's the JPanel is added to the ContentPane. I'm using the Java Plug-in 1.3 on a Windows 2000 box using IE 5.5. When I view my applet everything is just fine. But when I'm using the browser scrollbars to view the rest of my applet and try to scroll down, the applet controls and everything within the applet does not get repainted properly onto the screen. Everything in the applet gets painted on top of their old controls a couple of pixels off making it impossible to use. When I scroll to the bottom and top of the page the applet repaints just fine, but it's when I'm scrolling in the middle of the page is where the applet can not repaint properly. I have tested this in Netscape 6.0 and everything works just fine. I'mnot sure what could be causing this but maybe one of you have cameacross this problem before and could help out.
    thanks,
    Peter Landis.

    Here's the code:
    import java.awt.*;
    import javax.swing.*;
    public class TestRepaint extends JApplet
    public void init()
         Container contentPane = getContentPane();
         JPanel panel = new JPanel();
    panel.setBackground(Color.lightGray);
    controls(panel);
         // Grid
         contentPane.add(panel);
    public void controls(JPanel p)
    JLabel imagelabel = new JLabel();
    JLabel imagelabel2 = new JLabel();
    // Create some labels
    JLabel label_1 = new JLabel("TEST 1");
    JLabel label_2 = new JLabel("TEST 2");
    JLabel label_3 = new JLabel("TEST 3");
    JLabel label_4 = new JLabel("TEST 4");
    JLabel label_5 = new JLabel("TEST 5");
    JLabel label_6 = new JLabel("TEST 6");
    JLabel label_7 = new JLabel("TEST 7");
    setLabelControl(label_1);
    setLabelControl(label_2);
    setLabelControl(label_3);
    setLabelControl(label_4);
    setLabelControl(label_5);
    setLabelControl(label_6);
    setLabelControl(label_7);
    // Buttons
    JButton b1 = new JButton("Button 1");
    JButton b2 = new JButton("Button 2");
    JButton b3 = new JButton("Button 3");
    JButton b4 = new JButton("Button 4");
    JButton b5 = new JButton("Button 5");
    JButton b6 = new JButton("Button 6");
    JButton b7 = new JButton("Button 7");
    setButtonControl(b1);
    setButtonControl(b2);
    setButtonControl(b3);
    setButtonControl(b4);
    setButtonControl(b5);
    setButtonControl(b6);
    setButtonControl(b7);
    // Layout
         GridBagLayout gridbag = new GridBagLayout();
         GridBagConstraints c = new GridBagConstraints();
    p.setLayout(gridbag);
    c.anchor = GridBagConstraints.WEST;
         c.fill = GridBagConstraints.BOTH;
    c.weightx = 1.0;
    c.gridwidth = 1;
    // Note Inset is (Top, Left, Bottom, Right);
    c.insets = new Insets(0,5,20,0);
         p.add(label_3,c);
         c.insets = new Insets(0,5,20,1);
    p.add(b3,c);
    c.insets = new Insets(0,5,20,0);
         p.add(label_4,c);
    c.gridwidth = GridBagConstraints.REMAINDER;
         c.insets = new Insets(0,5,20,1);
    p.add(b4,c);
    c.gridwidth = 1;
    c.insets = new Insets(0,5,20,0);
         p.add(label_5,c);
         c.insets = new Insets(0,5,20,1);
    p.add(b5,c);
    c.insets = new Insets(0,5,20,0);
         p.add(label_6,c);
    c.gridwidth = GridBagConstraints.REMAINDER;
         c.insets = new Insets(0,5,20,1);
    p.add(b6,c);
    public void setButtonControl(JButton button)
              button.setBackground(Color.white);
    void setLabelControl(JLabel l)
              l.setFont(new Font("Helvetica", Font.BOLD, 14) );
    l.setForeground(Color.black);
    ||||||||||||||||||||| HTML CODE |||||||||||||||||||
    <title>Test</title>
    <hr>
    <!--"CONVERTED_APPLET"-->
    <!-- CONVERTER VERSION 1.3 -->
    <SCRIPT LANGUAGE="JavaScript"><!--
    var info = navigator.userAgent; var ns = false;
    var ie = (info.indexOf("MSIE") > 0 && info.indexOf("Win") > 0 && info.indexOf("Windows 3.1") < 0);
    //--></SCRIPT>
    <COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
    var ns = (navigator.appName.indexOf("Netscape") >= 0 && ((info.indexOf("Win") > 0 && info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));
    //--></SCRIPT></COMMENT>
    <SCRIPT LANGUAGE="JavaScript"><!--
    if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 500 HEIGHT = 425 codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0"><NOEMBED><XMP>');
    else if (_ns == true) document.writeln('<EMBED type="application/x-java-applet;version=1.3" CODE = "TestRepaint.class" WIDTH = 500 HEIGHT = 425 scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"><NOEMBED><XMP>');
    //--></SCRIPT>
    <APPLET CODE = "TestRepaint.class" WIDTH = 500 HEIGHT = 425></XMP>
    <PARAM NAME = CODE VALUE = "TestRepaint.class" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
    <PARAM NAME="scriptable" VALUE="false">
    </APPLET>
    </NOEMBED></EMBED></OBJECT>
    <!--
    <APPLET CODE = "TestRepaint.class" WIDTH = 500 HEIGHT = 425>
    </APPLET>
    -->
    <!--"END_CONVERTED_APPLET"-->
    <hr>

  • Controling browser scrollbars when MC changes height?

    Is there a way to have the browser scrollbars show up when a
    MovieClip's height increases ?

    if you want to use the swfobject to resize the browser
    window, download the swfobject.js javascript file and put it in the
    same directory with your swf's html page and read about how to
    embed your swf using it.
    you can then call the resizeSWF() function (passing the new
    height parameter causing the browser window to increase in height
    and displaying scrollbars, if they are needed) by using the
    externalinterface class:

  • Kill browser scrollbars?

    Here's the movie if you want to see it:
    http://tinyurl.com/b9jo4f
    I've got it set to width=100%, height=820 so that it
    stretches to fill the window proportionally. The only problem is
    that now there is a vertical scrollbar any time the browser window
    is less than 820 pixels high. I'd like there to be no vertical
    scrollbar since it's already resizing the Flash movie.
    I've tried adding CSS:
    overflow: hidden !important;
    overflow-x: hidden;
    overflow-y: hidden;
    but no luck.
    I'm using just whatever object embed Flash is creating for me
    in the Publish settings. Is there another embed script that would
    be able to specify no browser scrollbars? I don't want to do
    height=100% width=100% because then it can resize
    disproportionately when the browser window stretches.
    If there is a javascript or something someone knows about,
    I'd be most delighted.
    thanks!

    Just change
    body{
    overflow: hidden;
    to
    <style type="text/css">
    <!--
    body {
    overflow: auto;
    -->
    </style>
    At the top of your HTML.
    Mesmotronic Multiuser Server for Flash 1.0 available now!
    http://www.multiuserserver.com/

  • How to Freeze Table/Column Header "without using additional scrollbars" ?

    hi people,
    I am hoping someone can help me here. I have a large table and would like to freeze the first row. Scrolling down the table "_*using the existing scrollbars*_" in the browser while ensuring the header rows are still visible (like Excel when you freeze panes). If you scroll to the right the header rows should stay frozen and not follow.
    I know there are other threads which talk about freezing table/column header, but my requirement is to have it "without using additional scrollbar".
    Thanks in advance,
    RAKESH

    Hi,
    there is no default key for this. You will have to code your own JavaScript for this. Also, I am not sure you want the column to be selected but a field in the column for the row you are in - correct ?
    Frank

  • Using Textarea Scrollbars

    Before I started using Dreamweaver, I used notepad. And I
    would use textarea scrollbars for excessive text.
    http://www.funky-chickens.com/tarea.shtml
    ...At the bottom, where it says Textarea allowing HTML. I usually
    use that on my previous websites. But using dreamweaver, when I
    install that snippet it creates problems and the tables stretch and
    screws up the whole site. How do I make that function work. I
    looked around and couldn't find that option
    Can anyone help me?
    A reference to how I use it:
    http://leyendarecords.com/biography.html
    ... Theres a website I made for someone. If you check out that
    page, you can see that I have scrollbars and text inside it. A
    friend made that template on Dreamweaver and I did everything on
    Notepad. Exactly how do I do that?

    That code is SO ANTIQUE it's unbelievable.
    <ilayer name="scroll1">
    <div id="scroll3"
    style="width:100;height:75;
    background-color:COLORHERE;
    overflow:auto">
    TEXT HTML TEXT HTML
    </textarea></div>The <ilayer> tag is not
    recognized by any browser than
    NN4x, and that browser is nearly extinct. In addition, they
    even omit the
    opening <textarea> tag and the closing </ilayer>
    tag, so in addition to
    being hopelessly antique, it's invalid too.
    > But using dreamweaver, when I install that snippet it
    > creates problems and the tables stretch and screws up
    the whole site. How
    > do I
    > make that function work.
    That's not surprising. DW doesn't know what to do with this
    markup.
    You could try just removing the <ilayer> tag -
    <div id="scroll3"
    style="width:100px;height:75px;background-color:COLORHERE;overflow:auto"><textarea>
    TEXT HTML TEXT HTML</textarea></div>
    but all form elements are required to be within an explicit
    <form>, so
    you'll have to add that -
    <div id="scroll3"
    style="width:100px;height:75px;background-color:COLORHERE;overflow:auto"><form>
    <textarea>TEXT HTML TEXT
    HTML</textarea></form></div>
    And then both the form tag and the textarea tag have some
    necessary
    attributes, so you'll have to add them too....
    I recommend you not use something like this, anyhow. There is
    a good
    discussion on this forum from just today about why it's a
    poor layout/design
    decision....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "streekd" <[email protected]> wrote in
    message
    news:[email protected]...
    > Before I started using Dreamweaver, I used notepad. And
    I would use
    > textarea
    > scrollbars for excessive text.
    http://www.funky-chickens.com/tarea.shtml
    > ...At
    > the bottom, where it says Textarea allowing HTML. I
    usually use that on my
    > previous websites. But using dreamweaver, when I install
    that snippet it
    > creates problems and the tables stretch and screws up
    the whole site. How
    > do I
    > make that function work. I looked around and couldn't
    find that option
    >
    > Can anyone help me?
    >
    > A reference to how I use it:
    http://leyendarecords.com/biography.html
    > Theres a website I made for someone. If you check out
    that page, you can
    > see
    > that I have scrollbars and text inside it. A friend made
    that template on
    > Dreamweaver and I did everything on Notepad. Exactly how
    do I do that?
    >

  • Browser ScrollBar Problem

    Hallo, i have a little issue. I have my flex application running in my Browser and the application is 1200pixels height so that the browser is enabling the scrollbar to reach the bottom parts. The problem is that inside my application i have another scrollbar which belongs to a list component and when i use the mouse wheel the list goes down but the browser page goes too due to browser scrollbar. How can i fix this problem??.. I shoud find a way to not make browser scrollbars listen to the mouse wheel event when i am on the list and to listen it only when i am not on the list... is that possible??
    Thx and sry for bad english.
    Max

    what you are asking sounds possible can you post your code on here so we can try to debug with you.
    Thanks
    Miguel

  • Flex2 (beta3) apps don't work with Firefox when browser scrollbars appear

    I ran into a very strange situation where my flex2 (beta2 and
    beta3) application is big enough to cause browser scrollbars to
    appear. In such a case, if I scroll the browser, then all button
    controls in the flex2 app can not listen to mouse events any more.
    I found this problem with Firefox (v1.5) in Windows XP. IE in XP is
    perfectly fine. Below is the code, simple enough to illustrate my
    situation. To test, please compile the first file into test.swf,
    and then access test.html form Firefox. Thanks.

    well i can say in dark,, many have done this solution, if its
    right even for u
    just clear ur cache using the ASO zip file available on
    http://www.adobe.com/cfusion/exchange/index.cfm?extid=1016963&view=sn111
    Now all the packages /missing file would get imported.could
    be some
    class definitions are'nt getting replaced
    (i faced this kinda problem before.. my old swf';s were
    getting played.. so i just cleared the cache and problem was
    solved)

  • Column freez using browser based scroll bar

    hi all,
    i got some solution to freeze columns using scrollbar its really nice,
    but i want to freeze columns , i have to use browser based scroll bar instead of report scroll bar, when i scroll mouse then report headers will locked at starting position of page and then only data will vertically scroll without scroll bar in report.
    can anybody help me.

    no, no, that's just a regular finder window. I don't have any finder extensions. That's just a regular finder window that happens to have a folder with the CDFinder application in it.
    Here's another example:
    BEFORE clicking the last .ffx file in the list:
    http://picasaweb.google.com/lh/photo/aP7B8IO6c76v1Y_5w8TxXw?feat=directlink
    AFTER the first click:
    http://picasaweb.google.com/lh/photo/ahQ4EvvkMzcVhXMppvedOw?feat=directlink
    The second click of a double-click gets lost on the horizontal scroll bar.
    Are you saying you never get a horizontal scroll bar, or just that whenever a horizontal scroll bar appears it doesn't ever cover a file?

  • Browser scrollbar scripting?

    I've done a bit of research and still not to sure how exactly
    to do this...
    If you have a fullscreen flash site, by default your browser
    scrollbar is disabled. So if someone's screen is smaller than the
    site, they can't scroll to see whats off the page. How do you
    enable the browser scrollbar with a fullscreen flash site?

    Well I figured you were talking about making my flash movie a
    pixel value instead of percent. But I figured I'd try the
    <div> tag anyway, but no luck there. It constrains the flash
    movie to the size of the <div>.
    So changing my movie to a pixel value isnt really what I'm
    looking to accomplish. (unless there's a way to assign a pixel
    value, but still make it fill 100% of the window) Here is an
    example of the site I'm working on:
    click here.
    As you can/will see, I have limited the amount of content in
    the body, and I cant add anything below that because some monitors
    wouldn't be able to scroll to it.
    Hopefully this helps interpret what I'm trying to do.

  • How to make JTable use horizontal scrollbar

    My application uses a table to which data is added dynamically(both columns and rows). My problem is that when number of columns increase i want JTable to use horizontal scrollbar instead of resizing columns(which i achieve by setting resize mode to OFF state), But due to this if number of columns are less then there's alot of empty space left after showing columns(coz JTable cannot resize cols to fit Viewport area). To achieve both criteria i used following solution
    1. Set Auto resizing to OFF.
    2. Check if width of table is less than viewport width and if so then set auto
    auto resizing ON :) which will fit columns in viewport thereby occupying empty space.
    But this solution doesn't seem to be straight and simple to me. Is anyone aware of a simple solution to this problem.
    Dimension dm_Dm = new Dimension();
        RSBrowser.setModal(false);
        browseTable_Jt.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        // reqd o.w. JTable resizes column widths instead  of using horizontal
        // scrollbar
        RSBrowser.setVisible(true);
        browseTable_Jt.getSize(dm_Dm);
        // if table width is less than total viewport size then fill the extra
        // space by setting suto resize property to ON.
        if ( browseTable_Jt.getPreferredScrollableViewportSize().getWidth() >
             dm_Dm.getWidth() )
            browseTable_Jt.setAutoResizeMode(JTable.AUTO_RESIZE_SUBSEQUENT_COLUMNS);
            browseTable_Jt.doLayout();
        RSBrowser.setModal(true);

    hi,
    with your problem statement it seems you should use javax.swing.JScrollPane like the one below
    JScrollPane tableScroller = new JScrollPane(yourTable);
    tableScroller.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
    tableScroller.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_NEVER);hope this helps you,
    regards,
    Afroze.

  • Need to select link twice when using Browser back button

    I see that my command_link works fine in normal scenarios.
    But when I come to that page using browser back button and then select the link within the page.... the first time, looks like its regenerating the page and only when I select the link second time it is calling the action listener associated with the link.
    Any clue as to how to fix this problem?
    Thanks

    use the following lines in your web.xml to avoid this bug of the current jsf-ri version.
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>I already tried to report this bug some time ago:
    http://forum.java.sun.com/thread.jsp?forum=427&thread=478928&tstart=180&trange=15

  • JRE Setup to Client machine on Intranet by using browser...

    Hi everybody,
    I have a problem about setting up JRE. If a client on the network wants to execute my client application, if there is no jre on the clent machine, the application try to connect java.sun.com for setting up JRE. If client machine has no internet connection, then the application cannot work. So my aim is to set up jre on the local server. For this, I reserched many times. But I cannot success. Becuase I dont know what is requirements for setting JRE b y using browser.
    Thanks for help...

    Hi
    Part II of the [Java Plugin Developers Guide|http://java.sun.com/j2se/1.5.0/docs/guide/plugin/index.html] describes the deployment using IE.
    Cheers
    /

  • To use browser cache

    After a contents is gatewayed through the portal, 'Cache-Control' value is setted as 'no-store, no-cache' even though it is setted to use cache from the remote server.
    We need to use browser caching function, but with the 'Cache-Control' value resetted in the portal while it is gatewayed, we cannot use browser caching function.
    Is there anyway to keep 'Cache-Control' value to use browser caching when a content is gatewayed through the portal server?
    Thanks,Young-Jin

    The bug is related to client browser caching, but is rooted in the gateway. As you've noted, the gateway is erroneously adding no cache headers to the response for certain content types, thereby preventing the browser from caching them.
    ...stephan------- Young-Jin Kim wrote on 4/26/04 1:39 AM -------
    Danil,
    Is that right you are talking about browser caching?Actually, we want to use client browser caching.The bug that you said is related to client browser caching or gateway caching?

  • Browser scrollbar and Flash scrollbar ? I need help!

    Now I have a problem about the scrollbar:
    The height of my swf file is longer than browser height, so
    the scrollbar of browser's occurred, if I scroll my mouse wheel,
    the whole flash roll down, but the problem is that I have used a
    scrollPanel component which write by myself, and in this situation,
    when I scroll the mouse wheel, the scrollbar in flash and browser
    will both in effect.
    The question is that how to disable the brower scrollbar when
    I scroll mouse wheel inside the scrollPanel component. In fact,
    adobe already done this, if my cursor inside a textfield object,
    the scrollbar of bowser will not get focus. How to achieve this
    effect? My english is bad, but I need help!

    i recently downloaded trails of flash cs4 and web premium package cs4 (took a day to download at high speed starbuck's internet). couldnt get the setup.exe to work or the uninstaller to work. surfing tech support over next couple weeks to try various agents was useless and expensive until i finally reached someone with useful info. all the agents had foriegn accents and read from scripts and web support pages until yesterday, when i reached a guy who told me two things i'll report to various forums addressing this same issue:
    1. download windows uninstaller program from their website (google: windows ininstaller). this program is different from the one that doesnt work in the programs and features area of control panel when you try to uninstall adobe products from there.
    2. windows explorer 8, the newest version, DOES NOT download adobe softare properly and leaves things out, causing all sorts of issues including the setup.exe program not working. download firefox browser from mozella (google: firefox) and use it for all adobe downloads. apparently the old windows explorer 7 will work, but if you already have explorer 8 installed its easiest to just use firefox.
    i'm spending the next couple days downloading the 4.14 G web premium trail with firefox and will report if this works.

Maybe you are looking for

  • How to get the weekends days for a specific date range

    I want to select list of only weekend dates from a given date range. Is it possible in SQL? For example if the range is '08/01/2011' and '08/30/2011' I want a list 08/06/2011 08/07/2011 08/13/2011 08/14/2011 08/20/2011 08/21/2011 08/27/2011 08/28/201

  • BT home hub 2.0 buffalo linkstation

    Hi Just after some advice as i think my hub might be faulty. I have a buffalo link station Nas device. When tranfering large files to it over 3 gb the hub resets. It does this over lan and wireless. In all other aspects the hub behaves fine. It is on

  • Dynamic popup text box...

    I have a text box with a ton of text in it (multiple paragraphs). Functionally, what I'd like to do is have it so that I can have people click on (or roll over) certain words, and then a definition pops up in a blue box (kinda like a tooltip)... I co

  • Solaris 10 kernel patch upgrade

    Hi all, i am in a process of upgrading the kernel patch of a solaris 10 x64 machine, the present kernel patch is "5.10 Generic_144489-06 i86pc i386 i86pc" the updated kernel patch that i am going to upgrade to is patch "144501-19". could you please l

  • Vendor document With-holding tax

    I encounter one issue, one of my vendor document, in line item1, additional details, it shows Disc. Base: 3200 THB, but if we go to tax tab, it shows: tax at payment , witholding tax base: 3000 THB, why two Disc base is different?