Hi guys!
I'm trying to customize the default look (template) of CKEditor's dialog box. I would like to switch the positions of OK button with the Cancel Button, so that the OK button is to the right. I tried to edit the dialog plugin in /plugins/dialog/plugin.js. On line 1191 I rearranged the array for the default buttons, without any re...
I've got a jQuery UI dialog setup on a timer based on the session timeout.
The dialog pops two minutes before the actual session times out and gives the user a one-minute countdown in the dialog. When the countdown runs out, it closes the dialog and redirects to the logout URL.
This actually logs the user out one minute before sessi...
I have a GWT dialog box that looks like the following:
public class FooDialog extends DialogBox {
public FooDialog() {
setText("Foo Dialog");
VerticalPanel outer = new VerticalPanel();
outer.setBorderWidth(3);
outer.setSize("400px", "200px");
outer.setHorizontalAlignment(HasAlignment.ALIGN_CENTER);
outer.s...
Hello all,
This is an annoyance that I've tolerated for too long, and finally decided to pursue an answer. I am showing a modal jQuery dialog box in my web app, but the animation to show it doesn't occur in the right order. I'm setting a click event (using jQuery) to a link on a page, and when the user clicks it, it creates a new Dialog...
Hi chaps,
I'm trying to make a simple Dialog - no title just the word 'Close' and the X in the top right hand corner. My text etc. will then go underneath.
However I fiddle with it I can't ever get the closeText attribute to display - I can see it in FireBug but it either doesn't appear, or a couple of characters appear under the X gr...
I am using jQuery UI dialog for modal popups. I have some iframes in my page as well. The iFrame (z-Index = 1500) sits on top of the parent page (z-index =1000). I open the modal dialog from the parent page. I am trying to set the z-index using $('modal').dialog('option','zIndex',3000); but this is not working. I also tried stack:true ...
All-
I know this has been asked, but the previous solutions don't seem to apply to my situation.
I have a simple table with a number of records in each row, with the final column being a delete hyperlink. I'm trying to use the dialog to pop up and confirm delete. This works perfectly if I use explicit names of the div where the dialog i...
In my activity there's some stuff going on in a background thread, which gets started in Activity_1. The processing of the background thread takes a while and I want to notify the user when it's completed via an AlertDialog. However, the user might have changed to Activity_2 or Activity_3 in the meantime and I would like to pop up the Al...
I have a JQuery modal dialog with 2 JQuery UI datepicker inputs. My problem is that when the dialog opens the calender is already open on the page. I am not sure if this is because it is getting focus but the net result is that it shows on dialog open. Here is my code:
<script type="text/javascript">
$(function() {
...
How to write a confirm dialog in javascript with custom choices?
Instead of just "Ok" and "Cancel", I would like to have for example "This" "That" and "Other".
...
I have an application that need to open a dialog from a button where the user enters some information.
At the moment I do it like this (which works fine)
The button click generates a command in the ViewModel.
The ViewModel raises an event which the Controller listens to.
The Controller works out the details of the new window (i.e. Vie...
I'm trying to use pyqt to show a custom QDialog window when a button on a QMainWindow is clicked. I keep getting the following error:
$ python main.py
DEBUG: Launch edit window
Traceback (most recent call last):
File "/home/james/Dropbox/Database/qt/ui_med.py", line 23, in launchEditWindow
dialog = Ui_Dialog(c)
File "/home/jam...
I have the following code that shows a jquery ui dialog form with data for the user to enter:
$("#dialog").dialog({
bgiframe: true,
autoOpen: false,
height: 300,
modal: true,
buttons: {
'Create an account': function() {
var bValid = true;
...
i am trying to get asmSelect, which works fine on its own:
http://www.ryancramer.com/projects/asmselect/examples/example1.html
but i am now trying to get it to work on a page that get dynamically populated into a jquery UI dialog popup but it doesn't seem to be working. I am basically mimicing the code below and rendering a partialres...
when i click on a link, i have a jquery .post call in a javascript function. This calls a controller action which returns a partialresult into a jquery ui dialog.
this process can take a few seconds as the controller calls the model for some calculations, etc . .
anyway, is there anyway to display a "Please wait . ." or animated icon ...
I need to ask my web site's user a Yes/ No question. Currently I use JavaScript's confirm() function.
The return value is true (OK) or false (CANCEL).
The word CANCEL is misleading. I want to have the buttons say Yes/ No instead.
How can I do it? i m using php..Code should run on both IE & Firefox
...
I have the following code in my controller after the user posts the form but if the validation fails (_applicationValidator.Validate), I normally reload the "Edit" view but in this case I want to keep the dialog open and simply show these errors inside the dialog.
Controller Code:
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult...
hi,
how can i prevent the jQuery dialog from closing when i click the mouse?
closing on hitting esc is fine but i want to keep it open until i close it by clicking the close-icon.
any ideas?
thx
...
hi,
i'm having my own listview widget inside a jQuery dialog.
i'd like having the following dialog attributes for the dialog:
close on esc
but don't autoclose the dialog when clicking somewhere
i set beforeclose: function(){return false;}
which disables auto-close
the problems:
closing by esc doesnt work anymore
when clicking my...
Hello,
So I currently have a jQuery dialog with two buttons: Save and Close. I create the dialog using the code below:
$dialogDiv.dialog({
autoOpen: false,
modal: true,
width: 600,
resizable: false,
buttons: {
Cancel: function() {
// Cancel code here
},
'Save': function() {
// ...