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
  1. Home
  2. Web Development
  3. Modal Dialog Box

Modal Dialog Box

Scheduled Pinned Locked Moved Web Development
help
7 Posts 3 Posters 0 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.
  • N Offline
    N Offline
    nokiasony
    wrote on last edited by
    #1

    Dear all I used the method showModalDialog("url") to diaplay a modal dialog box.But i am gettin displayed with both the dialog box and browser window of the specified URL. I need only dialog box to be displayed. Please help me to resolve this problem Daewoo

    G D 2 Replies Last reply
    0
    • N nokiasony

      Dear all I used the method showModalDialog("url") to diaplay a modal dialog box.But i am gettin displayed with both the dialog box and browser window of the specified URL. I need only dialog box to be displayed. Please help me to resolve this problem Daewoo

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Show your code. --- b { font-weight: normal; }

      N 1 Reply Last reply
      0
      • G Guffa

        Show your code. --- b { font-weight: normal; }

        N Offline
        N Offline
        nokiasony
        wrote on last edited by
        #3

        uid=window.showModalDialog("mod.htm","","dialogWidth:260px;dialogHeight:300px"); Daewoo

        G 1 Reply Last reply
        0
        • N nokiasony

          Dear all I used the method showModalDialog("url") to diaplay a modal dialog box.But i am gettin displayed with both the dialog box and browser window of the specified URL. I need only dialog box to be displayed. Please help me to resolve this problem Daewoo

          D Offline
          D Offline
          DJLarZ
          wrote on last edited by
          #4

          well you might use the close method after viewing the dialog, but I dont think its possible to view only the message. ---- Dim Sleepy as Boolean = True If Me.Sleepy = True Then Goto Sleep End If ----

          1 Reply Last reply
          0
          • N nokiasony

            uid=window.showModalDialog("mod.htm","","dialogWidth:260px;dialogHeight:300px"); Daewoo

            G Offline
            G Offline
            Guffa
            wrote on last edited by
            #5

            That doesn't do anything but showing the dialog. Do you mean that the browser window still is shown while the dialog is open? If so, that is normal, and there is nothing you can do about it. --- b { font-weight: normal; }

            N 1 Reply Last reply
            0
            • G Guffa

              That doesn't do anything but showing the dialog. Do you mean that the browser window still is shown while the dialog is open? If so, that is normal, and there is nothing you can do about it. --- b { font-weight: normal; }

              N Offline
              N Offline
              nokiasony
              wrote on last edited by
              #6

              Dear Guffa sir, The problem is as follows: First,You consider the main window where showDialog is written and now it pops a dailog window but along with this, the url mentioned in showModalDialog is getting opened in a browser window too. Please resolve this problem. Regards Rukesh D Daewoo

              G 1 Reply Last reply
              0
              • N nokiasony

                Dear Guffa sir, The problem is as follows: First,You consider the main window where showDialog is written and now it pops a dailog window but along with this, the url mentioned in showModalDialog is getting opened in a browser window too. Please resolve this problem. Regards Rukesh D Daewoo

                G Offline
                G Offline
                Guffa
                wrote on last edited by
                #7

                The code that you have shown doesn't do that. You must have some more code that is executed. --- b { font-weight: normal; }

                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