JavaScript CSS is not BUG

Published by Oros of formatting of the code. Please use code tags in future for better readability.

So I have the function like this

function notifText(x,str) {
    if(x == 0) { //advance ask
        popup(1);
        document.getElementById('roundask2').style.display = "block";
        document.getElementById('askdesc').innerHTML = str;
    } else if(x == 1) {
        popup(1);
        document.getElementById('notification').innerHTML = str;
        document.getElementById('roundnotif').style.display = "block"
    }
}

function advanceask(x) {
    idask = x;
    if(x == 0) {
        if(gameover == 1) {
            notifText(1,"Reset the Game First"); //I call this A
        } else if(gameover == 0) {
            if(solvedo == 0) {
                notifText(0,"Solve ?"); /I call this B
            } else if(solvedo == 1) {
                notifText(1,"Solving is on progress"); /I call this C
            }
        }
    } else if(x == 1) {
        notifText(0,"Clear All Data
Are you sure to continue ?"); /I call this D } } popup(1) -> document.getElementById('popupback').style.display = "block"


the problem is that for B, the popupback not to see the place (if arise, there will be a dark with 85% opacity color), but when click anywhere as the popup itself, it will appear
NOTE: There is an event on the popupback, when you click it, it will close the popup, but when you click it (do not appear popupback)-> it works.
He has no problem with A, C, or D-> they're fine, except the B, I tested it in the simulator of the ripple and no problem there.
What it the most common reason, I had this problem? Thank you

Nope, this problem already, I'm sorry that the problem is in CSS

-webkit--> is the main problem

Thanks for help anyway

Tags: BlackBerry Developers

Similar Questions

  • Mix ADF Faces with HTML, JavaScript, CSS, JSTL question

    Dear all,

    The project is now starting to deploy to the production server. When we try to deploy to the production server who made a lot of mistake. As this used widely used project mix ADF faces with
    HTML/JavaScript/CSS/JSTL. I would like to know what are the most error when we have mixed to use each one and how can we overcome them there?
    There is in the project

    1 mix of tags html with ADF Faces components
    2. the use of JavaScript/CSS inline
    3. mix the JSF/ADF Faces and JSTL tags

    Help me how to address this issues as well as links to useful blog.

    JDeveloper IDE version: 11.1.1.5.0 with Webcenter
    WebLogic version: 10.3



    Best regards
    KT

    Published by: KT on May 16, 2013 21:23

    Hello

    In addition to this project widely used mixture ADF faces with HTML, JavaScript, CSS, JSTL.

    JavaScript, CSS, and JSTL is not a problem, whereas - according to the JSF version - HTML is. JSF 2 is the first version of the JSF, which allows you to mix HTML with less side effects, if you use Facelets as view declaration language.

    I would like to know what are the most error when we have mixed to use each one and how can we overcome them there?

    There is in the project

    + 1. mixture of html with ADF Faces components tags +.

    This could ruin your pages, lead to update issues and - in case of frequent use in the trees - even destroy the functionality

    + 2. online use of JavaScript / CSS +.

    Poor performance because of heavy weight pages. If you were using ADF Faces and your JS addresses the DOM instead of the architecture of client cJavaScript ADF Faces then chances are JS will fail for the components that have changed their HTML output (which has an impact on the DOM structure) or changes are not submitted to the server.

    For CSS, CSS inlineStyle not applay to the DOM element that is external, which means for example af:input the background text color will color the lavel

    + 3. mix JSTL and JSF/ADF Faces tags +.

    Dependa on how you do. JSF has postponed EL syntax, which means that EL resolves at run time, whereas JSTL resolves at compile time. So the race conditions could become a problem

    Overall, it is difficult to say if things were coded wrong in the project (although for the use of HTML you can be sure) without seeing the code. It seems that the team that built the application however did not dare to the suite of recommended practices

    Frank

  • Selectors type CSS are not supported in components?

    If I put a < mx:Style > section in a MXML component, I get a number of warnings indicating the Type selectors CSS are not supported in components. That said, the styles seem to actually work, and I had sure like them to work. Is this a bug in the compiler, or is it really not supported?

    I bring her - they don't work. They affect Flex Builder Design coronarographiques style, but aren't operating in a browser. Ah, so many seemingly arbitrary rules to learn by experimentation, so little time...

  • My t.mobile javascript passed can not get my hotmail no more why?

    My t.mobile javascript passed can not get my hotmail no more why? never had this before am I blocked. How to make it back

    See questions of T-Mobile T-Mobile support.

  • Responsive web page template css does not update

    I try to use the new function reactive web page for Business Catalyst but not with not a lot of success:

    1. I created 3 css files: one for each system_visitorDeviceClass (desktop, Tablet, phone)

    2. I chose to enable mobile support

    3 added HTML to a page for each class of device that includes a link to the appropriate css file

    4 make a change to one of the CSS from the file manager > css > desktop.css, for example and save

    5. return to page template for office content, click Update, then get an overview. Change of css is not here.

    "Question: documentation for the creation of the class of device in HTML link says to use < link rel ="stylesheet"type =" text/css"href="/css/{system_visitorDeviceClass}.css"/ > should we use it as written or replace with the name of the css as href="/css/desktop.css file. I've tried both but doesn't seem to work.

    Sorry, you feel like that.

    The mobile features etc. are NOT new.
    Released in 2009:
    Presentation support Tablet & phone for sites

    With that unless the use case guarantees a specific design mobile, you are not using eCommerce and other factors, today if your building a website makes you mobile reagent. You can then leverage off liquid markup if you use this beta feature and etiquette of the extra to make detection device.

    All documentation is being migrated from old sources of content in one place for a while, but a continuous process.
    Google the best way to do things and you will get just piles of articles on mobile responsiveness.

  • CSS is not displayed correctly

    My CSS file includes the following formatting for a "Note":

    p.Note {}

    border-left-style: Solid;

    border-right-style: Solid;

    border-top-style: Solid;

    border-bottom-style: Solid;

    background-color: #fafade;

    padding-left: 12px;

    padding-right: 12px;

    padding-top: 6px;

    padding-bottom: 6px;

    do-size: 9pt;

    line-height: 12pt;

    border-left-width: 1px;

    border-right-width: 1px;

    border-top-width: 1px;

    border-bottom-width: 1px;

    border-left-color: #a3a5a7;

    border-right-color: #a3a5a7;

    border-bottom-color: #a3a5a7;

    border-bottom-color: #a3a5a7;

    top of the margin: 12px;

    x-next-class:;

    x-next-type: P;

    margin-bottom: 12px;

    }

    In IE 11, not using the Mode = edge Document, the CSS is applied as expected:

    ie11_no_edge.png

    In IE 11, using the Document = edge Mode, the CSS is not applied as expected:

    ie11_edge.png

    I suspect that the problem is with the CSS itself.  CSS is correctly displayed in the design view of the topic in RH10, but may not display correctly if I display the help topic for the command CTRL + W in RoboHelp and is not correctly displayed in the project compiled in Chrome or FireFox.  Any ideas?  Thank you!

    Solved.  The class tag was applied as something like "note" rather than "Note."  CSS and changed case now appear as expected.

  • The JavaScript code does not work

    Thank you for this beautiful prduct comfortable, but when I try it in any site uses javascript code does not work.

    Open this link: http://view.jquerymobile.com/1.3.1/demos/widgets/panels/ and try clicking the buttons (nothing will happen).

    Yes. To be clear, you must click on the device to see work.

  • CSS does not appear in dreamweaver


    All my css does not appear in Dreamweaver... maybe because I've upgraded a security fix today for OS 10.4.11. The css is great, works in all browsers, but dreamweaver CS does not appear in design view. I checked all my other sites and it does the same thing. When I select a style element, the dialogue of current Style says there are governed no selected for the item. He's in all of my previous sites, that I worked on. I think it's maybe a library item corrupted. Anyone has any ideas, or how to proceed?

    Thanks, I must have hit a quick key. Your suggestion did the trick

  • How can I stop Firefox displaying Javascript/CSS inline when viewing the Page (CTRL + U) Source?

    Recently, I noticed that the Javascript and CSS files are shown online while you watch a page source. Is there a way to stop the Firefox to do this?

    Thanks for the test.

    When I try Reddit, this stylesheet is not inline in the page.

    I can't access/browsing Netflix, I'm redirected to a login screen. But it seems strange that when I try to navigate around Netflix, I'm still on HTTPS and you load on HTTP.

    This problem happens only in the pages of HTTP and not HTTPS pages?

    Is it possible that some sort of proxy or security filter modifies the page until it reaches your browser?

  • Great Javascript movies have not run smoothly since Firefox Version 17.

    I asked this question in April, but has won just one useless answer. Nothing has changed since then, while the newer versions of Firefox have been released.

    Please click on Javascript (250.00 MB) on the http://aia.lmsal.com/aia_cadence/aia_0193_rdiff_orig_20120623_0630/AIA_0193_RDIFF_ORIG_20120623_0630.htmlpage. It works without problem in Google Chrome or Microsoft Internet Explorer, but using latest Firefox version 15, partially empty frames appear, making it difficult to see the film.

    I first thought the problem was combined with Mac OS (mine is 10.6.8), but the same problem of empty frames is noted in 22 of Firefox on Windows 7.

    Therefore, I must conclude that Firefox has started to screw up on Javascript since version 17 (or 16, which could not be released).

    Thus, developers, please check what changes have been made in version 17 (or 16) on how to manage Javascript movies.

    You can create a bug report to see if there is a possible solution since it is apparently a regression.

  • JavaScript command works not in the address bar

    Until FF Version 6.0.2 is supported by the following command via the address bar "javascript:window.resizeTo (1280,1024); In the 7.0.1 version and beta version 8 - it is no longer supported. I use it all day in my role as project manager for testing web pages in different screen resolutions, and I had to downgrade to 6.0.2 just for this feature.

    Support for this was removed permanently or is there a way to enable it in v7 or v8?

    Thank you.

    6 javascript in the url bar from Firefox works with a principal null for security reasons. In other words, that it is almost off. You need a bookmarklet or an add-on for a workaround. See question 871828.

    Bug 656433 - do not allow javascript: data: URLS entered in the address bar to inherit from the principal of the currently loaded page



    From the window of Firefox 7 moving and resizing is no longer allowed with some exceptions. See question 880032.

    Bug 565541 - Web sites should not be allowed to resize the main window

  • Marker-end of property defined in the css do not made

    Hello

    The end of the marker in scene.css: svg line.arrow {}

       stroke: #888888;
       stroke-width:1px;
       marker-end: url(#markerArrow);
    }
    

    "is not rendered in Firefox when browsing: http://www.w3.org/2000/svg '.

        xmlns:xlink="http://www.w3.org/1999/xlink"
    

    Width = "800".

        height="200"
         viewBox="0 0 800 200">
     
       
         
       
     
    
     
    

    Other browsers (Edge, Chrome and Brave) do not support this. Addition of marker-end = "url (#markerArrow) ' to is OK - as it is removed from scene.css more."

    Is this a bug? Best regards, Florimond

    The property is documented on DND, without any indication of Firefox has a problem with it: https://developer.mozilla.org/docs/Web/SVG/Attribute/marker-end

    When I create a "fiddle" test, I get one end of the arrow:

    https://jsfiddle.NET/ktdqf2c0/ (screenshot attached)

    This generated image contains a HTML5 page, not an XML document, so this could be a difference in your application.

  • footer css does not work

    I add a footer on my page and I want to change the color but his does not work, I created a class of footer, but the background won't change I don't its something simple, but I can't see it here is my code please.

    <! DOCTYPE html >

    < html lang = "en" >

    < head >

    < meta charset = "utf-8" >

    < meta http-equiv = "X-UA-Compatible" content = "IE = edge" >

    < meta name = "viewport" content = "width = device-width, original scale = 1" >

    < name meta = "description" content = "" >

    < name meta = "author" content = "" >

    <!-TemplateBeginEditable name = "doctitle"-->

    < title > my events calendar < / title >

    <! - TemplateEndEditable - >

    " < link rel ="stylesheet"href =" https://MaxCDN.bootstrapcdn.com/font-awesome/4.5.0/CSS/font-awesome.min.CSS ">

    <!-'bootstrap' Core CSS-->

    " < link rel ="stylesheet"href =" http://MaxCDN.bootstrapcdn.com/bootstrap/3.3.5/CSS/bootstrap.min.CSS ">

    <!-Custom-> CSS

    "< link href ="... / CSS/business-casual. CSS"rel ="stylesheet">

    <! - fonts - >

    " < link href =" http://fonts.googleapis.com/CSS?family=open+sans:300italic, 400italic, 600italic, 700italic, 00italic 8, 400, 300, 600, 700, 800 "rel ="stylesheet"type =" text/css"> "

    " < link href =" http://fonts.googleapis.com/css?family=Josefin+Slab:100, 300, 400, 600, 700, 100italic, 300itali c, 400italic, 600italic, 700italic "rel ="stylesheet"type =" text/css"> "

    < div id = 'fb-root' > < / div >

    < script > (function (d, s, id) {})

    var js, SJF = d.getElementsByTagName (s) [0];

    If (d.getElementById (id)) return;

    js = d.createElement (s); js.ID = id;

    js. SRC = "//connect.facebook.net/en_US/sdk.js#xfbml=1 & version = v2.5 & appId = 512896575525133;

    fjs.parentNode.insertBefore (js, SJF);

    (} (document, 'script', 'facebook-jssdk')); < /script >

    <! - HTML5 Shim and Respond.js IE8 takes in charge of HTML5 elements and questions from the media - >

    <!-WARNING: Respond.js does not work if you view the page via file://-->

    <!-[if lt IE 9] >

    " < script src =" https://OSS.MaxCDN.com/libs/html5shiv/3.7.0/html5shiv.js "> < / script > .

    " < script src =" https://OSS.MaxCDN.com/libs/respond.js/1.4.2/respond.min.js "> < / script > .

    <! [endif]-->

    <!-TemplateParam name = "class" type = "text" value = ""-> "

    < / head >

    < class = "@@(_document['class']) body @" >

    < div class = "mark" > my events calendar < / div >

    < div class = "address bar" > < strong > where all your events are a click away < facilities > < / div >

    <! - navigation - >

    < nav class = "navbar, navbar - default" role = "navigation" >

    < div class = "container" >

    <!-brand and toggle get grouped together for better mobile display->

    < div class = "bar navigation-header" >

    < button type = "button" class = 'bar of navigation-toggle' data-toggle = "collapse" data-target="#bs-example-navbar-collapse-1" >

    < span class = "sr only" > toggle navigation </span >

    < span class = 'bar icons' > < / span >

    < span class = 'bar icons' > < / span >

    < span class = 'bar icons' > < / span >

    < / button >

    <!--navbar-brand is hidden on larger screens, but visible when the menu is reduced-->

    "< a class = 'bar of navigation-brand' href ="... / index.html "> my events calendar < /a >"

    < / div >

    <!-collect the nav links, forms, and other content to alternate->

    < div class = "navbar-collapse collapse" id = "bs-example-navbar-collapse-1" >

    < ul class = "navbar-nav nav" >

    < li >

    "< a href ="... / index.html "> home < /a >"

    < /li >

    < li >

    "< a href ="... / calendar.html "> calendar < /a >"

    < /li >

    < li >

    "< a href ="... / events.html "> events < /a >"

    < /li >

    < li >

    "< a href ="... / venues/venues.html "> sites < /a >"

    < /li >

    < li >

    "< a href ="... / registration.php "> feedback < /a >"

    < /li >

    < /ul >

    < / div >

    <!-/ .navbar-collapse->

    < / div >

    <!-/-> .container

    < / nav >

    <!-TemplateBeginEditable name = "EditRegion2"->

    < div class = "container" >

    < / div > <! - TemplateEndEditable - >

    <!-/-> .container

    <>footer

    < div class = "footer" >

    < div class = "row" >

    < div class = "col-lg-12 text-Center" >

    < p > copyright & copy; Your site Web 2014 < /p >

    < / div >

    < / div >

    < / div >

    < / footer >

    <! - jQuery - >

    " < script src =" https://code.jQuery.com/jQuery-1.11.1.min.js "> < / script > .

    <!-'bootstrap' Core JavaScript-->

    " < script src =" http://MaxCDN.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js "> < / script > .

    <! - script to activate the carousel - >

    < script >

    $('.carousel').carousel ({}

    range: 5000 //changes speed

    })

    < /script >

    < / body >

    < / html >

    Thanks for the help I got it sorted, I removed my site from the wamp server and installed new ones now thanks again HAPPY NEW YEAR.

    My resulotion of new year is to get this bloody site finished lol

  • CSS - do not know what to change to begin first of all for the smallest device (border in the navigation bar collapsed)

    I am starting with the smallest device (iPhone, 320 pixels wide) and have implemented the skeleton page. I added a tag to the class to change the background of the original black to Tan, but cannot find a way to cross the border in the white navigation bar icon. I thought that my class label would substitute, but does not appear. Also, is there a setting that I should look for in the bootstrap.css (read-only) which can be adjusted to display the navigation elements rather than collapsed in about 320-768 pixels button icon? Any help would be appreciated.

    John

    <! DOCTYPE html >

    < html lang = "en" >

    < head >

    < meta charset = "UTF-8" >

    < meta http-equiv = "X-UA-Compatible" content = "IE = edge" >

    < meta name = "viewport" content = "width = device-width, original scale = 1" >

    < title > Untitled Document < /title >

    <!-"bootstrap"->

    < link href = "css/bootstrap.css" rel = "stylesheet" > "

    < link href = "css/phone.css" rel = "stylesheet" type = "text/css" > "

    <! - HTML5 shim and Respond.js for IE8 take in charge of the HTML5 elements and questions from the media - >

    <!-WARNING: Respond.js does not work if you view the page via file://-->

    <!-[if lt IE 9] >

    " < script src =" https://OSS.MaxCDN.com/html5shiv/3.7.2/html5shiv.min.js "> < / script > .

    " < script src =" https://OSS.MaxCDN.com/respond/1.4.2/respond.min.js "> < / script > .

    <! [endif]-->

    < / head >

    < body >

    < div class = "container-fluid" >

    <! - start the header image - >

    < div class = "row" >

    < div class = "col-xs-12" style = "" background-color: #ABF0A7; "> < / div >"

    < / div >

    <! - end header image - >

    <! - start navigation - >

    < nav class = "navbar, navbar-reverse rennavbkgrd" > ""

    < div class = "container-fluid" >

    < div class = "bar navigation-header" >

    < button type = "button" class = 'bar of navigation-toggle' toggle data = 'collapse' data-target = "#myNavbar" >

    < span class = 'bar icons' > < / span >

    < span class = 'bar icons' > < / span >

    < span class = 'bar icons' > < / span >

    < / button >

    < / div >

    < div class = "navbar-collapse collapse" id = "myNavbar" >

    < ul class = "navbar-nav nav" >

    < class li = "active" > < a href = "#" > about us < /a > < /li >

    < li > < a href = "#" > < /a > < /li > team members

    < li > < a href = "#" > Subscriber packages < /a > < /li >

    < li > < a href = "#" > insurers < /a > < /li >

    < li > < a href = "#" > Photos < /a > < /li >

    < li > < a href = "#" > contact us < /a > < /li >

    < /ul >

    < / div >

    < / div >

    < / nav >

    <!--end of navigation-->

    < div class = "container-fluid" >

    < h1 > Just a few of us < / h1 > <! - subtitle of the page - >

    <! - start the main text area - >

    < div class = "row" >

    < div class = "col-xs-12" style = "" background-color: Lavender; "> < p > welcome to the Renegades." duis dapibus molestie nisi egestas Magna non semper. ID justo nam posuere duis laoreet auctor fames. Volutpat placerat ut suspendisse imperdiet porttitor felis dui donec pulvinar sollicitudin sollicitudin so tempor. Massa feugiat quam viverra nunc enim libero torquent torquent mus nec lectus is turpis.

    < /p > < / div >

    < div class = "col-xs-6" style = "" background-color: #F39393; "> < p team photo > < /p > < / div >"

    < div class = "col-xs-6" style = "" background-color: #B3EBB7; "> < p >"

    Penatibus ante, MPCs fames morbi egestas duis dapibus molestie nisi Magna non semper lorem. ID justo nam posuere duis laoreet auctor fames. Volutpat placerat ut suspendisse imperdiet porttitor felis dui donec pulvinar sollicitudin sollicitudin so tempor. Massa feugiat quam viverra nunc enim libero torquent torquent mus nec lectus is turpis.

    < /p > < / div >

    < div class = "col-xs-12" style = "" background-color: lavenderblush; "> < p > third text < /p > < / div >"

    < / div >

    < / div >

    <! - end of main text area - >

    < / div >

    <! - start the footer - >

    < style footer = "" background-color: #F2DA3E; "> < p > copyright & copy;" Renegades 1999 team kitchen. All rights reserved. < /p > < / footer >

    <! - end of footer - >

    <! - jQuery (necessary to Bootstrap JavaScript plugins) - >

    "< script src="js/jquery-1.11.2.min.js "> < / script >

    <! - include all the plugins compiled (see below), or include individual files to the need - >

    < script src = "js/bootstrap.js" > < / script >

    < / body >

    < / html >

    Use navbar-default (light) instead of - reverse (dark).

    And you can target the Bootstrap selectors in your custom CSS code.  No additional required courses.

    .NavBar.NavBar - default {background-color: #D2B48C ;}}

    Nancy O.

  • What I see in the CSS is not what appears in the HTML code - why?

    I work with 5 TCS and HR 11 FM12, all patched up. I find that any FM works better than linked (a little less crashes and access to the CSS seems better).

    However, in many cases, the CSS HR does not show which displays the HTML code. Why?

    For example, my style of GlossaryDefinition (FM_GlossaryDefinition) is indented FM (part of a running head construction) and I don't want in the HTML output. But such CSS only displayed in HR shows no dash while the HTML displays a dash. How can this be? What is going on?

    31.png

    Thank you

    Sean

    @seanb_us - I filed a bug report now on this behavior; You should probably do too. Your experimental project will be probably ideal for them to use if they need to see what is happening.

    PS - the recipe SSL is the choice that you make on the pod single Source Layouts (who came out of your help). The term 'recipe' is filched from the large (Rick Stone) @Captiv8r ;>)

