Thanks for your reponses Guys, especially Ryan & troels.
Like I mentioned earlier, what do you think about using the $$ function?
This time I'll take an example -
$$('table#main td.active').each(updateClassName(elm, newClass))
Find all elements with class "active", all inside the with id
"m
Ryan, please send that code my way if you dont mind... I am also looking for a good calendar WidgetThanks. __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com On 27-Feb-06, at 1:48 PM, Ryan Gah
Amen and preach on!My philosophy has always been "develop for FF, fix IE". But if I could pick one thing that's the stupidest thing implemented in FF, its exactly that box problem. Ever try making a div fill the top 30 pixels of the window and have a width of 100%? ARGH! Its next to impossible to g
Patch to allow generic Ajax.Autocompleter-style textbox watchers.
Forwarded for "[Rails-spinoffs] Delayed input posting"
-Rob
--- Begin Message ---
Hey. Below is a patch to allow generic Ajax.Autocompleters. Basically
it's for people who wanna be able to watch an input for changes, but
don't wan
What you need is exactly the patch that I posted to this mailling list a month ago, and got no
comments on. I can find you the patch but it won't make a lot of sense to you, I'd ask the dev team
to put my patch in to the CVS, then get a copy of it.
I'll re-send the patch after this E-mail
-Rob
_javascript_ has a handy function for doing just this: setTimoutAnyplace that you'd normall execute a function:if (things_are_in_order){ run_my_function();}you can just delay that a bit:if (things_are_in_order){
setTimeout("run_my_function()", 1000);}notice that the name of the function you w
Dear all,
I'd like to post input field a short delay after last key press (similar
like a delay in autocomplete field). Is there anything already done
somewhere, maybe some kind of a streched-down autocomplete field just
for such purpose? If no, have anyone an idea how can I do that (as a not
> Oh is Gecko == Mozilla? Oh well, can't keep them straight. As far as
I'm
> concerned there are only 2 browsers worth developing for, IE6 and FF >
> 1.07.
Remove IE 6 and I agree, hahahaha. Actually, I hate Mozilla's box model
(I know it's the w3c recommended one, but it's flawed. Width and hei
Oh is Gecko == Mozilla? Oh well, can't keep them straight. As far as I'm
concerned there are only 2 browsers worth developing for, IE6 and FF >
1.07.
Yea.. Stupid browser makers. Wish we could pull them all into the town
square for a good flogging.
-Original Message-
From: [EMAIL PROTEC
> Ahh... Haven't run up against that yet. Although I also completely
> disregard Gecko/Safari and other totally crappy, useless, browsers
:-).
>
>
Gecko = Mozilla/Firefox, or was I misremembering the name? Anyhoo,
Firefox is where I've seen the problem. I wish they'd just be
consistent on anyt
This is my first post to this mailing list so I hope its in
the right location.I’m trying to use a list of draggables (not sortable) which
I can drag into a droppable div. The goal is to create a new item, not to
move from one list to the other.
When a new draggable is dropped, a new d
> Object.extend(td, TDControllerClass); // added this just to show how
to attach behaviors like this
Sorry, should be..
Object.extend(td, TDControllerClass.prototype);
The information transmitted in this electronic mail is intended only for the
person or entity to which it is addressed and may c
Or...
var myTDs = new Array();
$A($("main").getElementsByTagName("tr")).each(function(tr)
{
$A(tr.getElementsByTagName("td").each(function(td)
{
Object.extend(td, TDControllerClass); // added this just
to show how to attach behaviors like this
myTDs.
Ahh... Haven't run up against that yet. Although I also completely
disregard Gecko/Safari and other totally crappy, useless, browsers :-).
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gregory Hill
Sent: Wednesday, March 01, 2006 1:47 PM
To: rails-s
I apologize... Didn't answer the whole question... Yes, for this type of
thing I use a separate behavior class (similar to troels') controller.
You can make the td's extend this controller class, and one difference I
make is that I never put javascript handlers in the markup...
But as far as grabb
> Or...
>
> var myTDs = new Array();
> $A($("main").childNodes).each(function(tr)
> {
> $A(tr.childNodes).each(function(td)
> {
> myTDs.push(td);
> });
> });
You'll probably want to make sure the tr elements are TR tags and the
same for the td's, as empty text node
Or...
var myTDs = new Array();
$A($("main").childNodes).each(function(tr)
{
$A(tr.childNodes).each(function(td)
{
myTDs.push(td);
});
});
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
troels knak-nielsen
Sent: We
You could make a controller-object, which keeps a pointer to the
selected index, rather than traversing through the dom each time you
change the active cell.
Something along :
MyController = {
selected : null,
select : function(elm) {
if (this.selected) {
this.selected
Title: RE: [Rails-spinoffs] EventPublisher (contribution)
Hi Guys,
What's the best way to grab all
's in a particular table and manipulate them?
Here's the problem definition
-
I have a table that has 'n'
's.
Each has couple of 's
and the first has an image.
By default, each ha
Well, then, maybe future projects. :-)
The information transmitted in this electronic mail is intended only for the
person or entity to which it is addressed and may contain confidential,
proprietary, and/or privileged material. Any review, retransmission,
dissemination or other use of, or takin
> This one is called EventPublisher.
Cool, very useful. Although I won't remodel my current project to use it :-)
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
On 3/1/06, chuck clark <[EMAIL PROTECTED]> wrote:
>postBody: element.name + '=' + escape(element.value),
Use encodeURIComponent(), not escape().
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicolas Terray wrote:
> Is this the behaviour you want ?
YES! Thats it... thanks a lot, Nicolas. And if you don't need the list
bullets (I won't...), this works even in IE (sigh...):
- --snip--
ul {
list-style-type: none;
padding:
On 3/1/06, Nicolas Terray <[EMAIL PROTECTED]> wrote:
> With an unmodified version(1.5.3) of scriptaculous (i.e. without the
> link provided before) I've just made this :
> --8<
[snip]
> --8<
> Is this the behaviour you want ?
>
Of course :(, it doesn't work well 'as is' on
On 3/1/06, Frank Schummertz <[EMAIL PROTECTED]> wrote:
> It even works too good - my categories/subcategories do not change their
> levels. I have a two-level tree only at the moment (ok, its not really a
> tree, but this might change in the future). Can I avoid this behaviour?
>
With an unmodifie
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas Fuchs wrote:
> I just have to "secure" some time for some reviewing 'n' stuff.
> So, please be patient with me. :)
No problem :-)
As long as I know that it will be integrated (maybe even with a solution
for my problem as well) I can start usi
Definitely.
I just have to "secure" some time for some reviewing 'n' stuff.
So, please be patient with me. :)
-Thomas
Am 01.03.2006 um 14:23 schrieb Frank Schummertz:
Sammi did a real good job here and I hope Thomas will consider
incorporating this patch into the next release.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicolas Terray wrote:
> There was a little debate on this point last month. The start is here :
> http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2006-February/subject.html#2632
Besides the fact that 50% of the discussion is about text indentin
On 3/1/06, Frank Schummertz <[EMAIL PROTECTED]> wrote:
> And it seems that I have to change prototype.js and scriptaculous files
> too which I would like to avoid if possible.
>
> Is there chance to get this incorporated in both libs as standard
> functionality?
>
There was a little debate on this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicolas Terray wrote:
> Please have a look at this :
> http://www.oriontransfer.co.nz/Sortable%20List%20v2.zip
> Does it feeds your needs ?
Yes, it works, thanks for the link (I did hope that I wasn't the only
one with this problem...)
It even works
Hello, and welcome !
Please have a look at this :
http://www.oriontransfer.co.nz/Sortable%20List%20v2.zip
Does it feeds your needs ?
On 3/1/06, Frank Schummertz <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi *,
>
> I am new to this list, so please excuse me if
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi *,
I am new to this list, so please excuse me if this has been covered
before (unfortunately the search function at
http://www.ruby-forum.com/forum/10 is disabled at the moment).
If yes, then a pointer to a solution would be great.
I want to creat
Thank you a lot for explanations ! 8)
On 2/28/06, Ryan Gahl <[EMAIL PROTECTED]> wrote:
>
> I got a lot of great help yesterday on my calendar questions. Makes me want
> to post another contribution :-)
>
> This one is called EventPublisher. This was packaged also in Marco Jaeger's
> recent post wi
33 matches
Mail list logo