management of nested multiple displays

Hello

I'm new to HTML5/Javascript from the Java world. I'm used to model pushScreen/anti-pop. How can I go do the same type of behavior in HTML5? My first thought is to create multiple HTML pages. However, when I click on the first page to the second page, how to pass parameters to the second page to open it with the desired data shown?

Thank you

Very quickly off the coast to my head. Using JQuery for simplicity:



function init()
{
   showLogin();
}

function showLogin()
{
    $('#aboutDiv').hide();
    $('#loginDiv').show();
}

function hideLogin()
{
    $('#loginDiv').hide();
}
function showAbout()
{
    $('#loginDiv').hide();
    $('#aboutDiv').show();
}

function hideAbout()
{
    $('#aboutDiv').hide();
}






LOGIN SCREEN CONTENT

ALL ABOUT ME

Not necessarily CSS, but your div has a class of course.

When I hide/show my divs, I make sure to clear out by innerHTML = ", to try and keep the DOM as small as possible. Believe me, you don't want to lose the memory on things that are not displayed, or you will quickly encounter questions.

Tags: BlackBerry Developers

Similar Questions

  • My MSN Portfolio Manager is empty, not display the prices of stocks, my Stocks or any Information

    My MSN Portfolio Manager is empty, not display the prices of stocks, my Stocks or any Information

    Hi Drxyster,

    Thanks for posting your question in the Microsoft answers Site Feedback forum. Your question about MSN portfolio manager he will be better answered by experts in the MSN Support forum. Please repost your question here.

  • Multiple display on N500

    I tried to use an LCD tv as a second monitor without success.

    I think that it the problem is that the graphics options is programmed for a simple screen only.  How can I enable multiple display option?

    Lenovo N500

    Mobile Intel (r) 4 Series Express Chipset Family

    Windows Vista Edition Home Premium

    Thanks for your suggestions

    Normal laptop, you would hang on the second screen to the back of the unit. Then watch you F key. F5 usually has a top screen. Press f5 and must be changed. Again and you can end up with two screens to work.

    Good luck and may not be the f5 key, you see that we have monitors on it.

  • Satellite Pro P100 - multiple display after Exchange screen problem

    My laptop: Toshiba Satellite Pro PSPA6A-028017 with Nvidia GeForce Go 7900GS

    OK, here's the story. I turned on my laptop about a week ago and the screen is blank. I plugged in a monitor external via AVI and tried Fn + F5, but nothing. When the computer reboots, the external screen worked. When I tried to turn on/off displays the external monitor is turned off and I found myself with an empty screen - I was obviously spent on screen of the laptop but working blind, I couldn't work out how to get the external monitor to start again. FN + F5 did nothing.

    At that point, I called Toshiba for the support of the warranty (on-site, next business day). They had a technician with new monitor/display on site the next day (after a few calls me to follow up). It has replaced the screen but struggled to lift the screen up and running. He finally managed to logon Windows safe mode and get running but only display on 800 x 600. It has updated the Bios and drivers. He could then up to the 1024 x 768 resolution. Highest and the screen would be left empty.

    At that time we plugged in an external monitor via VGA. It worked, but the technician couldn't get the each display to run on each resolution. He left him speechless and he acknowledged that things still are not good. Later, after that the technician had left, I managed to get views working so each to their own resolution. However, I could not always connect the external monitor via DVI (VGA only). I was at least temporarily to work!

    The next morning that I turned the laptop on to find that I was back was started. No display on the laptop and on the external monitor only low resolution. It seems that the external monitor is simply cloning which should show the computer screen.

    Under the display properties > settings the display shows:
    1. (multiple screens) on NVIDIA GeForce Go 7900 GS
    2 Dell G2410 (Analog) on NVIDIA GeForce Go 7900 GS

    I know that when everything is working properly, he said not many monitors. The only screen I see is the Dell external monitor. And when I identify the Dell screen is no 1, even if it's not listed number 2.

    I don't know anything about the cards video etc, but a theory I have is that adapter is defective and is only show the analog signal. That is why I think that the screen of the laptop and external monitor (connected via DVI) works not done the external monitor connected via VGA (but it seems to be imitating the screen of the computer, allowing only the laptop screens range of resolution). Is that possible?

    Someone at - it ideas? The problem is likely to be the video card? I'm puzzled. I'll have to get the technician on the spot back (which will probably still 2 days and several calls, follow-up) and I don't want to lose any time. I have a business to run and I have now lost a weeks work already. If I can offer some strong theories before the technician comes on the spot, sometimes we can get parts ordered in advance.

    My warranty expires in a few weeks, so obviously I want this fixed correctly in the shortest time. I don't want to wait 2 days for a technician to come and have to wait another day or two for parts.

    Help, please!

    Thank you
    Ghjghj

    It is not easy to offer the correct answer and explanation why this happens here on the forum. In laptop cases should be tested with diagnostic tools to ensure that what is the problem.
    OK, exchange of display was a step in the right direction but, of course, this question is more complicated and doesn t happen due to the defective screen only.

    I agree with Akuma and also thinking that there must be a hardware problem on the motherboard. Before the expiration of the warranty, you should contact the service again and let check portable equipment.
    The fact is, if there is that no book of hardware malfunction should work fine preinstalled with delivered recovery image (Toshiba CD/DVD recovery facilities).

    Please, don't wait too long and contact ASAP. They check your laptop. the warranty is still valid and your laptop needs to be repaired.

    Good luck!

  • Problem with the extended help display option for multiple displays.

    I have a laptop with an internal (#1) designated as my screen main screen. At work, I like to use the 'extended display' option for several screens to use the external desktop as #2 display monitor. However, at home I have the screen internal one on my laptop. So when I open an application like Excel at home, the window does not appear, but the application is running, as I confirmed with the Task Manager. So far, the only way I know to solve this problem at home is to change my display settings for multiple views to show on display #1 only. Is there a practical way to deal with this issue in addition to change the display settings whenever I move from work to home and vice versa?

    Hello

    In Windows 7, you can simply press the Windows Logo + P key.

    In the menu, select the item from the computer only .

    Concerning

  • Vista will not recognize the projector connected for multiple display

    I'm under a system dual boot with Windows XP and Vista.  When running under XP, I doesn't hurt to connect a projector to my laptop and extend the desktop on the projector for meetings and others.

    When I am running Vista, it does not even recognize that the projector is connected.  However, once I have connected the projector, if I reboot the system, it will then display on the projector.  If I disconnect the projector, the screen does not reappear on the screen of the laptop, I have to restart, with the projector removed for office reappear on the screen of the laptop.  I'm hoping to get multiple monitors to work with Vista, as it does in my XP boot.

    For the purpose of the next presentation running in XP is not an option.

    Hi cptrigeek

    Try these steps and check if that helps:

    Method 1: We can try to perform a power cycle of the projector.

    Remove the cable from the power of the projector and this continues for 5-10 minutes. Also do the same for the laptop, Dungeon, it off. Then put back in place and start the projector. Now, start the laptop as well. Connect now. Now, you will need to install the driver for it (if there is one). After which, you need to configure the settings of the laptop.

    Method 2: Check the following steps:

    1. connect the projector to your Windows PC. NOTE: the following steps apply if you use your PC in MIRROR mode only.

    2. on the screen of the computer, right CLICK on the desktop and select Properties.

    3. click on the SETTINGS tab. If you want that your displays in mirror (what you see on laptop, it's what the public sees) you must make sure that the box "extend my desktop to this monitor" is DISABLED. If you see a box of "mirroring", remember to check it out.

    4. drag the slider to 1024 x 768 screen. As a general rule, the external monitor may limit this parameter. If your screen is higher, it might not display on the projector, then you want to test this until you're ready to take the floor. Drag the color to highest (32 bit) if available or medium (16 bit) quality if the first is not available.

    5. now select FN and press the function key. This key is usually given by a small screen icon, the CRT/LCDtext and is usually found on F8 or F5 even. Press the appropriate operation button ONCE and wait. After a few seconds, the second screen should light up. Be patient, it may take up to 5 seconds. On the projector, it may take up to 10 seconds for the projector to detect your system and switch. Note: a second press of this function (in general) will switch to monitor EXTERNAL only. A third press stop INTERNAL onlyand the circle for each push after that. Also note that some laptops can do this sequence in a different order, so learn your system so that you can quickly to the desired mode.

    6. click on the ADVANCED button. If 'apply the new settings to display without restarting' is not selected, select it. Under screen refresh rate, select 60 Hz. click APPLY and CONFIRM the choice. Click OK to close the ADVANCED options dialog. Close the display properties dialog box. You should now see a mirroring of your monitor on the second monitor.

    7. test: A test, disconnect the second monitor. put your mobile PC to sleep. He wakes up and let it fully come (login if necessary), and then reconnect the external monitor. On some machines, he needs to quickly display the screen in the last known state (you may need to wait up to 10 seconds). If it is not correctly displayed, press the switch function, ONCE. Yet once, note that it can take up to 10 seconds to view, so be patient. If only the projector display now, some pressure on the function switch key should provide for both screens again. If you can't get the projector to display, check all your connections and settings above.

    8 Note that when you use the projector, after pressing the function for changing the monitor button, it may take up to 10 seconds for the monitor find and block on your machine. Just wait. Pressing on the keys new fkey can simply ruin your settings or turn off the projector.

    9. not all laptops work the same way. Please make sure you learn how your work before you get to your presentation.

    (Not mirrored)

    1. If you do NOT want mirrored poster (display of different internal and external), CHECK the box next to the line that reads "extend my Windows desktop to this monitor." This SHOULD result in the external monitor display an image which is an EXTENSION of the current desktop.

    2. in the settings dialog box, the internal monitor appears as a '1' and externally as a '2 '. Click ONCE on the '2 '.

    3. with '2' selected, drag the Screen Resolution slider to the left or to the right until the resolution reads "1024 x 768". Also affect the quality of the highest (32-bit color) if available or average (16 bit) if the first is not available.

    4. click on the ADVANCED button. If 'apply the new display settings without restarting' is not selected, select it.

    5. Select the MONITOR tab. Under screen refresh rate, select 60 Hz. click APPLY and CONFIRM the choice. Click OK to close the ADVANCED dialog box. Your system is now set for an extended desktop. When it is connected to the screen, you may need to use the function switch key to turn once more on this option, but on systems that I tested, the extended desktop comes just when the monitor is connected. Yet once, I suggested some tests with this mode of knowing how your laptop will perform when connected to an external monitor before coming to speak.

    6. notes that, in this mode, items moved to the extended desktop can be "lost" it if the external monitor is disconnected because they live on the extended desktop is no longer available. Also note that if the extended desktop is turned on, this part of funds 'second' can continue to live, which means that the cursor and the object can be moved off the screen in this sector and not be visible on a single internal monitor. To resolve this problem, do a right-click on the desktop, select Properties, select settings, click on the '2' box and UNCHECK the extend option. Items left on the extended desktop should now align the right edge of the internal display.

    See also: http://windowshelp.microsoft.com/Windows/en-US/Help/16152337-a45c-4a1a-b302-cfd95399ce071033.mspx#EQB

    Understand multiple monitors: http://windows.microsoft.com/en-US/windows-vista/Understanding-multiple-monitors

    Set up multiple monitors: http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-multiple-monitors

    Multiple monitor issues: http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-multiple-monitor-problems

    After back and let us know if it helped to solve your problem.

    Thank you and best regards,

    R uma - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • My Task Manager window no longer displays the different tabs to see the applications/processes/services, etc.. How to restore the tabs?

    The Task Manager window only displays running applications and without tab at the top of the window nor allow me to use the X th close the window.

    How to restore the window to its normal appearance?

    Although written for Windows XP, the resolution found in this FAQ is always applicable.

    Why be part of my task manager disappeared?

  • The event handlers for multiple displays involving data SUBMIT and GET

    Hello

    We have a requirement as below:

    Note: cannot share the details accurate screen customer etc. because of the limitations of data security

    For example

    (1) 1 screen.

    Please enter the employee ID you want to recover data for

    (2) 2nd screen-

    Now, based on input that the user gives on the first screen that EMP_ID, we want to retrieve the details of a DB(not to worry as the DB connection part is taken care of) Native and display on-screen in the respective attributes.

    After that the user sees the correct details on the 2nd screen, they can go ahead and edit the details and which must be submitted to the DB.

    Queries:

    (1) we tried to use different managers and - OnSessionCreatedEventHandler, OnSubmitDataEventHandler - but what happens is the OnSessionCreatedEventHandler not get entry into the 1st screen, because it (i.e. OnSessionCreatedEventHandler) is triggered immediately after the loading of the 1st screen.

    The handleEvent() for the OnSessionCreatedEventHandler method has a piece of hibernate code base that requires the EMP_ID as input to run the query. So when the 1st screen itself is loaded, the event handler fails to get the emp_id entered by the user, because it is not yet approved in the session, finally throw an exception to put into hibernation.

    (2) is it possible, we could use an EventHandler or combination of these, to capture the data entered on the 1st screen and commit in the session, so that the 2nd screen can take this value from the session and then extract the DB.

    Any help would be much appreciated.

    The real scenario involves a lot of complex business rules and hibernate activity as well, but now those who have been supported.

    Hello

    You can implement an OnBeforeSubmitData handler that does something like the following:

    Look in the data presented for the user name attribute and if necessary

    Call your Hibernate utility to search for additional data

    Add additional data to the data sent

    During your 1st screen send the related data will be submitted with it.

    An alternative would be to have the user enter their Id in a Java screen, maybe a kind of servlet filter to make a pseudo login and then add user for query parameters identification and redirect to the URL standard OWD. You can write a plugin Manager OnRequest to retrieve the id of the user, looking for seeds and additional data before the session thanks to this data.

    Maybe there are also other possibilities, and it would be a shame not to use the OPA to manage maintenance and business rules.

    Concerning

    Ian

  • How to manage the lines multiple region table OFA

    Hi gurus,

    I'm new to the development of new Pages of the OFA. Please help me how to manage multiple lines in the table region OAF.

    My requirement I'm not able to manage multiple lines in my area of Table.

    First row in my table area I am selected date_start and date_end when I select the end_date I need I need difference bet ween dates.

    My problem is I am able to manage the first Table line but I am not able to manage the table still ranks when I fire that time I first get the rank only.

    POS:

    14/08/12 07:59:40 1

    14/08/12 07:59:40 inside

    14/08/12 07:59:40 date difference is 86400000

    14/08/12 07:59:40 date difference is 1

    14/08/12 07:59:40 date is less than 365

    14/08/12 07:59:57 1

    14/08/12 07:59:57 inside

    14/08/12 07:59:57 date difference is 86400000

    14/08/12 07:59:57 date difference is 1

    14/08/12 07:59:57 date is less than 365

    14/08/12 08:00:13 1

    14/08/12-08:00:13 inside

    14/08/12 08:00:13 date difference is 86400000

    14/08/12 08:00:13 date difference is 1

    14/08/12 08:00:13 date is less than 365

    My custom logic:

    If (DutDetSEndDat".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
    DateDiff (pageContext, webBean);
    //Am = XxDutyTravelAMImpl
    //(XxDutyTravelAMImpl) pageContext.getApplicationModule (webBean);
    OAViewObject = oaviewobject1
    (OAViewObject) am.findViewObject ("XxDutyTravelDuDetEOVO1");

    System.out.println("1");
    If (oaviewobject1! = null) {}
    System.out.println ("Inside");
    oaviewobject1. Reset(); New line added
    oaviewobject1. Next(); new line added
    Line OARow = (OARow) oaviewobject1.getCurrentRow ();

    Date sDate = (Date) row.getAttribute ("DutdetStartDate");

    Date = eDate (Date) row.getAttribute ("DutdetEndDate");
    java.util.Date VChangeDateTime =
    new java.util.Date (sDate.timestampValue () .getTime ());

    If (sDate! = null & & eDate! = null) {}
    long m1 = sDate.timestampValue () .getTime ();
    long m2 = eDate.timestampValue () .getTime ();

    long diff = m2 - m1;
    System.out.println ("difference in date is" + diff);
    int diffDays = Math.round (diff / (24 * 60 * 60 * 1000));
    System.out.println ("difference in date is" + diffDays);
    If {(diffDays > 365)
    System.out.println ("Date is greater than 365");
    } else {}
    System.out.println ("Date is less than 365");
    }
    }
    }
    }

    Kind regards

    Srinivas

    Hi Srini,

    To get the event line descriptor that shot please use code below.

    If (DutDetSEndDat".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
    DateDiff (pageContext, webBean);
    Am = XxDutyTravelAMImpl
    (XxDutyTravelAMImpl) pageContext.getApplicationModule (webBean);

    String rowRef = pageContext.getParameter (OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    OARow line = (OARow) am.findRowByRef (rowRef);

    Date sDate = (Date) row.getAttribute ("DutdetStartDate");

    Date = eDate (Date) row.getAttribute ("DutdetEndDate");
    java.util.Date VChangeDateTime =
    new java.util.Date (sDate.timestampValue () .getTime ());

    If (sDate! = null & eDate! = null) {}
    long m1 = sDate.timestampValue () .getTime ();
    long m2 = eDate.timestampValue () .getTime ();

    long diff = m2 - m1;
    System.out.println ("difference in date is" + diff);
    int diffDays = Math.round (diff / (24 * 60 * 60 * 1000));
    System.out.println ("difference in date is" + diffDays);
    If {(diffDays > 365)
    System.out.println ("Date is greater than 365");
    } else {}
    System.out.println ("Date is less than 365");
    }
    }
           
    }

    Thank you

    Vlaminck

  • UN - nest multiple elements

    I have a project where multiple cameras clips were used. Is there an easy way, or directly to change these clips making in flat clips that reference source files and not the multicamera NEST?

    Hi James,

    Right-click on the Multicam sequence, select multi-cameras and click on flatten as in the image below:

    Kind regards

    Navdeep Pandey

  • Manager server with multiple instances CF10

    Hello

    I'm having some trouble connecting to instances of ColdFusion I installed the 64 bit with CF10 RHEL6.1.

    If I just add a single server that points to the default cfusion instance

    Host: 192.168.0.10

    Port: 8500

    Server Manager connects and I can view the settings.

    If I then add a second server that points to an instance newly packed

    Host: 192.168.0.10

    Port: 8501

    The ability of the server to connect to an instance manager becomes poor at best. I can't do a diff of parameters if they both happen to connect.

    I need to enable something specific in the admin of each instance?

    See you soon,.

    Simon

    LCD SCREEN? You mean livecycle dataservices? If I google (based on the message shown in the screenshot):

    double Server session manager

    I get this as the first hit: http://www.shilpikhariwal.com/2010/08/duplicate-flex-session-error-in-server.html

    It seems that it may be just what you need, especially in light of your next note on running multiple instances. (Not sure of the impact of J2EE session vars).

    Let us know if that helps.

    /Charlie

  • multiple display select the elements of the

    Hello

    I have a multiple selection element where the user can select multiple items. I want to display selected items in the next page - one value at a time.

    example:-If the user selects a, b, c of the multiselect post I want to show in the next page as
    one
    b
    c

    what I get is a, b, and c in the next page when I view the value of the item & < item_nam >.

    How to display selected items multiselect one below the other?

    Thank you

    Hello

    One way is
    Create dynamic content of PL/SQL and enter the source of the region, something like

    DECLARE
      l_arr APEX_APPLICATION_GLOBAL.VC_ARR2;
    BEGIN
      htp.ulistOpen;
      l_arr := APEX_UTIL.STRING_TO_TABLE(:P51_EMP);
      FOR i IN 1 .. l_arr.count
      LOOP
        htp.listItem(l_arr(i));
      END LOOP;
      htp.ulistClose;
    END;
    

    Change P51_EMP to your name of the multiselect element

    Sample here
    http://Apex.Oracle.com/pls/OTN/f?p=40323:51

    BR, Jari

  • the managed bean error message display

    HIE

    on my page there are 3 data related to text entry boxes, and all are mandatory.

    There is a text box more input that is not bound to a data control.

    the button submit, I have a managed bean action method. In this action method I get the value of these data - not related to the input area and make a logic.
    From the I want to launch an error message on the UI for this component.

    How to do this?

    Vik
    http://adfjsf.blogspot.com
    http://Twitter.com/vikceo

    Hello

    You can do this using the FacesMessage class and this can be written anywhere within action/actionlistener/valuechangelistener/post etc...

    Example Code:

    //adding global message, which is displayed with af:messages tag
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, null, "Value entered is invalid");
    context.addMessage(null, msg);  
    
    //Component level message, need to use af:message tag. This component level message is also displayed under af:messages tag unless globalOnly property is set to true
    msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, null, "component level message - Value entered is invalid");
    context.addMessage(FacesContext.getCurrentInstance().getViewRoot().findComponent("
    

    Jean Lou

  • Satellite Pro C50 - A PSCGBE Multiple display

    Hello guys,.

    I've got Satellite pro with processor Intel i5 and GeForce GT740M, I'm having difficulties with the help of 2 screens outside and built in display, I mean, I should be able to view via Intel HD4000 on two and via GT740M on the other hand, it does not work, I installed the drivers for two video cards, but still it does not work , are there any other specific drivers that would allow that?

    Thanks a lot for your help

    Master brewer

    Without additional devices, you can use only 2 screens simultaneously.
    Internal and external display.

    If you want to use 3 monitors (1 x internal x 2 external) at the same time you must connect an additional device: something like Dynadock U3

  • Slimline s5730 F: multiple display on slimline s5730 F

    Hello

    I am currently using the dual display on my computer and I would like to know if they are incorporated video card; ATI Radeon HD 3100 (RS780L) video adapter, can support 3 display.

    In fact, I have a VGA screen and the second on DVI. I have a DVI splitter on who I like TSE would connect display a third

    Thank you

    Radeon HD 3100 can support three screens.  Using a divider on the DVI, if it works, only give you the same as the other DVI display shows.  A choice to add a 3rd monitor would be to use a INSTRUMENT SIMILAR to THIS.  It connects to the computer with the USB and then on screen 3.

Maybe you are looking for

  • Satellite L300D - TEMPRO alert reader D capacity WARNING

    I have a Satellite L300D. It has been little used, but I get TEMPRO alert that says that "data stored on drive D has reached 75 percent or more capacity: space 149,01 GB total disk and disk space GB 37.73.» Can anyone tell what it is and I can do som

  • HP G60 nj537ua #aba: 'Power on password' Bypass 'Disable System '.

    For a while my laptop turn on showing only a black screen, even if the system was running. Finally I got my hp WITH a visible screen in the Start Menu, but it asks a "power on password" Deactivation of the system number: 66388302 Please help, Sunny

  • Cannot install the upgrade to Windows XP Pro SP1 of Windows XP Edition family with Service Pack 3.

    Cannot install upgrade The home computer has Windows XP Home (pre-installed) Edition with Service Pack 3.  Buy XP Pro SP1 update.  Can not install the upgrade, get the message: Setup cannot continue because the version of Windows on your computer is

  • local data storage

    I have a feature to remember me in my application, when the user selects... I want the next time he gets into the app to see his selected past remember me option. I so want to store things locally in mobile, how is that possible?

  • Lable text being truncated...?

    Hey all.  Tmessing juice around more with the containers.  That I made a lot of progress on my application, but I hit a small snag. I have several containers, but here is the relivant code: // now we build the footer _footer = new Container(); _foote