Maybe you are looking for

  • Bad Apple ID after software update for iOS9.3

    Hello community, I updated my iPhone 5 this morning (since I was curious about the new version iOS9.3) and wanted to activate my phone after that, however, I still have the message ' incorrect Apple ID-... does not unlock this iPhone. ". I'm really s

  • Mouse not working not

    Hey I have a HP mouse which was working perfectly yesterday. I then decided to open the computer and see inside the RAM for an upgrade, so I unplugged everything. Then I went and plugged everything back in and the mouse did not work. However, the bas

  • email an mp3 file. (recorded on a digital voice recorder... personal folder. Comcast. says the file is too large (1.4 MB)

    I'm trying to e-mail a personal voice recording on a digital voice recorder.  Google and Comcast rejected the message, indicating that the server of the recipient (Comcast) has rejected as too grand (1.46 MB) of the suggestions?

  • Windows 7 Windows Update error 80070422 and empty list updated

    Hello. Problems with Windows Update, got above error when you try to run it. Established that the Windows Installer of Module service is disabled (not by me, I suspect some malicious programs). Enabled and started this service. Ran Windows Update the

  • Tim

    I have a laptop with Windows 7 Starter. I am trying to install a printer HP, HPFB638F (HP Officejet Pro 8620). I downloaded the driver for this printer from HP. The icon for the printer appears in my window 'peripheral '. When I right click the icon,