modal-dialog

jQueryUI dialog won't go modal

I need a modal dialog to open ontop of an tinyMCE editor and other jQuerified items. I followed the jquery site but its not modal, I can still change and access the rest of the page. $('#sureDelete').dialog({ modal: true, buttons: { "Yes": function(){ ...

UIModalPresentationFormSheet on iPad in landscape mode

I created a UIViewController view from XIB with modalPresentationStyle set to UIModalPresentationFormSheet and everything works great in portrait mode. When I switch to landscape the view gets moved upperleft (it's not centered as it should be) and most part of it is clipped. Any ideas why this is happening and how to solve it? Thanks ...

Create a Modal Dialog box containing a form using struts2

Hi, In my application I have a part of form which should allow details of a n number of persons. i.e, Field1 Field2 field3 now a button Details of persons on button click it open a modal dialog box containg a form with 3 fields about person.When I click save. the details of persons sections should update...This should repeat on eve...

How to auto-center jQuery UI dialog when resizing browser?

When you use jquery UI dialog, all works well, except for one thing. When the browser is resized, the dialog just stays in it's initial position which can be really annoying. You can test it out on: http://jqueryui.com/demos/dialog/ Click on the "modal dialog" example and resize your browser. I'd love to be able to let dialogs auto-ce...

Modal dialog focus problems on WPF application

Hi, I have a problem with my wpf application where a modal dialog will appear behind the main application causing it to hang. It is very inconsistent, where most of the time the pop-up works correctly and is shown in front but occasionally it will pop-up behind, which stops any interaction with it. I can still close the dialog using t...

Presenting a Modal View in a TabBarController with a pop over view

All the examples i've seen for presenting a modal look very simple and i've been able to create one in a sample project quite easily. So there must be something basic i'm missing. I've created an ipad app that has a tabbarcontroller with 3 items. There is also a pop over menu that functions just fine on the 1st item. On this same item i...

Semantically-Accurate HTML5 Element for a Modal Dialog

I was wondering what some of my fellow web developers/designers felt would be the best HTML 5 element to use for a modal dialog like a lightbox, superbox, thickbox, or whatever your favorite flavor might happen to be. Since these types of UI's don't follow the typical flow of a 'normal' web page (which, apparently, according to HTML 5 s...

How to target dialog buttons/Add ids

I have a modal dialog. I want one button to be disabled and then later enabled. I plan to do this by adding an id to the button and then using that id to use the add/remove attribute disabled. If there is another way I am open to suggestions. Here is some sample code: $('#navDialog').dialog({ modal:true, autoOpen:false, ...

How to add a WindowListener to an external event.

This is my code I have developed. This is the main program which holds and executes each external JFrame for my Game. chooseGender is an external program which is nothing but a JFrame and its components. My goal for this is when chooseGender executes, it has 2 buttons for options (male, female) when the user picks one, an actionListene...

Is there a Close command for dialog boxes in the WPF command infrastructure?

Should I use ApplicationCommands.Close for closing modal dialog boxes or is that command considered reserved for closing the application? If it is the latter, do folks create Close commands for each dialog box or just a single Close command for all their modal dialog boxes? ...

jQuery Dialog + Disable

Hi, I have jQuery dialog window, upon some operations I have a blockUI plugin which I load. The problem I'm facing is that I'm still able to perform operations when the ajax operation is performing, even though AJAX image is still showing. The JSP page on the other hand is blocked until the operation is done, how do I block the dialog...

<ASP.NET> Show a wait dialog during file creation and hide it when download is ready

Hi everybody, I have a Page that automatically generates a file and sends it to the Response. I need a Dialog to be shown during the file creation and hidden after the browser download dialog appears. Any suggestion? Thanks! :) ...

jquery: drop-down boxes floating over modal dialog with IE6

I've got a web form with various html fields. There is a textbox input field which is wired to work as follows: when it attains focus a modal dialog should showup asking user for confirmation. I've used jquery ui on my page. Hence I've adopted a jquery UI modal dialog to show up here. The problem is when the dialog is "modal" the d...

Modal Dialog Over IFrame

I am working on displaying a PopUp over an IFrame residing on same page. Is it possible to overlay any div over IFrame? I am currently using OpenModalDialog. Are there any other options available? Thanks. ...

WM_COPYDATA in Windows 7 blocks application if modal window open

Hello, I have the following scenario: the application receives a WM_COPYDATA it extracts the information (some characters) and is processing the message while processing it displays a window, simulating a modal dialog (disabling its owner; the thread that created the main window, the owner of the modal window, is the same that created...

JQuery Tools Modal Overlay - broken in IE8

I have a jQuery Tools Modal Overlay on my website, and it works perfectly fine in both Chrome and Firefox... however, when I view the page in IE8, the black background mask appears on top of the dialog DIV... in addition, the div appears at the bottom of the page where the actual code is as opposed to centered on the screen. In addition...

WPF modal window behaves weird

Hi everybody! I 'm running into a situation i don't understand and want somebody to enlighten me if possible. Created a WPF application. For sake of simplicity consider this application to be one window. I put some controls on this window, amongst others there is a TextBox control (let's call it TB). There is a requirement that this T...

Stackoverflow like modal popup in jquery...

Which jquery modal plugin does stackoverflow uses (ie) When i try to close a question? Any suggestion.. ...

Wait for MDI child to close, similar to ShowDialog()

I've got a MDI-Application in which I'd like to use modal dialogs...yes, I know that this is a little against the principles if MDI...anyway, my main window is more of a 'workspace' then anything else. Back to topic, how can I wait for an MDI-Child to close? Some example code: public void DoSomething() { String searchterm = this....

Using haml or erb code in ModalBox causes afterLoad callback to not get called

I open a ModalBox with: =link_to_function "Add", "Modalbox.show('appt', {title: this.title, width: 600, height: 400, afterLoad: function() { alert('Content loaded') } });" This loads a haml file. When the haml file contains certain code, the callback never gets triggered. The same actually happens with .erb files as well. For example...