Hi there I am using the following script to load external pages inside
a dialog window. The code is working and it opens the external htmls,
but my problem is that it loads them all once the index.html page is
loaded.
Here is my code:
$(document).ready(function() {
.ui-dialog .ui-dialog-buttonpane { text-align: center; }
.ui-dialog .ui-dialog-buttonpane button { float: none; }
- Richard
On Tue, Dec 22, 2009 at 1:44 PM, RobGMiller wrote:
> What is the easiest way to manage button location at runtime?
>
What is the easiest way to manage button location at runtime?
Hello,
I am using the UI dialog plugin. People can edit there dns data off a
domain in this dialog.
When i uses it for the first time everything works fine. But when i
delete 2 of the three rows from the database he shows just one record,
this is oke, but when i submit the data he adds the old da
Using the data method is a good idea.
$.data($('#new')[0],'id',value)
discern wrote:
>
> Use a global. Makes more sense than my solution. Thanks. I always
> forget about globals.
>
>
--
View this message in context:
http://old.nabble.com/UI-Dialog%3A-Need-the-ID-of-the-clicked-button...-tp
Because I am using the CLASS of the button to open UI Dialog (as
opposed to the ID), how can I pass it the ID (or any data, for that
matter)? I need to pass the ID of the button to dialog so I know which
row to apply the actions of the dialog to.
var opt = {
autoOpen: false,
modal:
On Wed, Sep 23, 2009 at 9:08 AM, g...@iec wrote:
>
> Hi all,
>
> I have an issue.
>
> I am showing modal loading dialog while making ajax call.
> My dialog config is shown below :
>
> $('#loadingSearch').dialog({
>autoOpen: false,
>modal: !$.browser
Help me out of this issue...
i got stuck
On Sep 23, 6:08 pm, "g...@iec" wrote:
> Hi all,
>
> I have an issue.
>
> I am showing modal loading dialog while making ajax call.
> My dialog config is shown below :
>
> $('#loadingSearch').dialog({
> autoOpen: false,
>
Hi all,
I have an issue.
I am showing modal loading dialog while making ajax call.
My dialog config is shown below :
$('#loadingSearch').dialog({
autoOpen: false,
modal: !$.browser.msie,
bgiframe: true,
] On
Behalf Of Rick Faircloth
Sent: Friday, July 24, 2009 5:00 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] How can I keep the overlay in jQuery UI dialog longer than
the modal window?
If the body of the page on which the modal window overlays is shorter than
the dialog window, itself
If the body of the page on which the modal window overlays is shorter than
the dialog window, itself,
then the overlay is cutoff. I want the overlay behind the modal window to
extend beyond the window
even if the body of the document is shorter than the modal dialog.
Make sense?
Rick
Hi Mike,
Yes its working now. Now that i understand that part and looked at the
api again i saw:
Get or set the buttons option, after init.
Glad I get that fixed. Thanks for your help!
I think if i play more with jquery things get easier for me to understand.
Carlo
On Fri, Jul 24, 2009 at 2:
ok sorry for the delay, been kind of busy. Your problem is this ...
the var somevar is defined in the click function and your are trying
to use it in the constructor for the dialog therefore it is out of
scope and not defined. This wouldn't work even if you made the var
global because you must wr
Sorry i forgot to add it.
The button is placed before the dialog div.
Carlo
On Tue, Jul 21, 2009 at 2:43 PM, Mean Mike wrote:
>
> Carlo buddy where is the button with the id that your looking for ?
>
> On Jul 21, 5:06 am, Carlo Landmeter wrote:
>> I'm not able to send the whole html but i ca
Carlo buddy where is the button with the id that your looking for ?
On Jul 21, 5:06 am, Carlo Landmeter wrote:
> I'm not able to send the whole html but i can show you the jquery stuff:
> I am using this in a drupal CMS with jQuery 1.2.6 and jQuery UI 1.6.
>
> Drupal includes the following css/j
I'm not able to send the whole html but i can show you the jquery stuff:
I am using this in a drupal CMS with jQuery 1.2.6 and jQuery UI 1.6.
Drupal includes the following css/js
@import
"/sites/default/modules/jquery_ui/jquery.ui/themes/default/ui.all.css";
$(document).ready(function()
can I see the html that goes with this code ?
On Jul 18, 4:48 am, Carlo Landmeter wrote:
> Thanks for tip for my vars. I have tried the code you provided but
> this does not work. When i click my delete button it will complain
> that "somevar" is not set. So i guess it means the dialog function
Thanks for tip for my vars. I have tried the code you provided but
this does not work. When i click my delete button it will complain
that "somevar" is not set. So i guess it means the dialog function is
run before the somevar variable is set. Anyway arround this?
carlo
On Fri, Jul 17, 2009 at
Carlo,
jQuery /javascript is procedural so you just need to move things
around
like this
[code]
$(document).ready(function(){
$("#dialog").dialog({
autoOpen:false,
modal:true,
overlay: {backgroundColor: "#000",opacity: 0.5},
I will try that ones I have tackled the following issue.
I keep having issues with dialog because the dialog is created before
i use the .click function. Because of this i cannot change some
options of the dialog. For instance:
If i click the button i am able to retrieve the id of this button an
sure, just add
$("#dialog").load("url") to click function you have
Carlo Landmeter wrote:
Thanks for your replies.
If I look at your first option I wouldn't know how i could know the
correct ID before i click the button but i have to initiate the dialog
open after the normal dialog funct
Thanks for your replies.
If I look at your first option I wouldn't know how i could know the
correct ID before i click the button but i have to initiate the dialog
open after the normal dialog function. You second option seems the
best way for me, after the dialog is created i can modify its cont
I didn't realize there was a setter option for that, cool now I can
change my code LOL
Mean Mike
On Jul 16, 9:55 am, Charlie wrote:
> dialog has a setter option for title, it isn't really a title attiribute. The
> dialog "title is actually a span with class
> ui-dialog-title-dialoghttp://jque
dialog has a setter option for title, it isn't really a title
attiribute. The dialog "title is actually a span with class
ui-dialog-title-dialog
http://jqueryui.com/demos/dialog/#option-title
$('.selector').dialog('option', 'title', 'Dialog Title');
either pass the id into the option or you c
Yes that is correct you need to separate the dialog from the open
like this note: I set the autoOpen to false.
[code]
$(document).ready(function(){
$(".button").click(function(event){
$("#dialog").attr("title", event.target.id);
$('#dialog').dialog('open'
Hi,
I have probably a simple question which i cannot seem to find the
answer to.
I have a series of images which i want to use as buttons to trigger a
dialog. Inside this dialog i need the ID of the image button (or any
other element). But it seems after I load the dialog i cannot alter
the conte
What happens if you remove:
$(function() {
and the closing });
from the code? You don't need to include these inside a function.
On Jun 29, 10:17 pm, Yazeed Karaz wrote:
> Hello All
>
> I am new to jQuery UI, and I am trying to create a new dialog using
> when I click on a link or a button
>
> h
Hello All
I am new to jQuery UI, and I am trying to create a new dialog using
when I click on a link or a button
here is my code:
function openJQueryDialog(dialogWidth){
$(function() {
$("#AJAX_DIALOG").dialog({
bgiframe: true,
no duplicate ID's being assigned to different elements
> on the page?
>
> On Jun 26, 11:49 am, pbarnes wrote:
>
>
>
> > I am trying to use the Validator plug-in in combination with a jQuery
> > UI dialog. I have one required input field. When this field is outside
>
or plug-in in combination with a jQuery
> UI dialog. I have one required input field. When this field is outside
> of the dialog all works as expected. As soon as I place it in the
> dialog, nothing validates (i.e., even with an empty field, $
> ('#aspnetForm').validate().form() r
I am trying to use the Validator plug-in in combination with a jQuery
UI dialog. I have one required input field. When this field is outside
of the dialog all works as expected. As soon as I place it in the
dialog, nothing validates (i.e., even with an empty field, $
('#aspnetForm'
> I'll upgrade to jQuery UI 1.7+ and retry.. :D
>>> Best regards,
>>> Etienne
>>> Cesar Sanz wrote:
>>>> I had the problem too..
>>>> You must to update jquery and ui too
>>>> - Original Message -
>>>> From
; I had the problem too..
>
> >> You must to update jquery and ui too
>
> >> - Original Message -
> >> From: "James"
> >> To: "jQuery (English)"
> >> Sent: Monday, June 22, 2009 12:18 PM
> >> Subject: [jQuery] R
z wrote:
>> I had the problem too..
>>
>> You must to update jquery and ui too
>>
>> - Original Message -
>> From: "James"
>> To: "jQuery (English)"
>> Sent: Monday, June 22, 2009 12:18 PM
>> Subject: [jQuery]
t; Sent: Monday, June 22, 2009 12:18 PM
> Subject: [jQuery] Re: jquery-ui dialog and ajax issues updating from 1.2.6
> to 1.3.2
>
>
>
> When you update jQuery to 1.3+ from an older version, you also have to
> update your UI library to 1.7+ because jQuery 1.3+ is not compatibl
I had the problem too..
You must to update jquery and ui too
- Original Message -
From: "James"
To: "jQuery (English)"
Sent: Monday, June 22, 2009 12:18 PM
Subject: [jQuery] Re: jquery-ui dialog and ajax issues updating from 1.2.6
to 1.3.2
When you update jQ
When you update jQuery to 1.3+ from an older version, you also have to
update your UI library to 1.7+ because jQuery 1.3+ is not compatible
with older versions of jQuery UI.
On Jun 22, 5:25 am, Etienne Robillard
wrote:
> Hi,
>
> I'm using jquery-ui 1.6 custom build with jquery 1.2.6 trying to
>
Hi,
I'm using jquery-ui 1.6 custom build with jquery 1.2.6 trying to
set up a dialog window. Unfortunately I can't update to 1.3.2 since this
would trigger some unexpected XHR-related bugs like the following:
Exception ``TypeError: M.xhr is not a function'' thrown from function
anonymous(M=Obje
your dialog options need tuning
$("#dialogue").dialog(
{
AutoOpen: false, /// should be autoOpen
bgiframe: true,
height: 400,
width: 300,
maxHeight: 10, /// 10??
maxWidth: 10, // 10?
modal: true,
resizable: true,
buttons: { "Ok": function() { $(this).dialo
Thanks for the reply, Charlie. Sorry I've not got back on it until
now.
On Jun 11, 10:32 pm, Charlie wrote:
> try taking the dialog constructor out of the click functions maybe load is
> firing before the dialog call is complete
> this seems to be the norm, not trying to build it inside a click
Thanks for the reply, Charlie. Sorry I've not got back on it until
now.
On Jun 11, 10:32 pm, Charlie wrote:
> try taking the dialog constructor out of the click functions maybe load is
> firing before the dialog call is complete
> this seems to be the norm, not trying to build it inside a click
try taking the dialog constructor out of the click functions maybe load
is firing before the dialog call is complete
this seems to be the norm, not trying to build it inside a click
also first link doesn't validate on w3 validator, always worth
checking validation when DOM weirdness occurs
Sorry to post again, but again jQuery has me defeated completely
despite using simple code. This time I'm trying to use the excellent
UI library, and in particular dialogue windows. All I want to do is
open an external file in a dialogue, to save using standard popup
windows. I've got a test up at
Thanx pal, its work
I'm put an image, which when it clicks it will delete some data on the
database
On above example, when user click it will delete data with id = 13 on
database.
This is the function
function removeEdu(id) {
$('#dialog').dialog('open');
return false;
}
And
I'm put an image, which when it clicks it will delete some data on the
database
On above example, when user click it will delete data with id = 13 on
database.
This is the function
function removeEdu(id) {
$('#dialog').dialog('open');
return false;
}
And thi
I had problem when try to reuse div element with ui.dialog().
If I set the width & height the first time it works; but if I call it
from second function with different width & height it won't apply the
new setting.
Also if I manually resize the dialog when it appear after close and
reopen it use
well you could use .load() to load a page into a div inside the
dialog... then open it. i dont like using iframes
*waits for the flameing*
On May 8, 7:23 pm, DualFlex wrote:
> Many thanks Richard!
>
> It's working! I have a few new twists. Meet you in the other forum!
> ---
> Dualflex
Many thanks Richard!
It's working! I have a few new twists. Meet you in the other forum!
---
Dualflex
On Fri, May 8, 2009 at 10:40 AM, DualFlex wrote:
>
> Hi all,
>
> Just starting with jQuery...
>
> Q1) What is the most elegant way to embed another web page into a
> dialog? Use an IFrame?
Most elegent would be to call .dialog() on the iframe itself:
$("iframe").dialog()
or
$("#theidoftheifr
Hi all,
Just starting with jQuery...
Q1) What is the most elegant way to embed another web page into a
dialog? Use an IFrame?
Q2) Can't get a width of 600px ...
Q3) With Ie 6.x, my embedded web page appears first on the top-left
and then fades out into the UI-dialog breaking it !?!
Q4) No mod
anyone
On Apr 22, 3:38 pm, iceangel89 wrote:
> i have a form inside dialogs. i use ajaxForm plugin for my forms. i
> validate using beforeSubmit ... like in the example below. the strange
> thing is the dialog closes in the Add/Edit Type forms but not in the
> Add/Edit Category. the form did no
i have a form inside dialogs. i use ajaxForm plugin for my forms. i
validate using beforeSubmit ... like in the example below. the strange
thing is the dialog closes in the Add/Edit Type forms but not in the
Add/Edit Category. the form did not submit which means the return
false works but the dial
Hi there
want to show a 'please wait' dialog with UI dialog, but cant figure
out how to remove the title and the X (close dialog) as the dialog
should auto-close after the content is loaded...
Pleeaaas... ;-)
thanks :-)
Gerald
http://groups.google.com/group/jquery-ui
On 8 Mrz., 14:20, mcologne wrote:
> there is an own group for ui:http://groups.google.com/group/jquery-en
>
> you can change the focus by adding:
>
> open: function() {
> $(this).parents('.ui-dialog-buttonpane button:eq(0)').focus();
> },
>
>
there is an own group for ui:
http://groups.google.com/group/jquery-en
you can change the focus by adding:
open: function() {
$(this).parents('.ui-dialog-buttonpane button:eq(0)').focus();
},
On 8 Mrz., 13:23, Alexey wrote:
> Hello
> I am using Jquery plugin Dialog and i can not f
Hello
I am using Jquery plugin Dialog and i can not figure out how to make
the Ok button the first one from the left and selected. By default the
selected button is one on the left, but I want Ok to be on the left.
Anybody knows?
Thanks
Hi i'm stuck at the following. I have made a button that puts out a
clear request for a form. The flow of this should be: dialog -> if yes
-> use ajaxForm to submit -> reload section
so in my document ready i have the following: (multiple buttons can
exist)
$(".blockClear").each(function (i) {
For the benefit of others there, we'd be happy to answer your question over
on the jQuery UI list:
http://groups.google.com/group/jquery-ui
Thanks.
- Richard
On Wed, Feb 11, 2009 at 8:48 AM, EJB wrote:
>
> Hi all.
>
> A very simple jquery UI dialog question as I undertake le
Hi all.
A very simple jquery UI dialog question as I undertake learning this
new tool:
I have a button:
that calls this function:
function jsConfirmCancellation() {
return $(document).ready(function() { $('#CancelDialog').dialog
('open'); });
}
which opens this
im not able to download the full package of ui dialog.moreover
while trying to download themes error is being generated and i cannot
extract files
thanks all
>
>
> > css
>
> > Sam H wrote:
>
> >> Is there any way with jQuery UI Dialog to not show the "X" close box
> >> in the titlebar? (what if I want to show a message dialog that the
> >> user cannot close, such as a "Loading..." dialog)
See this thread
http://groups.google.com/group/jquery-ui/browse_thread/thread/9c8fbe30a91396cc
for some examples.
- Richard
On Wed, Feb 4, 2009 at 11:24 AM, Liam Potter wrote:
>
> css
>
>
> Sam H wrote:
>
>> Is there any way with jQuery UI Dialog to not show the
css
Sam H wrote:
Is there any way with jQuery UI Dialog to not show the "X" close box
in the titlebar? (what if I want to show a message dialog that the
user cannot close, such as a "Loading..." dialog)
Is there any way with jQuery UI Dialog to not show the "X" close box
in the titlebar? (what if I want to show a message dialog that the
user cannot close, such as a "Loading..." dialog)
there. Thanks.
- Richard
On Wed, Feb 4, 2009 at 4:30 AM, snow wrote:
>
> After update jQuery from 1.2.6 to jQuery 1.3.1.
> The jQuery UI dialog relatived event handle options don't work
> ex.
> drag
> dragStop
> resize
> resizeStop
> etc.
>
> and i tried 1.3.0, it
After update jQuery from 1.2.6 to jQuery 1.3.1.
The jQuery UI dialog relatived event handle options don't work
ex.
drag
dragStop
resize
resizeStop
etc.
and i tried 1.3.0, it seems the same problem.
btw, i'm not sure if the other widgets have the same issue.
only 1.2.6 work fine.
Do
After update jQuery from 1.2.6 to jQuery 1.3.1.
The jQuery UI dialog relatived event handle options don't work
ex.
drag
dragStop
resize
resizeStop
etc.
and i tried 1.3.0, it seems the same problem.
btw, i'm not sure if the other widgets have the same issue.
only 1.2.6 work fine.
Do
After update jQuery from 1.2.6 to jQuery 1.3.1.
The jQuery UI dialog relatived event handle options don't work
ex.
drag
dragStop
resize
resizeStop
etc.
and i tried 1.3.0, it seems the same problem.
btw, i'm not sure if the other widgets have the same issue.
only 1.2.6 work fine.
Do
I'd like to open a dialog when a link is clicked, and have the dialog
open beside the link, similar to a tooltip.
Are there any examples on how to calculate the position where the
dialog should show up? What's the best way to position it so that it
shows within the confines of the page (i.e. if
The current version of dialog is designed to be a viewport dialog, not
related to any other element. The general plan is to build in support like
you have described when we have layout support/modules in jQuery UI.
The workaround you're using seems reasonable. If it's not working as you'd
expect,
I have created a few Dialogs and want them contained within a div.
I was surprised to see that the containment options is not available
for the UI Dialog. Is there any technical reason for this. I have
used
$.extend($.ui.resizable.defaults, {
containment: '#myContainingDiv'
}
but I also want t
some essential difference.
I have a jQuery UI dialog widget implemented with draggable enabled.
Now, what I need to do is to restrict the dragging effect of the
dialog so that it is only possible to drag it around within the
browser internal frame borders.
Now, as I understand, this should work like
lse);
} // save full (not draft)
}
edMainT = null;
edSecondaryT = null;
edAdditionalT = null;
});
Which works awesome in FireFox, but in IE, any time I open a JQuery UI
Dialog or use JQuery to modify the DOM the function runs an
Hi, i have this function:
function showSendMessage(id){
$('#sendMessage').dialog({modal: true,overlay:{opacity:
0.5,background: "black"},title: 'Kontaktovat uživatele'});
//$('#sendMessage').dialog('open');
$('#sendMessage').css({ display:"block"});
$('#ClientsReci
Hi, i have this function:
function showSendMessage(id){
$('#sendMessage').dialog({modal: true,overlay:{opacity:
0.5,background: "black"},title: 'Kontaktovat uživatele'});
//$('#sendMessage').dialog('open');
$('#sendMessage').css({ display:"block"});
$('#ClientsReci
Hi Guys,
I´m with problem with UI Dialog, and I´m thing it´s a bug.
In this UI Dialog example http://docs.jquery.com/UI/Dialog is possible
to verify.
If you resize the Dialog to right, for example, and then try to resize
to left, the titlebar and content doesn´t seems to reduce it´s width.
You
I used jquery 1.5b2 packed and I use jquery dialog ...
it work perfectly .. but when I used 1.5b4 packed ... the dialog won't
open ... it produce error ... which i don't know why ...
Hello,
I'm trying to get the UI Dialog box implemented in a couple of the items
that I am currently working on, but am apparently doing something
incorrectly. Here's the relevant code that I'm testing...
$(document).ready(function() {
$("#open-dialog").click(function() {
context:
http://www.nabble.com/JQuery-UI-Dialog-not-working-tp14692149s27240p14712662.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
t;// some code
>}
> });
>
> And have the "some code" function run after the dialog is closed.
> --
> View this message in context:
> http://www.nabble.com/JQuery-UI-Dialog-not-working-tp14692149s27240p14704599.html
> Sent from the jQuery General Discussion mailing list archive at Nabble.com
> .
>
>
) {
// some code
}
});
And have the "some code" function run after the dialog is closed.
--
View this message in context:
http://www.nabble.com/JQuery-UI-Dialog-not-working-tp14692149s27240p14704599.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
asons-toolbox.com/Recipes/DialogTest.asp
>
> Here's the URL using the latest copy of JQuery right from the servers:
>
> http://www.jasons-toolbox.com/Recipes/DialogTest.asp?Latest=y
>
> Any ideas why it won't work?
>
> Thanks in advance,
>
> -Jason Levine
> -
View this message in context:
http://www.nabble.com/JQuery-UI-Dialog-not-working-tp14692149s27240p14692149.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
85 matches
Mail list logo