RE: [Rails-spinoffs] resizable window/div - some help needed

2006-01-16 Thread Maninder, Singh
Hello Guys, On a side note, I wanted to find out if anyone has worked on a column resizing script? If yes, then I would really appreciate if you would share your code in this forum. Thank you, Mandy. ___ Rails-spinoffs mailing list Rails-spinoffs@lis

Re: [Rails-spinoffs] Effect.Puff Problem - first frame is wrong size

2006-01-16 Thread Chris Nolan.ca
I just came back to this problem and thought I'd share the work around I used. Looks like 'Effect.Scale' isn't understanding the padding on the div. I had to put another div inside of the one I'm putting the 'Puff' against and move the padding to that div instead. It now works as expecte

Re: [Rails-spinoffs] Preventing bubble

2006-01-16 Thread Bill Moseley
On Mon, Jan 16, 2006 at 11:50:26AM -0800, Bill Moseley wrote: > There's other odd things happening. When I first load the page > clicking on the links nothing happens, and I have to first click > either on the area or on some link on the page ( like the ajax > updater for "page next", for exampl

[Rails-spinoffs] effect.fade and Microsoft.AlphaImageLoader

2006-01-16 Thread Alex Duffield
I want to do a Fade/Appear on a div that has a PNG background. I am using Microsoft.AlphaImageLoader filder in the CSS for this element, but when the fade is working, it I lose the alpha for the background. Is there a way to do this??? ___

Re: [Rails-spinoffs] resizable window/div - some help needed

2006-01-16 Thread wooyay
Ryan Gahl wrote: Sorry! Last one on this subject... it's just a cool script by M. Jaeger and I want my contributions to be good... Just in case you are interested: I did a windows script with scriptaculous some weeks ago, check it out under http://www.uni-weimar.de/~scheffl2/wordpress/?p=2

RE: [Rails-spinoffs] resizable window/div - some help needed

2006-01-16 Thread Ryan Gahl
Sorry! Last one on this subject... it's just a cool script by M. Jaeger and I want my contributions to be good... In my changes, I think the "onDrag" handler should be changed to "onStart"... that way it's not quite so processing-heavy (it will only be fired once per resize operation vs. with ever

RE: [Rails-spinoffs] resizable window/div - some help needed

2006-01-16 Thread Ryan Gahl
Also... you'll need to do something to constrain the draggable so you can't move it above the top of the window, etc... I would (and might eventually) do it all, but I'm quite busy with work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Gahl Sent:

RE: [Rails-spinoffs] resizable window/div - some help needed

2006-01-16 Thread Ryan Gahl
Got it... I simply used a draggable with an "onDrag" observer. Do a side by side comparison to see what I changed. You may want to try to tweak it just a bit as the image positioning gets a pixel or 2 off centered after the drag is done. You should be able to get that fixed easily just by setting t

Re: [Rails-spinoffs] resizable window/div - some help needed

2006-01-16 Thread Marco M. Jaeger
Thank you Matthias, I'll give it a try - still wondering why it's basically working in Firefox? From: Matthias Platzer <[EMAIL PROTECTED]> Reply-To: rails-spinoffs@lists.rubyonrails.org To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs] resizable window/div - some help neede

Re: [Rails-spinoffs] resizable window/div - some help needed

