Now the thread is in the jquery ui group :
http://groups.google.com/group/jquery-ui/browse_thread/thread/6643c7957eb9ce0d


On 24 mai, 03:00, Lideln <lid...@gmail.com> wrote:
> Youhou ! A last one before going to bed :
>
> I found the option 'disable/enable' and it was exactly what I was
> looking for (for the "titled" state of the window).
> But guess what ? I don't know how, but if you disable the resizable,
> the cursor won't change when moving around the window borders, BUT try
> to act as if the handles were here : nothing happens. Really ? No, not
> really. The "absolute top left" bug happens again ! And I receive the
> "stop()" callback... I should definitely not receive it.
>
> I'm soooooo disappointed in that plugin, it's the only jquery flaw for
> now.
>
> Please do not hesitate to contribute to this thread, especially if you
> have answers/workarounds :-)
>
> On 24 mai, 02:47, Lideln <lid...@gmail.com> wrote:
>
> > Another thing...
>
> > When using the resizable plugin, and by using it I mean resizing the
> > window, it somehow creates bars around my window (some ui-resizable-
> > handle).
> > Why is it bad news ? Because when I perform a double click on the
> > window title, it hides the contents, limiting it as the title height
> > (as under linux). But because of those handles, the window does not
> > "close" ! The handles force the window to keep a certain dimension,
> > which is absolutely not what I want.
> > Another thing : resizing an element somehow mess the top and left
> > position. Not visually, but in the CSS.
> > I mean :
> > I launch my application. I move a window toward the top left edge. The
> > console indicates me that top and left are "0px".
> > Now, I resize the window thanks to the bottom right handle, and
> > increase the size by just one pixel (it's enough).
> > Now, the console indicates me an absolute positionning for top and
> > left values.
>
> > I really _LOVE_ jQuery, but with that resizable plugin, I'm going to
> > hang myself with my computer cables :'(
>
> > Please, some help would be really appreciated.
>
> > PS : note that for the "absolute top left" bug, I *may* find a
> > workaround by using absolute positionning for my windows all the
> > time... But if possible I would like to keep my relative positionning
> > intact.
>
> > On 23 mai, 23:49, Lideln <lid...@gmail.com> wrote:
>
> > > I forgot :
> > > My example, using this pluggin, is :
> > > [code]
> > > SApplication.oContent.append('<div class="window" id="window_' + sPage
> > > + '">\
> > >                                                                         
> > > <div class="windowTitle">\
> > >                                                                           
> > >       <div class="windowTitleIcon window_icon_' + sIcon + '"></div>
> > > \
> > >                                                                           
> > >       <div class="windowTitleButtons"></div>\
> > >                                                                           
> > >       <div class="windowTitleTitle">' + sTitle + '</div>\
> > >                                                                         
> > > </div>\
> > >                                                                         
> > > <div class="windowContent">' + sHTML + '</div>\
> > >                                                                 </div>');
> > > var oWindow = $('#window_' + sPage, SApplication.oContent);
> > >                 oWindow.draggable({
> > >                                                         cursor: 'default',
> > >                                                         handle: 
> > > '.windowTitleTitle',
> > >                                                         containment: 
> > > SApplication.oContent,
> > >                                                         scroll: false,
> > >                                                         stop: 
> > > SApplication.onDragStop
> > >                                                 });
> > >                 oWindow.resizable({
> > >                                                         alsoResize: 
> > > $('.windowContent', oWindow),
> > >                                                         containment: 
> > > SApplication.oContent,
> > >                                                         minHeight: 100,
> > >                                                         minWidth: 200
> > >                                                 });
> > > [/code]
>
> > > If you need anything else, please let me know
>
> > > On 23 mai, 23:45, Lideln <lid...@gmail.com> wrote:
>
> > > > Hi all,
>
> > > > I am using the jquery-ui resizable plugin, but I encountered some
> > > > issues :
> > > > 1) I had to add the ".ui-resizable" css for that plugin to work
> > > > (hopefully I found a website explaining that workaround)
> > > > 2) there is no "scroll" option like in draggable (!?)
> > > > 3) the containment option does not work vertically on the official
> > > > example (http://jqueryui.com/demos/resizable/#constrain-areayouare
> > > > constrained horizontally, but not vertically). In my application, the
> > > > containment option is buggy too : it seems to take into account the
> > > > container outer margins, or something else, I don't know what, but my
> > > > windows are constrained far too soon (no it's not maxWidth/maxHeight)
> > > > 4) the alsoResize option is buggy : when the containment option is
> > > > used, the "alsoResized" element is not constrained as well :-(
>
> > > > Am I missing something ? Does someone have info on what's going on
> > > > with this plugin ? (1.7.1, it's not an alpha version). Can someone
> > > > tell me if I can do something to fix that, or if there is another
> > > > resizable plugin available out there ? (like the one used 
> > > > inwww.chiptune.com
> > > > )
>
> > > > Thanks a lot everybody !
>
> > > > Kind regards,

Reply via email to