modal-dialog

jQuery and piroBox don't like <!DOCTYPE html>

I'm trying to use the piroBox (http://www.pirolab.it/pirobox/index.php) jQuery plug-in to make a gallery. I'm also using <!DOCTYPE html>. With this DOCTYPE, the images that are supposed to appear in a modal dialog appear at the bottom of the page. Removing the DOCTYPE makes it perform as expected. Is there any way to make the plug-in an...

Looking for lightweight modal popup JS library that runs stand alone

I need a pointer to a library to show modal dialog popup with HTML content. The library should be able to work in random websites without relaying on a library like jquery etc.. My requirements: 1. beautiful design (shadow is a plus for example). 2. compatibility with arbitrary doctypes 3. lightweight and quick to load. thanks ...

modal forms using jquery and railse

What's the best option to to a model/overlay type form (to create a post for example) using rails and jquery? I have tried jquery ui dialog/jquery tools overlay etc, but there does not seem to be a good solution to handle.. 1 - Validation errors, i.e. present the form with appropriate inline/flash validation errors 2 - the only way t...

Good or bad practise for Dialogs in wpf with MVVM?

hi, i lately had the problem of creating add and edit dialogs for my wpf app. all i want to do in my code was something like this. (I mostly use viewmodel first approach with mvvm) ViewModel which calls a dialog window: var result = this.uiDialogService.ShowDialog("Dialogwindow title goes here", dialogwindowVM); ... do anything with...

MVC Deletemodal with extra options using jQuery

In MVC I made a jQuery modal asking me if i'm sure if i want to delete it, and then make a postback with $.post I use this for all my 'Index views', which are quite a lot. For most views, when I delete something, the row from the table is also delete with hide() now, for some views, things do not really get deleted, but they get 'inact...

JQuery: Click anywhere on body to close modal dialog for this code

The same question is asked here. but it doesn't state the source, and the solution given is not directly applicable in my case afaik. I might get modded down for this, but I am asking anyway. My Entire Code: <html><head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/scri...

How do I get a modal dialog in a Firefox extension to be centered on the screen?

If I have a dialog and I want to center it on the screen, I can just do something like: var w = window.openDialog('chrome://syndicus/content/saveDialog.xul', '', 'chrome,dialog'); w.centerWindowOnScreen(); but if it's a modal dialog, then the openDialog function doesn't return until after the user has pressed something, so centerWindo...

Jquery - Customizing the colorbox plugin

I'm using the colorbox plugin for modal popups. It's working nicely, but there's a main thing about it that seems wrong. I have a form that pops up, and on submitting (or clicking a link) in the form, this might open another "colorbox" modal. It works smoothly, but there's one thing that bothers me. As it is, colorbox seems to wait unt...

Modal that opens an IFRAME (umbraco)

Hi, I'v got a problem when opening a Modal window that loads a JFrame. The file loaded in the JFrame is a aspx file with a tag of /umbraco/controls/Tree/TreeControl.ascx. The modal loads and any text i put in is loaded but the TreeControl will not load. Iv used this ascx file in other places and it works greate if I load it via a normal ...

C# Close Modal Form when mouse click outside form area

I would like to close a modal form when the user clicks outside (anywhere on the computer desktop) the modal form. How can we do this as a modal form is not meant to lose focus. ...

Can I, from a modal form, activate an existing nonmodal window?

Can I, from a modal form, activate an existing nonmodal window? I use Delphi. In our application the users can edit reports in a nonmodal window. This is usually done by selecting "Edit reports" from the main window. But there is also a possibility to open a report from a modal print dialog. This leads to the following problem: A user o...

jQuery selector and DataPager cannot coexist! (ASP .NET)

I am using a ASP .NET ListView with a MS SQL Database. I use the ListView to show the information and in the list view, there is an hyperlink which opens the editing window for the specific record in a jQuery Modal Dialog Box. <asp:ListView ID="ListView1" runat="server" DataSourceID="SqlDataSource1"> <LayoutTemplate> <div id=...

Is there a simple way to know if a modal dialog is currently displayed?

Is there one method in AWT or Swing to either tell me if there's a modal window (or multiple) up, or to return an array of them? I looked in Window, Dialog, JDialog, SwingUtilities, etc. but couldn't find one. (I know I can loop through Window#getWindows and check Dialog#isModal.) ...

Jquery inside modal box function

I use next function to build Modal box. And I need jquery combo box inside that modal box. function launchModal(id) { jQuery('body').append('<div id="catmodal" title=""><select id="ac_s1"><option value="Home Security"></option></select></div>'); jQuery('#'+id).dialog({ resizable: false, height...

Non-blocking modal Swing progress dialog

A daft question, but I really cannot get this to work: I have some long-running process in a Swing application which may take several minutes. I want to display a progress dialog to the user while this process is ongoing. I also want to prevent the user from performing further actions, eg pressing a button while the process is going on. ...

best jquery-based lightbox / popup dialogbox ?

Hi all, i'm looking for a jquery-based popup dialog box that we will use for : displaying static content pages (terms of use, etc) the contact us page (already uses the jquery form plugin for ajax submit) displaying full-size for photo thumbnails. can anybody recommend one that can fulfills all the above and that is rather lightweigh...

Java modal window with maximize button

How could I create a window which is modal and has a maximize button? So is it possible to create a modal JFrame or create a JDialog with maximize button? ...

Why isn't my jquery dialog box working?

I've been trying to figure out how to get a jquery dialog box to work. For the life of me, I can't get it to work. Here is some html with in-line javascript I've written: <html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> function showDialog() { ...

jQuery UI Dialog reloading window in firefox

I have a web app I am developing an running with firefox. I am using jQuery for several things, with several modal windows being part of that. With one of those modal dialogs, when a function is run, it changes the title, adds a button, then opens. When this function is run in firefox the window/tab will go blank for a brief moment, then...

Getting a result from a modal window in pygtk

I need to open a new window from my applications main window. This new window need to be modal, I need to be able to get a result from the modal window based on user interaction with it. I have figured out how to make the window modal. But I can't figure out how to return a result from the modal window and pass it back to the main windo...