Hi Guys,
I am having a problem in IE (tested versions 6 and 7 beta) with sortable divs in a container div with overflow set to scroll. It looks like all of the divs have their position set to relative after the sortable initializes, and also after being dragged. When a div (any element?) has
Dunno if this is the forum for it but I've had a need for a slight
modification to Try.these() from prototype.js. In my situation I
wanted to make sure that as many functions ran as possible instead of
just the first successful.
It's useful in situations where you have a lot of if(object) { /* do
I updated prototype to 1.4.0 and now your technique works just fine.
I'm using IE 6.
Todd Ross wrote:
>> Seems like my extra parameter was not bound to the call.
>> I'm currently using Prototype 1.3.1, perhaps i need the latest version?
>
> It's supported as of version 1.4.0; maybe earlier, I don
On 4/10/06, Gregory Hill <[EMAIL PROTECTED]> wrote:
> Ah, well, that's good to know then. I'd always wanted to do it this
> way, but when I last looked into it, it wasn't yet supported. That was
> a while ago, though. Thanks for the heads up.
I'm partial to this technique because I think it re
On 4/10/06, Todd Ross <[EMAIL PROTECTED]> wrote:
> swap theElement and theResponse in your function
> NamedActionResponseHandler definition. Your optionally bind()'ed
> parameters are passed first.
You are right, got that mixed up.
Although
> 'theResponse' as the returned xml still
puzzles me.
> Gregory, bind() does support this. It's my preferred technique.
Ah, well, that's good to know then. I'd always wanted to do it this
way, but when I last looked into it, it wasn't yet supported. That was
a while ago, though. Thanks for the heads up.
Greg
Ok, i tried this technique again and got it to work, not sure what i did
different this time (i think i was calling 'theResponse' just 'response'
when i first tried it, but not sure why that would matter).
In any event, its really nice to understand the multiple ways to
accomplish this, thanks.
On 4/10/06, Erin Brewer <[EMAIL PROTECTED]> wrote:
> Sorry, i should have clarified, i actually had the params for
> NamedActionResponseHandler specified in the opposite order originally,
> but the 2nd argument was a undefined object and the first argument when
> i looked inside it was the response
Sorry, i should have clarified, i actually had the params for
NamedActionResponseHandler specified in the opposite order originally,
but the 2nd argument was a undefined object and the first argument when
i looked inside it was the response xml from ajax.
Seems like my extra parameter was not bo
On 4/10/06, Erin Brewer <[EMAIL PROTECTED]> wrote:
> I like the technique you describe here, but when i try to reference
> 'theElement' in NamedActionResponseHandler() it is not defined.
>
> I changed the onComplete def to:
> onComplete: NamedActionResponseHandler.bind(this, theElement)
>
> And ch
That technique will not work for this case.
By default, the response element is passed in to the onComplete handler
as the first argument. Basically, all 'bind' does it let you bind the
'this' element to the function, so when you reference this.whatever in
the function, the 'this' refers to 'this
I like the technique you describe here, but when i try to reference
'theElement' in NamedActionResponseHandler() it is not defined.
I changed the onComplete def to:
onComplete: NamedActionResponseHandler.bind(this, theElement)
And changed the function to
function NamedActionResponseHandler(the
Yes, thats exactly what i needed apparently ;-)
I had tried to do it as you speced out below, but i got an undefined
object js error so i had assumed due to scoping issues i couldn't quite
do it like this.
The other response to my post from Michael Peters (which had me to a
closure in the actua
On 4/10/06, Michael Peters <[EMAIL PROTECTED]> wrote:
> change this function to return another function. Something like this:
Yes, this is also what .bind() does to form a closure without having
to change NamedActionResponseHandler
> And then call it like this:
> onComplete: NamedActionResponse
Title: Message
As far as I know, no. I ran into the
problem when trying to make the drag-drop scroll the window whenever a part of
the dragged element moved beyond the edge of the window, but in IE, the height
and width were both 0 for the dragged element no matter what I did to it. So,
I
Maybe I can set an element inside that table cell to use a relative position. On 4/10/06, SPENDLOVE, Matt, GBM <
[EMAIL PROTECTED]> wrote:
Does it
matter if you set the dimensions with CSS ?
Matt
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On
Hello Everyone,
I am don't know if this is known issue. AJAX autocomplete and Inplace Editor
Functional test examples are not working in FireFox 1.5.1.
Same files are running perfectly in IE 6.
error show at line
new Ajax.Autocompleter('ac1','ac1update','_autocomplete_result.html');
error is "
Title: Message
Does it
matter if you set the dimensions with CSS ?
Matt
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gregory HillSent: 10 April 2006 18:51To:
rails-spinoffs@lists.rubyonrails.orgSubject: RE: [Rails-spinoffs]
Ele
I’m not sure if this applies to your
situation or not, but IE will not return dimensions for elements with position
= absolute. In fact, I’m not sure it even does it for position =
relative. Or maybe that’s only in certain circumstances.
Greg
From: [EMAIL PROTECTED]
[mai
Hey all,I'm not sure if IE can support this, but I'm trying to get the dimensions of an element that has percentages for height/width. In the example code below, I'm trying to get the dimensions for the 'MyCell' element. Firefox supports
Element.getDimensions('MyCell'), but IE returns 0 for the
This is really cool, Thanks.
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Erin Brewer wrote:
> Cool, that works nicely.
>
> I've never actually come across the term 'closure' before in JS.
They appear in almost every dynamic language that supports lexical
scoping (that I know of). Wikipedia has a nice description:
Closure lexical variables differ from global varia
Cool, that works nicely.
I've never actually come across the term 'closure' before in JS. Did a
quick search and read a couple things (still don't quite understand
exactly how that works to get the response reference?), but from my
reading, should i do anything after the clousre to avoid memory
Hi,
I wanted to know if it's possible to integrate FCKEditor with the
inplace editor, and is it possible to have comboboxes too? If yes,
could you give me some quick directions? Thanks a real lot,
Blaise Bernier
___
Rails-spinoffs mailing list
Ra
You need a closure.
onComplete: function (response) { NamedActionResponseHandler(theElement,
response); }
Is that what you mean?
Greg
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:rails-spinoffs-
> [EMAIL PROTECTED] On Behalf Of Erin Brewer
> Sent: Monday, April 10, 2006 10:18
Erin Brewer wrote:
[snip]
> Is there no way to keep my current context when the ajax onComplete
> function is triggered?
The easiest way is to just use a closure.
> var NamedActionElement;
>
> function NamedActionHandler(theElement)
> {
> //set our global reference to the element so we
Sorry if this has been covered before, i can't imagine it hasn't, but
i've been unable to find any information on it.
Can i pass my own parameters to the onComplete function specified by
Ajax.Request ?
My basic setup is i have an html element triggering an event (the ajax
update).
I have addit
Great, thanks very much !On 4/10/06, Kazuki Ohta <[EMAIL PROTECTED]> wrote:
Hi, Roberto.Please comment out line p.61 to p.63./*this.einfo.container.style.width = Math.max(this.minwidth,this.einfo.w + e.clientX - this.einfo.x) + 'px';this.einfo.handler.style.width
= this.einfo.container.st
Hi, Roberto.
Please comment out line p.61 to p.63.
/*
this.einfo.container.style.width = Math.max(this.minwidth,
this.einfo.w + e.clientX - this.einfo.x) + 'px';
this.einfo.handler.style.width = this.einfo.container.style.width;
this.einfo.wrapper.style.width = this.einfo.container.
Kazuki, does there exist a simple way of limiting just to vertical resizing ? regards-- Roberto Saccon - http://rsaccon.com
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
ok, thanks, must have benn a mess with my setup. Now I have the zip anyway.On 4/10/06, Karsten Eichentopf <
[EMAIL PROTECTED]> wrote:Roberto Saccon schrieb:> Similar problem here. What is this *.lzh extension ? Never heared.
> Even 7-zip can't open it.7-zip can unpack this. :)---Supported formats:
Roberto Saccon schrieb:
Similar problem here. What is this *.lzh extension ? Never heared.
Even 7-zip can't open it.
7-zip can unpack this. :)
---
Supported formats:
* Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR
* Unpacking only: RAR, CAB, ARJ, LZH, CHM, Z, CPIO, RPM and DEB
---
Be
Kazuki Ohta wrote:
in zip format.
http://221.112.61.214/~kzk/others/mixi/resizable.zip
Hi, Maninder.
Please try this.
http://221.112.61.214/~kzk/others/mixi/resizable.lzh
Maninder, Singh wrote:
Thanks Kazuki Ohta.
Unfortunately, the attachment got blocked by my mail servers.
Could you s
Hi, Maninder.
Please try this.
http://221.112.61.214/~kzk/others/mixi/resizable.lzh
Maninder, Singh wrote:
Thanks Kazuki Ohta.
Unfortunately, the attachment got blocked by my mail servers.
Could you send that as a zip file or something?
Let me know.
Thanks.
___
Similar problem here. What is this *.lzh extension ? Never heared. Even 7-zip can't open it. -- Roberto Saccon - http://rsaccon.com
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-sp
Thanks Kazuki Ohta.
Unfortunately, the attachment got blocked by my mail servers.
Could you send that as a zip file or something?
Let me know.
Thanks.
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/ma
Hi, Maninder.
1. Is this used to resize only textareas or can we use them on divs too?
Yes, Yes! Please open index.html and change to .
But the contents of divs are not currently resized.
2. Would all textareas on a page be resizable by default? Or can we
selectively control by passing id's?
Nice!
But,
would you mind providing a couple of lines on the
functionality?
1. Is
this used to resize only textareas or can we use them on divs
too?
2.
Would all textareas on a page be resizable by default? Or can we selectively
control by passing id's?
3.
Would be great if to see
That is awesome.AneeshaOn 4/10/06, Kazuki Ohta <[EMAIL PROTECTED]> wrote:
Hi, All.I've developed the small _javascript_ library to make the widgets"resizable". Please try attached file or following URLURL:
http://221.112.61.214/~kzk/others/mixi/resizer.htmlNow I wish script.aculo.us developers to
Hi, All.
I've developed the small javascript library to make the widgets
"resizable". Please try attached file or following URL
URL: http://221.112.61.214/~kzk/others/mixi/resizer.html
Now I wish script.aculo.us developers to merge this into the
"script.aculo.us". Is there any chance of merge? I
On 4/10/06, Daniel Elmore <[EMAIL PROTECTED]> wrote:
> Could someone please tell me why this wouldn't be working???
>
> new Effect.Squish('APhoto', {duration:3.0} );
>
>
Because your extra parameter are not taken into account. If you look
at the effect.js code, you will see that Effect.Squish does
Could someone please tell me why this wouldn't be working???
new Effect.Squish('APhoto', {duration:3.0} );
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas
Fuchs
Sent: Sunday, April 09, 2006 3:05 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject
I did it through coldfusion by calling Java classes. Java takes care of all
the temp directory checking for you by using the Commons file upload
libraries.
Here's a good article to get started:
http://blogs.missiondata.com/?p=28
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
43 matches
Mail list logo