Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. is it possible two modalbox in html page

is it possible two modalbox in html page

Scheduled Pinned Locked Moved Web Development
htmltutorial
6 Posts 5 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    absprogrammer
    wrote on last edited by
    #1

    Hi, I am using following code for modalbox. window.showModalDialog but i want handle two modal boxes at a time. I want know is it possible two modalbox for a HTML page, IE6.0. If yes how to handle them. Thanks in advance.

    M S V 3 Replies Last reply
    0
    • A absprogrammer

      Hi, I am using following code for modalbox. window.showModalDialog but i want handle two modal boxes at a time. I want know is it possible two modalbox for a HTML page, IE6.0. If yes how to handle them. Thanks in advance.

      M Offline
      M Offline
      Mark J Miller
      wrote on last edited by
      #2

      I doubt it. The idea of a modal dialog is to force the user to interact with that dialog and prevent interaction with any other component or window until the modal is closed. You may need to ask why you want to show 2 modals simultaneously and find a more useable alternative. Maybe make the modal window follow a wizard model.

      Mark's blog: developMENTALmadness.blogspot.com

      L 1 Reply Last reply
      0
      • M Mark J Miller

        I doubt it. The idea of a modal dialog is to force the user to interact with that dialog and prevent interaction with any other component or window until the modal is closed. You may need to ask why you want to show 2 modals simultaneously and find a more useable alternative. Maybe make the modal window follow a wizard model.

        Mark's blog: developMENTALmadness.blogspot.com

        L Offline
        L Offline
        led mike
        wrote on last edited by
        #3

        Mark J. Miller wrote:

        You may need to ask why you want to show 2 modals simultaneously

        Exactly, because all problems are not nails therefore not every solution is a hammer.

        led mike

        1 Reply Last reply
        0
        • A absprogrammer

          Hi, I am using following code for modalbox. window.showModalDialog but i want handle two modal boxes at a time. I want know is it possible two modalbox for a HTML page, IE6.0. If yes how to handle them. Thanks in advance.

          S Offline
          S Offline
          Shog9 0
          wrote on last edited by
          #4

          One modal dialog is one modal dialog too many. What do you think two would be? ...ask yourself this: have you ever been browsing the web and stopped to think, "Hey, this is all just too easy - what i need right now is at least one dialog box that prevents me from navigating until i make it go away!"

          1 Reply Last reply
          0
          • A absprogrammer

            Hi, I am using following code for modalbox. window.showModalDialog but i want handle two modal boxes at a time. I want know is it possible two modalbox for a HTML page, IE6.0. If yes how to handle them. Thanks in advance.

            V Offline
            V Offline
            Vasudevan Deepak Kumar
            wrote on last edited by
            #5

            absprogrammer wrote:

            but i want handle two modal boxes at a time.

            Weird. The user has to dispose a modal dialog to proceed with any operation. Two concurrent modal dialogs would be a wild goose chase or impossible.

            Vasudevan Deepak Kumar Personal Homepage
            Tech Gossips
            A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

            A 1 Reply Last reply
            0
            • V Vasudevan Deepak Kumar

              absprogrammer wrote:

              but i want handle two modal boxes at a time.

              Weird. The user has to dispose a modal dialog to proceed with any operation. Two concurrent modal dialogs would be a wild goose chase or impossible.

              Vasudevan Deepak Kumar Personal Homepage
              Tech Gossips
              A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

              A Offline
              A Offline
              absprogrammer
              wrote on last edited by
              #6

              Hi, Thanks for replying. my issue is I am working on web application in which i'm showing a pop up dialog as modal box. but when application is ideal for some time a lockscreen modal dialog appears. Thus I cannot access html page but i can access popup modal box which should not happen. lock screen is also a modalbox. So i want to handle two modalbox. please suggest if any alternative for this. Thnaks in advance.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups