Hello!

I'm using JQuery v1.3.2 and JQuery UI v1.7.1

Thanks!

On 20 abr, 11:21, sithram <[email protected]> wrote:
> Hello!
>
> I am using a dialog with a selectable list in it. I need to fix a
> height of 300px on init with a vertical scrollbar. Only it works when
> I try to change the height of the dialog resizing it.
>
> The definition of selectable & dialog is:
>
>         $('#sel').selectable({
>           stop: function(){
>             $(".ui-selected",this).each(function(){
>               gV=$(this).attr("rel");
>               gVd=gV+' - '+$(this).text();
>             });
>           }
>         });
>
>         $('#dlg').dialog({
>           autoOpen: false,
>           modal: true,
>           minWidth: 200,
>           maxWidth: 550,
>           minHeight: 200,
>           maxHeight: 350,
>           height: 300,
>           bgiframe: true,
>           closeOnEscape: true,
>           buttons: {
>             'Cancel':function(){ $(this).dialog('close'); },
>             'Ok':function(){
>               $('input[name="vD"]').attr('value',gVd);
>               $('input[name="v"]').attr('value',gV);
>               $(this).dialog('close');
>             }
>           }
>         });
>
> Then I have a funtion that fire it:
>
> function openDlg() {
>      $('#dlg').dialog('open');
>
> }
>
> Thanks for your help!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to