dialog

Calculate innerwidth of a jquery dialog

I am trying to calculate the innerwidth of jquery dialog (ui-1.8) For somereason it is always returning 0. One reason perhaps is that the dialog is still hidden and not open?? Was using $('#dialogId').innerwidth() Any help? ...

how to set the tab order for the UI controls in win 32?

hello all I have a small dialog which I created dynamically, which has a textbox and a button..if the user presses the TAB key it has to switch between the two control(textbox and button)...I tried using SetwindowPos...but it doesnt seem to solve my problem...please give me a solution for this..in the below code..I also tried to include ...

Native (non-jqueryui) way to set prompt() input field inline.

I might just be using the wrong keywords on Google, but what I have in mind is: -------------------------------- | What is your mailbox? | | | | [ ]@mail.example.org | | | | [OK] [Cancel] | -------------------------------- The idea bein...

Dijit.Dialog 1.4, setting size is limited to 600x400 no matter what size I set it.

I'm trying to set the size of a dijit.Dialog, but it seems limited to 600x400, no matter what size I set it. I've copied the code from dojocampus and the dialog appear, but when i set the size larger, it only shows 600x400. Using firebug and selecting items inside the dialog, I see that they are larger than the dialog, but don't show c...

How to localize win32 dialogs?

I am working on Win32 dialogs with various controls like Static Text , Checkbox etc and all the strings need to be localized for different languages. I have designed the dialogs for US intl . But when I put localized strings those, not fitting properly and I have to change layout for each intl. Is there a better way to do this? Can I c...

Problem with multiple jQuery UI dialogs and hyperlinks

I'm having a problem similar to the one here: Prior jQuery UI Dialogs become nonresponsive.... Here's how the problem happens: If I open one dialog and then a second dialog, and then close the second dialog, hyperlinks in the first dialog no longer work. Here is the code for the dialogs: <script type="text/javascript"> $(function(...

JQuery dialog momentairly displayed on page load

I created a page that has a JQuery based dialog using the standard JQuery UI function. I do this with out of the box functionality of JQuery... nothing special at all. Here is my HTML for the dialog: <div id = "myDialog"> <!-- ... more html in here for the dialog --> </div> Then the JQuery called in javascript that transforms the ...

Dialog is not defined

I'm building my first Facebook Connect application, and am running into an odd problem. This example code: <script type="text/javascript" charset="utf-8"> FB.init("{{ FACEBOOK_API_KEY }}", "{% url xd_receiver %}"); FB.ensureInit(function() { var invite_dialog; function showInviteDialog() { invite_dialog = new Dialog(Di...

jQuery Dialog blocks Firefox hotkeys

I'm currently working with jQuery 1.4.2 and jQuery UI 1.8.2. I'm experiencing some weird behavior after I have closed a modal dialog. When I try to reload the page with Ctrl+F5 nothing happens. Another weird thing is that the context menu of Firefox can only be opened with right clicking twice. The Firebug console is showing me the fo...

How to ajax load a parent-child listbox in JQuery/Asp.net MVC popup?

hi guys, i'm new to the asp.net mvc. and i have a link which will popup show a 3 panes listbox which allows the user to select country, region and language. and when the user click on the language, this will redirect back to the controller and refresh the page and show the proper localized content. i was thinking of using a jquery dia...

How to open the WPF PrintDialog as CenterOwner?

Is it possible to open the WPF PrintDialog as CenterOwner? ...

Firefox-Addon Dialog-like in WinForms?

Does anybody know how to make a dialog that looks a bit like the firefox-addon dialog. especially the list/gridview style... I'm using WinForms with C# ...

customize Java dialog Color, Appearance, Theme

I want to make Java JDialog appear like it is presented in the image (link below) using JDK 6 Swing. Is it possible? if so kindly guide me. Image Link: Image ...

jQuery UI Tabs And Dialog - How to confirm switching tabs with confirm based on the Dialog plugin?

So, the goal is to confirm switching to another UI tab using UI Dialog plugin. Using common confirm method is simple: jQuery("#tabsContainer").tabs({ select: function(event, ui) { return confirm("Some confirmation message..."); } }); but how to to achieve same behavior using Dialog modal box? I think I have to call: ...

Problem to focus JTextField

(Problem occur in Ubuntu only. Works fine in Windows. I don't know in other Linux environments) I have used the approach of the ComponentListener to call focus in JTextField within a dialog, but for this case is just not working, I don't know why. It shows the focus in the text field and fast change to the button. Run and see: import j...

Android dialog width

I can't seem to control the dialog width. I have a simple layout like so` <TextView android:id="@+id/name_prompt_view" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/name_prompt" android:padding="10dip"/> <EditText android:id="@+id/name_inp" android:layout_width="fill_parent...

In C# how to show a GUI from another GUI, based on the event from a class in another thread?

I am working on a DirectX based simulator. On which I have to check for a device whether device has been plugged-in or removed from the PC. I've managed to make classes for device arrival and removal on another thread, which raises an event from the thread itself on device arrival or removal. The corresponding event method is being call...

Combining multiple jQuery functions

Is there any way to combine all of this to reduce the amount of js? This is just an example of some of the jquery dialogs I have in my site, there are a few more too. Thanks. //initiate Search refinement dialog here $("#chooseMoreCnt, #chooseMoreCat, #chooseMorePr").dialog({ bgiframe: true, autoOpen: false, width: 500, ...

Jquery UI modal dialogs

Hi All. I have a problem with Jquery UI modal dialogs. I have modal dialog (dialogA), which can create another modal dialog (dialogB). After the second creation and closure of the dialogB the overlay of dialogA disappear. Here is my code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/x...

NSRunAlertPanel shows up behind the "active window"

I'm trying to put together a simple error reporting package. If my main program crashes, it saves a crashlog, then starts a reporter program. The reporter program asks the user if it can send the crash log to me, then does so. I'm using NSRunAlertPanel to create a basic message box. For some reason, that message box is showing up buried...