Problem of PlayBook and DIV

Hello

I am developing a basic application by using the web development kit and I'm running a problem with some divs.

I have a div that displays a button, and when you click the button, the div is hidden. The button calls a javascript function that affects the hidden div visibility.

The code works fine when I test it in IE, Firefox and Chrome, however, when I download the playbook Simulator, by clicking on the button has no effect, that that is the div become hidden.

Anyone has any suggestions as to why this might be?

Thank you!

I have the same version of Simulator.

At this stage, it is difficult to determine what went wrong, when you try to implement your example.

For what it's worth, here's a zip of my implementation of your exact example. Maybe you can use it to understand what is the problem with yours?

http://www.i-Marco.nl/stuff/test.zip

Tags: BlackBerry Developers

Similar Questions

  • Problem with FLOAT and DIV widths

    I create a HTML page, and I would like to have three "modules" (for lack of a better word) along the bottom, each 180 pixels wide, containing textual information. I created my document like this:

    < div class = "module" >
    <!-here...-> content
    < / div >
    < div class = "module" >
    <!-here...-> content
    < / div >
    < div class = "module" >
    <!-here...-> content
    < / div >

    My CSS looks like this:

    Unit {}
    float: left;
    Width: 180px;
    margin: 15px;
    }

    .. Yet when I do this, the modules are stacked on each other rather than inline. After some research, it seems as if the "width" attribute that causes the problem. (If you look at This example- a similar situation - it works very well for them. They do not use a width attribute, but when I add a width attribute in their code, it breaks.)

    The confusion of mixture is that Dreamweaver 8 displays the page exactly as I want it in its internal browser, but Firefox and IE exhibit the problematic behavior, I have just described.

    Any ideas?

    Thank you.

    Thanks to everyone here who took some time to answer my question. Turns out I had a 'div tag "on the inside of each of my modules that launched off the coast of the layout, even if no style has been defined for this tag.

    I know it's something that could have been found easier had I simply posted the source code here... but the site I'm trying is confidential for my business, and I couldn't. Believe me, my first reaction was to do. However, your ideas certainly led me to the right solution. Thank you!

  • WebWorks for Playbook and using photo APIs

    Hello

    The API documentation, I found that the camera what API can be used to call the camera from an application. Thus, it can be used to capture an image that will then save the image in a folder of the playbook? If Yes, how can I know the name of the file that is the last one added to the camera file in the shared location? Please help me with this.

    Thanking you in advance,

    Praveen

    garciaf wrote:

    Is there a way to get the photo you take with the camera.

    You must use the Phonegap Framework http://www.phonegap.com/

    They provide a specific function that represent you to get the URI of the file or data directly.

    (But if you get the data directly there is a problem of memory)

    Another way is to encode your own API in Java and add in the web works. (If you choose this solution and the success you, I would be very interested in the result)

    Concerning

    Hi garciaf,

    You are right that PhoneGap has this API for smartphones, but they have not yet supported for Tablet OS.  And on Tablet OS, you can't create an extension using Java, because it is not a Java virtual machine.  You must create an extension with ActionScript

    The takePicture() API becomes even closer now to PlayBook and smartphone.  You can see what the API signature will look like in the jsdocs found here:

    https://github.com/BlackBerry/WebWorks-API-docs/BLOB/Delta/API/blackberry_media_camera.js

    It will be the signature of the API used for both BONES of tablet in the 'Delta' version and the Smartphone 'Epsilon' version:

    https://github.com/BlackBerry/WebWorks/Wiki/Roadmap

  • Product sharing between PlayBook and Smartphones

    I have an application available for the devices of the PlayBook and BB7 (ball Gunner 3D), and I have a user complains that, although he bought and installed on their smartphone, it can also download the game for his PlayBook.  Apparently the application does not yet appear in My World of App World on his PlayBook.  This is the expected behavior?

    When I tested it myself I found that my PlayBook list the app in My World, but when I viewed the application App World it offered me the chance to reinstall - I'm not sure if it was because I had previously installed on the PB or because of the purchase I had made of the smartphone version.

    Any help is appreciated!

    I just got a response from the RIM on this issue:

    «It is a known problem (purchased on Smartphone apps are not available on PlayBook).»  This issue should be fixed in the Tablet OS 2.1 version. »

    So I guess it's resolved for now.  Thanks to all who helped!

  • App playBook and BB10 - two different applications / same name?

    I have an app for the PlayBook, and I intend to publish an updated version of the app for BB10.

    I need to create a new app in App World?

    If so, can disturb apps have the same name?

    Thank you

    Hi guys,.

    The Bundle/release has been the same since the creation of the App World.  When a device hits the server to see if your application has the shoring, it will scan the highest output # to see if the model/OS are supported.  Otherwise, it will switch to the next version of highest and do the same thing.

    You can have demoulante support of different devices, so in this case show that a new version for only BB10 will not cut off users PlayBook.  When a user PlayBook is going to download your application, they will be seeing (and receive) the higher output that supports their device.

    You're right, because today, you can't target your meta - data to a specific platform.  This comes shortly, so if you want, you can submit your existing BB10 under a SKU PlayBook apps.  The number of users who would be your download BB10 today is very minimal because the devices have not yet started again, so don't have not targeted meta-data should not be too much a problem.  We will have this capability before launching BB10, date at which you can update your metadata as a result.

  • CSS: Space between UL and DIV

    Hello

    I create a page layout in CSS and I'm having a problem with unwanted space appearing between the navigation bar UL and div content area  Space does not appear in Dreamweaver, but it shows up when I discovered the site in any browser.  I found the discussions in which people had similar problems, but the solutions that have worked for them did not seem to make the case for me, so was hoping that someone could help me to look at my code.  I hear I'm going, so I apologize if I am missing something obvious.

    CSS:

    {#-barre of navigation

    Background: URL(images/navigation-bar.png) left top no-repeat;

    Width: 869px;

    height: 40px;

    left margin: auto; margin-right: auto;

    margin-top: 0;

    padding: 0;

    }

    #-barre of navigation span {}

    display: none;

    }

    bar of navigation-# li, #-navigation bar a {}

    height: 40px;

    Display: block;

    }

    bar of navigation-# li {}

    float: left;

    list-style: none;

    Display: inline;

    position: relative;

    }

    #navigation - bar - home {width: 145px ;}}

    #navigation-bar-lawyers {width: 145px ;}}

    #navigation - bar - practical - areas {width: 145px ;}}

    #navigation-bar-philosophy {width: 145px ;}}

    #navigation-bar-contact {width: 144px ;}}

    #navigation-bar-links {width: 145px ;}}

    #navigation - bar - home a: hover {background: url(images/navigation-bar.png) no-repeat ;} 0px-40px

    #navigation-bar-lawyers a: hover {background: url(images/navigation-bar.png) - 145px - 40px no-repeat ;}

    #navigation - bar - practical - areas a: hover {background: url(images/navigation-bar.png) - 290px - 40px no-repeat ;}

    #navigation - bar - philosophy a: hover {background: url(images/navigation-bar.png) - 435px - 40px no-repeat ;}

    #navigation - bar - contact a: hover {background: url(images/navigation-bar.png) - 580px - 40px no-repeat ;}

    Navigation-bar #-Liens a: hover {background: url(images/navigation-bar.png) - 724px - no-repeat ;} 40px

    {#content-home}

    background-color: #ffffff;

    background: url(images/courthouse.png) left top no-repeat;

    Width: 869px;

    height: 565px;

    left margin: auto;

    margin-right: auto;

    position: relative;

    padding: 0;

    }

    HTML:

    < ul id = "navigation bar" >

    < id li = "navigation-bar-home" > < a href = "index.html" > < span > </span > < /a > < /li > home ""

    < id = 'navigation-bar-lawyers' li > < a href = "attorneys.html" > < span > </span > < /a > < /li > lawyers ' "

    < id li = 'bar of navigation-areas of practice' > < a href = "practice.html" > < span > Practice Areas </span > < /a > < /li > ""

    < li = 'navigation-bar-philosophy' id > < a href = "philosophy.html" > < span > </span > < /a > < /li > philosophy ""

    < li = 'navigation-bar-contact' id > < a href = "contact.html" > < span > </span > < /a > < /li > Contact ""

    < li = 'navigation-bars-links' id > < a href = "links.html" > < span > links </span > < /a > < /li > ""

    < /ul >

    < div id = "content-home" > < / div >

    The space appears between the 'navigation bar' UL and the div "content-home self' I want that they touch.  The only way I can get them to the touch is by adding a ' margin-top:-12px' in #content-House, I want to avoid it.  Thank you very much for the research - I really appreciate it!

    Replace the navigation bar-# with the below:

    {#-barre of navigation

    Background: URL(images/navigation-bar.png) left top no-repeat;

    Width: 869px;

    height: 40px;

    Auto margin: 0; / * top and bottom are 0, left and right are auto * /.

    padding: 0;

    }

  • Problems with IE8 placing div to the right place. Other browsers work fine.

    My layout works in all browsers (Firefox, Safari, Chrome, Opera and IE6 and 7), but not in IE8 or 9beta.

    The problem is a containing div text does not display below a "lightbox" Gallery In IE8, the div text jumps and appears behind the gallery.

    I tried to use definitions negative pixel in the css (margin, margin-top, down) and other simple stuff without result. This site is still developing but I have a few examples of online pages. Here is a link to one. http://www.redhousepottery.com/chimerasite/Hanks.html

    I feel that a css hack is all that I have to solve this problem. I don't have enough practice at that time. Any help is appreciated!

    Add the above to your meta code to emulate 7.0 and probably solve the problem, at least until you can find a fix in IE8.
    Best,
    DR
  • Problem with IMovie and Quick time

    Hey everybody,

    I am faced with an unexpected problem with Quicktime and I Movie, and I was wondering if someone had already known that:

    I want to create a film based on shots from my personal camera. I started to work with IMovie to create a sequence of opening and added his musical band. I exported the scenes in Quick Time format without any problem. However, when I merge the exported sequence of I film with shots of my video camera, the soundtrack is completely eliminated.

    I checked on the Internet and saw that there might be a problem of "Codecs". To avoid this, I exported the sequence IMovie with Codecs of same as one of my video camera files.

    Now, if I compare the files exported from I Movie and those of my video camera, they have identical characteristics. However, the soundtrack will always disappear when I merge them.

    Could someone please help me solve this problem?

    Thank you very much in advance.

    Concerning

    Could someone please help me solve this problem?

    Not only based on what you already said.

    I want to create a film based on shots from my personal camera. I started to work with IMovie to create a sequence of opening and added his musical band. I exported the scenes in Quick Time format without any problem. However, when I merge the exported sequence of I film with shots of my video camera, the soundtrack is completely eliminated.

    How would you"merge" files? (I.e. a "QuickTime" format is any form of data compatible with the platform of supply and the specific structure of QT incorporated into real employment that is stored in a container of MOV file on any of up to 99 tracks possible). Also, what app do you use for reading the file 'merged '? (For example, some media players ignore secondary audio tracks as a result of some methods of 'fusion' of files so it is important to know how the files are "merged," whether or not the audio data are "scattered" several tracks, and/or if the Media Player supports playback of multiple, sequential audio popular.)

    I checked on the Internet and saw that there might be a problem of "Codecs". To avoid this, I exported the sequence IMovie with Codecs of same as one of my video camera files.

    The specific codecs and settings using the specific version of iMovie? (The current Mac OS X operating systems have two X QT and 'classic' Qt integrated structure so it is important to know what structure is used here and how).

    Now, if I compare the files exported from I Movie and those of my video camera, they have identical characteristics. However, the soundtrack will always disappear when I merge them.

    As a general rule, you should review the file "merged" to determine why it does not play back correctly rather than comparing the characteristics of the source being merged files. The main problem here seems to be in your project workflow. That is, you seem to be when you perform an operation in two steps rather than edit several iMove multimedia files and then export the combined results in a video the video and audio tracks have been flattened and exported in standard compression formats with unified settings, features and the.

  • problem with Safari and the opening of sites

    problem with Safari and the opening of sites

    Please describe the problem in more detail?

    Try to reset the settings of Safari:

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select the Preferences/Privacy tab

    4. click on remove all data from the Web site

    5. close Safari.

    Remove cache Safari files:

    1. click on finder

    2. look for the menu GO to top

    3. click on GO and hold down the option key. This will show a user library folder.

    4. click library and find the Caches folder

    5. in the folder caches com.apple.Safari Ouvrezledossier

    6. move the Cache.db file Trash.

    This should solve the problem. If it does not help, try to disable the Safari extensions

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select Preferences

    4. find the Extensions tab

    5 disable all extensions of

    6. relaunch Safari

  • I created a new profile to resolve a problem of crash, and now I can't get to my favorites.

    Create the new profile has solved my problem of crash and I copied files and folders from my old profile to my new but I still can't have my favorites. What I am doing wrong?

    You can also restore bookmarks from a JSON backup in the folder bookmarkbackups.

  • Is anyone able to run Adobe CS5 with El Capitan now? I've read about problems with Illustrator and photoshop, but these seem to be in 2015 Octobe5. She improved at all? I need to upgrade that I am running an old OS v but I need to run CS5.

    I've read about problems with Illustrator and photoshop on EL Capitan, but these seem to be in October 2015. She improved at all? I need to upgrade that I am running an old OS v but I need to run CS5. Can not afford to go to CC. I have a Macbook Pro.

    CS5 and 10.11 are not supported and will never be supported by Adobe or Apple.

    However it works for some, more actually, but not all. There are sporadic problems with Illustrator, Photoshop seems to be the best. Do not expect an improvement and keep in mind that anyone from Adobe, Apple or anywhere else will fix it.

    Do a clean install

    Make sure you have the Apple Java

    h ttps://support.Apple.com/kb/DL1572?locale=en_US

    Make sure you have your serial number and if you are having problems with the serial number or the serialization however adobe of web server will not support your problem.

    update the application via photoshop.

  • problem with java and pogo games

    I use mozilla, and now with the problems with java and hackers cannot play my pogo, what can I do? I disabled my java I tried java 6 does not work or is not safe, what is a safe way to play games on pogo using java?

    Pogo.com is determined as a website SAFE to use Java with Mozilla Firefox?

  • I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a

    I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a game on FaceBook called Farm Town at all, and I get a popup of AVG on the cookies that I can't get rid of. These issues are causing me to use Chrome quite often, although I like Fox better. I've searched and searched how to get help and find nothing. How can I get personalized technical help? These problems will not occur in Chrome at all. Thank you.

    Do a check with some malware malware, analysis of programs on the Windows computer.

    You need to scan with all programs, because each program detects a different malicious program.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • Problem with youtube and other video sites

    I have a problem with youtube and other video sites:

    Everything is up-to-date (flash, FF, my plug ins.) but I get crashes when loading the video. I can hear the sound but I see only the first frame of the video.

    I've reinstalled flash/firefox or tried updating them again for about 4 times now and my cookies/cache has also been errased which i usually don't do. If i enter FF's safe mode it also freezes.
    

    I hope someone can help, I looked for answers on google before and I tried everything I saw, but it did not help.

    GRTS,
    agrash

    I had the same problem, I uninstalled the plugin Flash player (Adobe Flash Player 11.0.1 152) and the problem is solved. I installed the plug-in again and the problem came back. So right now I have no flas Player liked-in, but I don't have too much problem. I hope that I will not find another problem, but it seems that everything is OK.

  • My book pro 15 Mac since April 2014 retina does not work because of problem of logicboard, and without any reason. Fact it is passed to one of you so early? Do you know something about any recall for this problem?

    My book pro 15 Mac since April 2014 retina does not work because of problem of logicboard, and without any reason.  Fact it is passed to one of you so early? Do you know something about any recall for this problem?

    There is no repair program from Apple for any 2014 Mbit/s at the moment.  Have you taken your MBP to a store for a FREE Apple genius bar?

    Ciao.

Maybe you are looking for