2006-01-16 Thread Matthias Platzer
Hi Marco, the problem is, that the image that you use as an indicator for the resize effect starts to drag. so i found two possible solutions: 1) stop the drag event: line 96ff: if (this.options.resize) { this.resizeHandle.onmousedown = this.initResize.bindAsEventListener(this); this

Re: [Rails-spinoffs] Preventing bubble

2006-01-16 Thread Kenneth Lee
Not to thread hijack, but wondering if anyone else noticed this w/ Behavior? If the page is still loading and you trigger an action, the Behavior may not trigger. Is this a problem shared by all Behavior users, or something I did wrong? ___ Rails-spinof

Re: [Rails-spinoffs] how di i stop a running effect?

2006-01-16 Thread Matthias Platzer
i also thought about that solution. but i would be happier, if i can find all running effects for an element and stop them, but your proposed solution might do it as well. ?is there any opinion on this list about the problem with opposite effects not stopping (toggle) -> i would rather like t

Re: [Rails-spinoffs] how di i stop a running effect?

2006-01-16 Thread kiplantt
Initialize your function with: this._effect = new Effect... And then use this to cancel it: effect.cancel() Matthias Platzer a écrit : Hi, i need some help with Effect.Appear/Effect.Fade i would like fade in and out an element on hovering an element(-> tooltip behavior), but when i'm using

[Rails-spinoffs] Autocompleter.destroy?

2006-01-16 Thread Dave Strus
Howdy. Has anyone looked into implementing an Autocompleter.destroy( element ) similar to Sortable.destroy( element )? I've searched the docs and the mailing list archives, and I've seen a couple of other people ask, but I haven't found a solution. Thanks, Dave

[Rails-spinoffs] how di i stop a running effect?

2006-01-16 Thread Matthias Platzer
Hi, i need some help with Effect.Appear/Effect.Fade i would like fade in and out an element on hovering an element(-> tooltip behavior), but when i'm using Effect.Appear/Effect.Fade both effects will continue to play and overlap each other, resulting in unpredictable behavior. onmouseout=

Re: [Rails-spinoffs] Preventing bubble

2006-01-16 Thread Bill Moseley
On Mon, Jan 16, 2006 at 01:43:35PM -0600, Ryan Gahl wrote: > What I mean is... don't use an , just put text in the is that's > truely the element you want to handle clicks for. I want the fallback if there's no javascript, though. -- Bill Moseley [EMAIL PROTECTED] _

Re: [Rails-spinoffs] Preventing bubble

2006-01-16 Thread Bill Moseley
On Mon, Jan 16, 2006 at 12:18:14PM -0700, Gregory Hill wrote: > Not sure if it'll do what you want, but see my changes below: I wasn't sure with your line wrapping, but this is what I tried now, but it's still doing double requests: Sorry for the long lines: http://bumby:3000/admin/location?o=

RE: [Rails-spinoffs] Preventing bubble

2006-01-16 Thread Ryan Gahl
What I mean is... don't use an , just put text in the is that's truely the element you want to handle clicks for. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Gahl Sent: Monday, January 16, 2006 1:42 PM To: rails-spinoffs@lists.rubyonrails.org Sub

RE: [Rails-spinoffs] Preventing bubble

2006-01-16 Thread Ryan Gahl
Just don't put a click handler on the -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregory Hill Sent: Monday, January 16, 2006 1:18 PM To: rails-spinoffs@lists.rubyonrails.org Subject: RE: [Rails-spinoffs] Preventing bubble Not sure if it'll do what y

Re: [Rails-spinoffs] Behaviour.js and prototype Event.pointerX

2006-01-16 Thread Alex Duffield
That is what I am doing now for a workaround, but I quite like the Behaviour.js method and in some cases it would be good to be able to capture the X Y of the pointer.  I guess I would have to write my own function to get XY...  __

RE: [Rails-spinoffs] Preventing bubble

2006-01-16 Thread Gregory Hill
Not sure if it'll do what you want, but see my changes below: > var myrules = { > // Disable bubble up to the that might have an onclick event > '#matrix a' : function(e){ > e.onclick = function(e){ Event.stop(e);

[Rails-spinoffs] Preventing bubble

2006-01-16 Thread Bill Moseley
I'm trying to prevent double ajax requests when I have nested onclick handlers. I have a table with clickable column headings (for sorting by that column). I have onclick handlers on both the and the link so that clicking anywhere on the table heading should work. http://foo?sort=foo';">

Re: [Rails-spinoffs] Behaviour.js and prototype Event.pointerX

2006-01-16 Thread Nicolas
you should try to use Event.observe(elt, "click", func)when func is a function that take "event" as first argumentif you don't want, should can try to do something like :var myrules = { 'body' : function(){ el.> alert(Event.pointerX (event || window.event)); } }};On 1/16/06, Alex Duffield <[E

[Rails-spinoffs] Behaviour.js and prototype Event.pointerX

2006-01-16 Thread Alex Duffield
is there a way to take advantage of prototypes Event.pointerX when using Behaviour to manage my events?somthing like.. var myrules = { 'body' : function(el){ el.> alert(Event.pointerX(e)); } }};thanks __ Alex Duffield . Princip

RE: [Rails-spinoffs] anyone interested in an Effect.Slideshow?

2006-01-16 Thread Gregory Hill
> Here are my two cents: What I really don't like with most of the > slideshows online is that it does not preload the next images. So, > everytime I click on "next" image, it takes a while. I would like to see > a feature that "buffers" the next 3 (or "X") and the last 3 screens so > they are in

[Rails-spinoffs] resizable window/div - some help needed

2006-01-16 Thread Marco M. Jaeger
Hello   I have been working on a little window dialog script – please see http://net4visions.com/dev/window/window.htm for a preview. the necessary files can be downloaded here: http://net4visions.com/dev/window/window.zip .I’ve included just the basics – please change the path in the win

RE: [Rails-spinoffs] Really Slow Effects

2006-01-16 Thread Ryan Gahl
The normal dragging is very slow and glitchy, but the only other effect I use so far is BlindDown and Up, which work ok. I went to the script.aculo.us SVN trunk and grabbed the draganddrop from the test directory (so it's beyond v. 1.5.1), so I could use the drag-scrolling effect. Lo and behold, wh

[Rails-spinoffs] Slider Problems

2006-01-16 Thread Morus Walter
Hi, I have two minor problems with scriptaculous sliders: a) when a list of allowed values is provided and that list contains 0 the value 0 is not usable This can be seen in the slider_test.html functional tests, slider 5 (multiple handles and predefined values), which allows values