Forcing scrollbars on Playbook Soft

In the app I I do have one

fixed height. User entered the longer div on the list, and eventually it will go beyond the bottom border. In my CSS I overflow set to auto so that when the list is longer that the div displays scroll bars. This works in all browsers, but not on the playbook. The div is userscrollable but I'm afraid that the user won't know to do to scroll from the bars do not appear. I tried a lot of different options and nothing makes the bars are displayed on the playbook. Anyone know what the trick is here?

After that tneil advised me to abandon iScroll and use integrated native kinetic scrolling WebWorks, I had a problem with this - I had the DIVs with overflow but no visible scroll bar.

My solution: adding a scroll bar custom for browsers WebKit as described here:

http://CSS-tricks.com/9130-custom-scrollbars-in-WebKit/

My specific implementation is encapsulated in this GitHub validation:

https://github.com/yllus/lemma-for-the-BlackBerry-PlayBook/commit/cace1d022a544b8c7a9546d5044d42d489...

Tags: BlackBerry Developers

Similar Questions

  • Prevent caching on Playbook Soft

    How can I stop my application to cache the remote scripting, json feeds etc? For development, I have install my application to load in the scripts remotely I can do a quick test. But caching is a problem.

    Updated - I discovered how to do this by adding random numbers at the end of the file name. For example:

    
    

    Great!  I was about to suggest the same thing but you beat me to it

    
    
  • forcing of vertical scrollbars or otherwise correct for their absence

    Hello

    I have a bunch of empty pages which can be obtained from here:

    http://www.medxmedia.com/REMsCentral/about_us.php

    The second tab has some content and with the exception of her we are tab each page will probably have enough content to cause the vertical scroll bar to appear.  But what can you do on the page that does not have enough content so that the navigation menu does not appear to jump right 16 px, or what is the width of the scroll bar?

    I found several online methods for forcing scrollbars, but none of them does not seem to work or I am not correctly added to the CSS.

    I would like your advice.

    Best regards

    Chris McLaughlin

    Here's the css:

    @charset "utf-8";
    / * CSS document * /.

    HTML, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset {}
    margin: 0;
    padding: 0;
    border: 0;
    }


    {#flashMenu}
    background-color: #FFFFFF;
    Width: 925px;
    height: 220px;
    margin: 0px auto;
    overflow: hidden;
    }

    {#wrapper}
    Background: url (.. / images/medsBG.gif) repeat;
    do-family: Arial, Helvetica, without serif.
    do-size: 14px;
    text-align: left;
    line-height: normal;
    Color: #000000;
    margin: 0px auto;
    padding: 0px;
    border: 0;
    height: 100%;
    Width: 925px;
    overflow: hidden;
    }

    {.meds}
    Display: block;
    Width: 284px;
    height: 46px;
    Padding: 12px;
    float: left;
    }

    .website {}
    Display: block;
    Width: 284px;
    height: 46px;
    Padding: 12px;
    float: left;
    }

    . {PI
    Display: block;
    Width: 284px;
    height: 46px;
    Padding: 12px;
    float: right;
    }

    You have two options, add any to your level of CSS site.

    (1) force a vertical scroll bar appears on all pages:

    HTML {height: 102%; margin-bottom 2px}

    (2) force a vertical channel to appear on some pages:

    HTML {overflow-y: scroll}

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • How can I force my FB4 Web request to have scrollbars?

    My web FB4 App has the least defined length and width. My users don't want IE maximized window all the time, but I have found no way to force the scroll bars at the application level. I can add them within the app for modules, etc., but users want scroll bars in the IE window. Any ideas?

    "<Application s: name =" IC "," "

    " xmlns:fx = 'http://ns.adobe.com/mxml/2009"" "

    " xmlns:s = 'library://ns.adobe.com/flex/spark"" "

    " xmlns:mx = 'library://ns.adobe.com/flex/mx"" "

          minWidth = " " 800 "

          minHeight = " " 500 "

          width=" 100% "

          height=" 100% " >

  • Forcing the PlayBook is not for Zoom to doubleclick!

    Hey guys,.

    first of all: Happy Easter!

    Here's my problem:

    Some features of my app work with doubleclicking.

    The thing is, if you double click on the last Simulator top zooms in.

    Is there a way to disable this option? Maybe in the config.xml file? Searched for it, he could not find :/

    I'll give Kudos for the answers that help me!

    In the header of your html file, add in this...

  • Put scrollbars appear in IE

    Hello

    I wrote a simple mxml application with all the sample components thrown in.

    I want the IE browser (not soft) to display vertical and horizontal scroll bars.

    The use of horizontalScrollPolicy and verticalScrollPolicy defines scrollbars for the app, not the browser.

    How can I force the browser (IE) to display the scroll bars?

    Thank you

    Pradeep.

    width = "100%" height = "100%" in<>

    The method of measurement goes inside the tag of your mxml file script

    "MX:application xmlns:mx ="http://www.adobe.com/2006/mxml"layout ="absolute"initialize =" init () "backgroundColor ="#FFFFFF"backgroundGradientColors = creationComplete =" () "[#FFFFFF, #FFFFFF]" addAuto ""

    width ="

    100% "height ="100% "horizontalScrollPolicy ="off"verticalScrollPolicy ="off">

    private

     

    var _lastMeasuredHeight:int;

    Override

     

    protected Measure [] function :void

    {

    Super. measure().

    Alert.Show ("_lastMeasuredHeight" + _lastMeasuredHeight.toString ());

    Alert.Show ("measuredHeight" + measuredHeight.toString ());

    if (measuredHeight! = _lastMeasuredHeight)

    {

    _lastMeasuredHeight = measuredHeight;

    if (ExternalInterface.available)

    {

    ExternalInterface.call("saveglobalscore",score))

    ( "setFlashHeight", measuredHeight);

    }

    }

    }

    ]]>

    value = '100% ' in the object tag JSP or HTML and your object tag are locked in the div as below in JSP or HTML

    <>
    SRC="Flex/SWF/DragDrop.swf".
    ClassID = "clsid:D27CDB6E - AE6D-11cf - 96 B 8-3540000" id = "app" "
    width = "860" height = "100%".
    codebase ="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" > ".
         
         
    value="Flex/SWF/DragDrop.swf" / >
         
         
         
         

    Add a JavaScript method as below

    function setFlashHeight (newHeight)

    {
    assuming that strategiesFlashDiv is the name of the div contains the flex application.
    var flashContentHolderDiv = document.getElementById ('strategiesFlashDiv');
    flashContentHolderDiv.style.height = newHeight;
    }

  • How to fix a narrow strip along the right side that seems to be a copy of the right part of the browser, forcing me to right click buttons to use?

    I haven't downloaded or done something again, but today a narow Strip appeared along the right side of my window and forces me to click to the right of any button or scrollbar I want to use. Sometimes, this narrow strip is white, but it usually appears as a second window, with another bar visible, but unusable scroll.

    I saw two other reports of the present, and I'm not sure whether the previous users were able to resolve it, either by using our suggestion or in other ways. Please take a look at suggestions in these discussions:

    There must be some common element here...

  • HP50g - menu soft &amp; problem of local procedures

    Pls help!

    Below is a simple program to illustrate the problem with a menu soft & updated local procedures

    (-> and <-stand for left and right arrows)

    Program works great under debugger! (displayed correctly SALDO and TRANS in response to press the soft keys)

    But started him only gives error messages: "undefined local name.

    According to the manual update of local variables (here < s and <-T) must be visible in the module of the whole program, or I don't unerstand not something?

    Of course program works very well when the overall procedures are used instead of the premises.

    Thanks in advance for your advice

    < <

    < < "SALDO" > >

    < < "TRANS" > >

    --> < s < t

    < <

    {

    {"SALDO" < < < if EVAL > >}

    {"TRANS" < < < t EVAL > >}

    } MENU

    > >

    > >

    Hello

    A local variable has 1 main feature: a scope.

    This range means that the variable only exists in this scope...

    A scope is a 'physical' and time stretch (note the quotes around physics, it's because he's not real physics, but virtual physics).

    Expand the 'physical' is the length/area of the program where there is the local variable. This extension from the definition of the local variable until the closure of the program block is more deep where the local variable is defined.

    The measurement of time is the duration of execution of the execution of this program block.

    There is a secondary feature: this is the name and it is the recognition by the system.

    RPL, as in most languages, the basic rules of the gramar program allows a local variable to have a name any. Therefore, at first inseparable from a global variable. The compiler then uses his knowledge of the field of knowledge, when you type a name, if it is to create a local or global variable.

    Until then, there is no problems in the definitions...

    Now, let's look at your program (in essence)

    < < 1 2 - > V1 V2

    < <

    {{V1 'V1'} {'V2' V2}} MENU

    > >

    > >

    When the program runs, it creates 2 MENU items, and then OUTPUTS!

    At the time where your more intimate program stops, local variables are destroyed (normal, follow the rules)...

    HOWEVER, you left a temporary structure that is available to the user (in the menu) which contains references to these variables (which no longer exists)... When you press one of these keys to menu... KaBoom...

    But what that <-syntax stuff?

    Don't forget the 'physical' extension of the scope... It's all good and all... BUT it has some issues.

    Namely, you cannot split your program into small chuncks, stored in various global variables to facilitate programming.

    In most languages, and according to the rules defined above, you may not create a subroutine, using local variables that you plan to have exist in a "time extend" which covers the delivery of the subprogramme. This is true of most programming languages. The reason why you could not create this subroutine is that the compiler would not know/believe these variables are 'in the scope' during the compilation of the program (* see tip below).

    The <-syntax allows this. It allows to force a variable to be compiled as local even outside the physical measure of the scope. But at the time of this call to the local variable, the variable MUST be defined, otherwise... KaBoom!

    This is the heart of your misunderstanding...

    To do what you want, you have 2 possibilities:

    -Use global variables

    -Put a STOP after the MENU statement (you must use TMENU BTW) and a SUITE at the end of execution of each of the menu items.

    I hope this helps!

    Cyrille

    * trick below *.

    The 50 HP has an environment / planning of circuits integrated very neat that lets you do the following to avoid having to type those pesky arrows back.

    Create your top program with your local variable definitions (not necessary of arrows). Just after the definition of the local variable, place a STOP instruction. Run the program.

    Now you can create your SUP program! When you press ENTER and the system compiles your program, these variable EXIST local (you are in their scope of TIME!) and your program will contain local variable rather than global calls!

    However, this will not solve your problem.

  • How to force refresh rate in OSX?

    Hi my friends.

    I have a problem (for me) with a resolution and framerate in MacMini with El Capitan and my home theater.

    I'll try to explain well because my English it s UH very poor

    Well, yesterday was this entertainment: TV 42 "philips, Pioneer VSX - 520-k A / V and last MacMini version (base end of 2014). MacMini show in TV using the HDMI AV Pioneer link. (MacMini--> Pioneer--> TV). This config use 10920x1080p 60 Hz and see everything ok.

    This morning I bought new Samsung JU7500 TV 55 "4 k - UHD replacament TV Philips TV. The problem of it s with new TV:

    -If I connect MacMini HDMI direct to the TV, see OSX config say

    -If I connect MacMini to A / V, s Billboard in black... Connect only by 'share display' or VNC.

    -If I connect MacMini to A / V but with TV off the coast and their TV display, Panel it s ok...

    After several tests, I found this failure:

    The problem is that...

    1 - If connect MacMini using A / V, refresh rate it s 30 Hz and has / V Don t support this rate (so the screen is black but sounds it s ok with AV, only a black screen it s) (see VNC capture). But nevertheless this same config live TV HDMI TV turns on screen

    2 - If power on MacMini and connect to AV but turn off the TV, display config has 50/60 Hz and disappears 4 k resolutions.

    3 - the last time, with steep 2, config 1920 x 1080 60 Hz for example and turn them on TV (don't forget the MacMini using AV) display see the config and turn on the TV on! (only display is black if I touch any resolution because that change again 30 Hz).

    I think the problem is that MacMini use 30 Hz and AV Pioneer Don t support this rate so my question is: How can I force the refresh rate is 60 Hz forever?

    I hope you understand me

    Finally used this soft, it s very fine it s to pay but good app

  • How to work the Scrollbar properties

    I am wanting to use control of ScrollBar instead of the horizontal scroll bar of waveform chart to force appropriate resizing, but I'm having a problem, understand what actually do the properties for it. Let's say my X axis has 140 points on it. When zoomed in on the data just say see the 50 points. Use of DocMax/Min, size Page and increment to ensure I can view all data moving left and right without slack at both ends of thescrollbar? I watched both the context-sensitive help for the properties and the scrollbar of cluster sample.

    I guess I am, how to position the cursor in the correct position based on the position of the data being viewed?

    I enclose my current attempt. The code I need help is in Config_Scrollbar.vi located in the false outer case.

    VI have been written in labview 2012

    He got.

  • Launch of the URL in the browser of the Playbook

    I must say, this complete package of the Playbook is a fascinating move by RIM. Seems really captured some interest. He certainly got I'm working on my application that I've been a bit lax to watch for a while! Also forced me pick up cocos2d-x in my todo list, as my android app used native code for graphics, so thanks for the help I needed

    In any case, a question which I hit to date can come from my lack of understanding of the Playbook as a device. Is it possible (and it's a workflow accepted) for launching native browser of the Playbook since an application SDK? So if I want to link my dev blog / facebook page / G + page / whatsoever of in app I just wish I could call some URL launches the function. If it's in the docs I apologize, but I look through and cannot see an obvious reference to this type of action.

    Function called navigator_invoke draws bps

    See docs here

    https://bdsc.webapps.BlackBerry.com/native/beta/reference/com.QNX.doc.bps.lib_ref/com.QNX.doc.bps.Li...

  • Force landscape mode with WebWorks

    To force a mode application landscape, the following should be added to in your *-app.xml file:

    fake

    landscape

    If I create one *-app.xml for my WebWorks project, however, it is ignored by the compiler. So far, I've been open my .bar file after compilation, extract the *-app.xml the compiler creates, edit and update the archive, but I suspect that this will not be an option when the time comes to sign my applications.

    What other options do I have?

    Hello world

    We have actually had discussions about this feature today... We look at a few solutions that would be built into the software.

    For the moment, you can try the following... (I have not tested it yet)

    If you go into the "bbwp\AirAppTemplates\src" directory where you installed the WebWorks for PlayBook SDK you'll find a file called WebWorksAppTemplate - App.xml

    I think it's the file use us as a model and then replace specific fields with the information from your config.xml file.

    Try to make changes to this file, and they can stick to you.  Also note that the changes here will affect all of the apps you build with the SDK.

  • PlayBook Simulator included in the SDK WebWorks for Mac does not start

    Hi, I downloaded and installed the WebWorks BlackBerry SDK for Tablet OS for Mac from http://us.blackberry.com/developers/tablet/webworks.jsp . I have VMWare Fusion installed 3.1.2. I used the beta3 .iso Installer to create a virtual machine, and it worked very well. Open the bbwp/blackberry-tablet-sdk/BlackBerryPlayBookSimulator-1.0.1/BlackBerryPlayBookSimulator.vmx file load VMWare Fusion and adds a virtual machine named "BlackBerry PlayBook Simulator" in my VM library. When I try to 'turned on' virtual machine, nothing happens. The power seems to be on for two seconds and turns off the virtual machine. I can't find all the lines from log in Console.app. the 'Virtual Machine'-> 'Force Start Up' menu is no help either. I download the stand-alone "BlackBerry PlayBook Simulator for Mac", that is also marked v1.0.1 but I am not optimistic if it is delivered as a set of folders VMware. Please do not make me run the PlayBook Simulator in a virtual Windows XP machine!

    Hi jaschroe,

    Try to manually copy the folder BlackBerryPlayBookSimulator - 1.0.1 to another location on your Mac and then try to open this copy of the VMX file in VMware Fusion. (No need to re - install).

  • Try to install webworks for playbook on Mac: empty installation screen!

    Hello!

    I tried to install WebWorks for Playbook on my Mac OS X 10.6.8.

    First I downloaded with Safari, unzipped in and run it. The installation program requires the password for the admin user (I am logged on as administrator), and then I saw a progress bar and finally a blank screen and a blue 'next' button in the lower right.

    Last message in the console is something about Apple Script I think:

    Someone at - it an idea?

    Thank you very much!

    Regards, Sebastian

    29.07.13 18:15:44 authexec [2310] execution /Users/creator/Downloads/BlackBerryWebWorksSDK.app/Contents/Resources/BlackBerryWebWorksSDK.app/Contents/MacOS/BlackBerryWebWorksSDK

    29.07.13 18:15:44 BlackBerry_WebWorks_SDK_for_Tablet_OS [2301] osError = 0

    29.07.13 18:15:44 [0 x 0-0x1ae1ae]. BlackBerryWebWorksSDK [2293] 2013-07-29 18:15:44.112 BlackBerry_WebWorks_SDK_for_Tablet_OS [2301:903] osError = 0

    29.07.13 18:15:44 [0 x 0-0x1ae1ae]. BlackBerryWebWorksSDK [2293] [obsolete] Zero G InstallerAnywhere: forcing java.vm.version $ (java.version) - zeroG in order to maintain backward compatibility

    29.07.13 18:15:49 osascript [2313] addition of scripts loading limited to system areas because this process has mixed credentials (issetugid = 0 uid = 505/0 gid = 20/20 r/e)

    Some messages after work around there s the fix right bryanhiggins got Apple

    that is not just use my boring job around, read on and fix your system (bad update of JAVA)

  • Problem with localStorage on the PlayBook: QUOTA_EXCEEDED_ERR

    Hello world!

    I try to record some data for the localStorage on the PlayBook. In this case, round point 2.6 MB, for this amount, the QUOTA_EXCEEDED_ERR error is raised, and I have no idea why? I thought that the limit is about 5 MB? And I was hoping that the PlayBook could ask the user to give more memory to the app.

    Is there a way to force more storage space for localStorage? 2.6 MB isn't that much and I expect a lot more data in some cases.

    This is my piece of code, any help would be really appreciated:

    localStorage.removeItem("items");
    localStorage.setItem("items", JSON.stringify(this.getItemsAll()));
    

    See you soon,.

    Sven

    Hello, the current maximum size is actually 5 MB.  From the sounds of it, you feel that you use about 1/2 of that.  If the character encoding used uses 2 bytes per character?  for example, the string "Hello World" in UTF - 8 uses 22 bytes, not 11.

    I was curious to see for myself when I start to play with storage local and thus created the 'next' load test to discover what was the upper limit.

    The way I found this limit was to maintain the 'Storage Local load' button until nothing happens.  Then one distance zeros in the input field and try again.  Keep repeating this until you get to '1' in the input field

    http://BlackBerry.github.com/WebWorks-samples/kitchenSink/HTML/HTML5/storageloadtest.html

Maybe you are looking for

  • What is the name of the file where the contacts are stored.

    I need to restore my contacts from a backup. What is the name of the file where the contacts are stored?

  • hp15R032TX: drive hard red turnd

    THE READER "RECOVERY D ' TURNED TO THE RED AND THE BLUE COLOR. BUT SHOWS EMPTY...

  • Acer wifi limited connectivity problem

    Have a fix for the Windows 8 wifi limited connectivity problem? With the help of a computer acer laptop with a Qualcomm Atheros AR5BWB222 Wireless Network Adapter on a Verizon FIOS Actiontec MI424WR using WPA2. The first WiFi is fine, then sporatical

  • Unable to connect to the hotspot, iphone

    On the road, I often use an internet connection on my Samsung laptop using my iphone hotspot 5 by ATT.  I made no changes to the computer or the phone, but all of a sudden, the message is "unable to connect to the iphone.  ATT said there must be a pr

  • BlackBerry Smartphones looking for info on Blackberry Curve 8330

    Hello I'm new here, but I have a question. I am seriously interested in the upgrade of the my LG enV phone a Blackberry Curve 8330. My quesiton is, is it true that you can not use the phone for calls, surf the web or by e-mail while he's in charge? O