Re: [jQuery] New Plugin: Resizeable

2006-11-08 Thread Mark Gibson
Stephen Woodbridge wrote: Mark Gibson wrote: I've not had chance to test it, but I'm sure all elements have a resize event. If not then the resizeable plugin can trigger() it itself. Hi Mark, I tried to do this like this: $(document).ready(function(){

Re: [jQuery] New Plugin: Resizeable

2006-11-08 Thread Aaron Heimlich
On 11/8/06, Mark Gibson [EMAIL PROTECTED] wrote: Steve,After a quick flick through _javascript_, The Definitive Guide and afew online docs, it seems that the resize event only applies towindow size changes.So you'd have to manually trigger the event. You might also want to use a custom event (like

Re: [jQuery] New Plugin: Resizeable

2006-11-08 Thread Stephen Woodbridge
Mark Gibson wrote: Stephen Woodbridge wrote: Mark Gibson wrote: I've not had chance to test it, but I'm sure all elements have a resize event. If not then the resizeable plugin can trigger() it itself. Hi Mark, I tried to do this like this: $(document).ready(function(){

Re: [jQuery] New Plugin: Resizeable

2006-11-08 Thread Stephen Woodbridge
Stephen Woodbridge wrote: Mark Gibson wrote: Stephen Woodbridge wrote: Mark Gibson wrote: I've not had chance to test it, but I'm sure all elements have a resize event. If not then the resizeable plugin can trigger() it itself. Hi Mark, I tried to do this like this:

Re: [jQuery] New Plugin: Resizeable

2006-11-07 Thread Stephen Woodbridge
Mark Gibson wrote: Stephen Woodbridge wrote: Hi Stefan, I have been trying your resize plugin, it is really slick and works great! I have a request, does it already have or can you add the ability to added a call back at the end of the resize, so other code can be notified of the change

Re: [jQuery] New Plugin: Resizeable

2006-11-06 Thread Mark Gibson
Stephen Woodbridge wrote: Hi Stefan, I have been trying your resize plugin, it is really slick and works great! I have a request, does it already have or can you add the ability to added a call back at the end of the resize, so other code can be notified of the change in size? Like

Re: [jQuery] New Plugin: Resizeable

2006-11-05 Thread Stephen Woodbridge
Hi Stefan, I have been trying your resize plugin, it is really slick and works great! I have a request, does it already have or can you add the ability to added a call back at the end of the resize, so other code can be notified of the change in size? Like notify below:

Re: [jQuery] New Plugin: Resizeable

2006-11-05 Thread Stephen Woodbridge
Hi Stefan, I took a shot at adding the notify to your iresizeable.js and it seems to work for my limited testing. Here is the patch: [EMAIL PROTECTED]:~/work/jquery2/plugins/interface.eyecon.ro$ diff -Naur temp/iresizeable.js sew/iresizeable.js --- temp/iresizeable.js 2006-10-21

Re: [jQuery] New Plugin: Resizeable

2006-11-05 Thread Stephen Woodbridge
OK, this is not quite right yet. In side the notify function this.sizes seems to be the original size of the div and not the new resized sizes. Using it like this: $(document).ready(function(){ $('#resize_map').Resizeable( { minHeight: 100, maxHeight:

Re: [jQuery] New Plugin: Resizeable

2006-11-05 Thread Stephen Woodbridge
Sorry for the long list of posts replying to myself. Here is a new patch that fixes the last problem. I think there is probably a more elegant way to do this, but this seems to work now. diff -Naur temp/iresizeable.js sew/iresizeable.js --- temp/iresizeable.js 2006-10-21 08:22:10.0

Re: [jQuery] New Plugin: Resizeable

2006-10-23 Thread Mika Tuupola
On Oct 21, 2006, at 15:26, Stefan Petre wrote: http://interface.eyecon.ro/demos/resize.html more like a image crop OSX FF 1.5.0.7 First time when I drag (not resize) the brigh area with mouse everything is ok. When I release it and drag second time the bright area disappears as soon as I

Re: [jQuery] New Plugin: Resizeable

2006-10-22 Thread Stefan Petre
Rey Bango wrote: Hi Stefan, Great work! Some feedback. In IE7, the panel border shrinks as you resize it and the text scrolls up. See the pic in the link for a better understanding of the issue. http://www.intoajax.com/images/resize.jpg Rey.. Stefan Petre wrote: After a wild

Re: [jQuery] New Plugin: Resizeable

2006-10-22 Thread Stefan Petre
Franck, try this http://interface.eyecon.ro/demos/resize_textarea.html Franck Marcia wrote: 2006/10/21, Stefan Petre [EMAIL PROTECTED]: I think you can use for textareas, just that you have to move the handle while the textarea is resized I gave it a try:

Re: [jQuery] New Plugin: Resizeable

2006-10-22 Thread Franck Marcia
2006/10/22, Stefan Petre [EMAIL PROTECTED]: Franck, try this http://interface.eyecon.ro/demos/resize_textarea.html Franck Marcia wrote: 2006/10/21, Stefan Petre [EMAIL PROTECTED]: I think you can use for textareas, just that you have to move the handle while the textarea is resized

Re: [jQuery] New Plugin: Resizeable

2006-10-22 Thread Rey Bango
Hi Stefan, Ok. What I'm trying to point out, though, is that the panels shrink in IE7 and they don't do that in FF. Since you offered up the code, I figured you'd be interested in seeing the differences in behavior between the two browsers, especially since some might take that code for their

[jQuery] New Plugin: Resizeable

2006-10-21 Thread Stefan Petre
After a wild period at my work, I managed to make some time to develop a new plugin. Resizeable: allow elements to resize by handlers to north, east, west etc direction, set minimum width/height/ maximum width/height. minimum top/left/ maximum right/bottom. Here are 2 demos

Re: [jQuery] New Plugin: Resizeable

2006-10-21 Thread Webunity | Gilles van den Hoven
Stefan Petre wrote: After a wild period at my work, I managed to make some time to develop a new plugin. Resizeable: allow elements to resize by handlers to north, east, west etc direction, set minimum width/height/ maximum width/height. minimum top/left/ maximum right/bottom. YES

Re: [jQuery] New Plugin: Resizeable

2006-10-21 Thread Indigo
This is really good. I personally like the second demo. What would be even better for the second demo is to be able to click to shrink or grow instead of having to click-and-drag to shrink or grow. Great job! On Saturday 21 October 2006 07:26, Stefan Petre wrote: After a wild period at my

Re: [jQuery] New Plugin: Resizeable

2006-10-21 Thread Stefan Nagtegaal
Op 21-okt-2006, om 14:26 heeft Stefan Petre het volgende geschreven: After a wild period at my work, I managed to make some time to develop a new plugin. Resizeable: allow elements to resize by handlers to north, east, west etc direction, set minimum width/height/ maximum width/height.

Re: [jQuery] New Plugin: Resizeable

2006-10-21 Thread Franck Marcia
2006/10/21, Stefan Petre [EMAIL PROTECTED]: After a wild period at my work, I managed to make some time to develop a new plugin. Really good work, Stefan! I've been thinking about doing something like this for textareas. Do you think your plugin can do that? Franck.

Re: [jQuery] New Plugin: Resizeable

2006-10-21 Thread Stefan Petre
David wrote: This looks great. Jack Slocum, who ? Stefan Petre is the man. Stefan Petre schreef: After a wild period at my work, I managed to make some time to develop a new plugin. Resizeable: allow elements to resize by handlers to north, east, west etc direction, set minimum

Re: [jQuery] New Plugin: Resizeable

2006-10-21 Thread Stefan Petre
Franck Marcia wrote: 2006/10/21, Stefan Petre [EMAIL PROTECTED]: After a wild period at my work, I managed to make some time to develop a new plugin. Really good work, Stefan! I've been thinking about doing something like this for textareas. Do you think your plugin can do that?