Displaying 20 results from an estimated 1000 matches similar to: "RE: manipulate <td>''s andtheircontentbygrabbingtheir classNames"
2006 Mar 01
0
RE: manipulate <td>''s and theircontentbygrabbingtheir classNames
> Ahh... Haven''t run up against that yet. Although I also completely
> disregard Gecko/Safari and other totally crappy, useless, browsers
:-).
>
> </cynicism>
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 anything. I was testing some code the other day,
2006 Mar 01
3
RE: manipulate <td>''s and their contentbygrabbingtheir classNames
Ahh... Haven''t run up against that yet. Although I also completely
disregard Gecko/Safari and other totally crappy, useless, browsers :-).
</cynicism>
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of
Gregory Hill
Sent:
2006 Mar 01
0
RE: manipulate <td>''s and their content by grabbingtheir classNames
Or...
var myTDs = new Array();
$A($("main").childNodes).each(function(tr)
{
$A(tr.childNodes).each(function(td)
{
myTDs.push(td);
});
});
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of
troels knak-nielsen
Sent: Wednesday, March
2006 Mar 01
1
manipulate <td>''s and their content by grabbing their classNames
Hi Guys,
What''s the best way to grab all <td>''s in a particular table and manipulate them?
Here''s the problem definition -
I have a table that has ''n'' <tr>''s.
Each <tr> has couple of <td>''s and the first <td> has an image.
By default, each <td> has a ''x'' class and image src
2006 Mar 01
2
RE: manipulate <td>''s and their content bygrabbingtheir classNames
> 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 nodes are inserted randomly by the
gecko engine (and maybe others).
Greg
2006 Mar 01
4
rant on browser makers (was something about updating TD''s)
> 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 height
should include padding and borders.
2004 Aug 06
2
[Re: icecast2 ??]
Behold, gtgbr@gmx.net hath decreed:
>
> Well, I think saying that Xiph.org doesn't care about its users at all
> is too harsh. On the other hand, there's some truth in this, and I
> highly appreciate it. If you want to stick to MP3, Icecast1 is for you -
> nobody forces you to use it (or not), and you're also free to use
> something else. Xiph.org, i.e. Jack
2005 Feb 11
1
Re: Codec Issue on IAX trunk? (Solved)
Hi Rich -
> Personal opinion (and everyone has one) is the problem is a little
> deeper then just a codec. Try 'iax2 debug', place a call, and look
> through the early part of that trace. Are IP's right, etc?
>
> I believe the native 0 is simply suggesting there is no match when
> negotiating the codec. The "4" is ulaw (show codecs).
>
> If you can,
2004 Aug 06
4
[Re: icecast2 ??]
Behold, gtgbr@gmx.net hath decreed:
> Aaron Gaudio wrote:
> > the current stable version. Those who are willing to give up the
> > features not yet implemented in icecast2 in order to stream vorbis, can
> > use the devel version. Those who don't need to stream vorbis can
> > continue using the stable version. There is not a good rationality for
>
> Icecast2 is
2006 Nov 04
0
PostgreSQL ActiveRecord default localized date assigned in test env
Hi,
today I''ve configured an XUbuntu as workstation (ok I know...).
Using the following packages to make Rails interact with Postgres:
ii libpgsql-ruby1.8 0.7.1-7
ii postgresql-8.1 8.1.4-0ubuntu1
using rails 1.1.6 from gems.
The problem came up just on the testing environment, when I save a
model I get a:
ActiveRecord::StatementInvalid:
2016 Jan 27
1
[v3,11/41] mips: reuse asm-generic/barrier.h
On Tue, Jan 26, 2016 at 02:33:40PM -0800, Linus Torvalds wrote:
> If it turns out that some architecture does actually need a barrier
> between a read and a dependent write, then that will mean that
>
> (a) we'll have to make up a _new_ barrier, because
> "smp_read_barrier_depends()" is not that barrier. We'll presumably
> then have to make that new barrier
2016 Jan 27
1
[v3,11/41] mips: reuse asm-generic/barrier.h
On Tue, Jan 26, 2016 at 02:33:40PM -0800, Linus Torvalds wrote:
> If it turns out that some architecture does actually need a barrier
> between a read and a dependent write, then that will mean that
>
> (a) we'll have to make up a _new_ barrier, because
> "smp_read_barrier_depends()" is not that barrier. We'll presumably
> then have to make that new barrier
2006 Feb 09
3
Draggables and Droppable performance (tips)
Hi all. I have some performance tips to share. I had been having
problems with the overall performance of the drag/drop objects. This is
due largely to the fact that my project really pushes the limits
(potentially thousands of draggables and hundreds of droppables in the
document at a time, although that is the extreme case).
Something I discovered is that the performance of dragging goes WAY
2005 Oct 18
0
Munging the class attribute: Benchmarks anyone?
In prototype/scriptaculous there are currently two different approaches
to munging the class attribute of HTML elements. Scriptaculous has
Element.Class which recently moved from util.js into effects.js.
Prototype has Element.ClassNames and several convenience functions
around it.
In the past I''ve grown fond of Element.Class, but I''m perfectly willing
to use
2006 Feb 05
2
in_place_editor is missing load_text_url option
Ajax.InPlaceEditor supports a loadTextURL option. If you look at the
InPlaceEditor page
(http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor)
you''ll see an excellent example in Rails of how you might use that
option textilize in place edited stuff.
Unfortunately, the example doesn''t use the nifty Rails in_place_editor
method because
2020 Jul 19
0
Sieve and handling multiple addresses
> On 19 Jul 2020, at 04:58, @lbutlr <kremels at kreme.com> wrote:
[stuff]
I have this:
if address :is :localpart ["to", "cc"] "kremels" {
if allof (address :count "ge" :comperator "i;ascii-numeric" ["to", "cc"] ["2"],
not exists ["list-id","mailing-list",
2008 Jan 03
0
daemon use-case questions
Hi all,
I''m trying to replace an OpenWFEru/daemons-based infrastructure, with the
goal being to be able to communicate with the workers to a) monitor current
state and to b) initiate new actions.
The short version on why these are daemons and not transient workers (that
start up and shut down when they''re done with a particular task) is because
they''re subscribing to
2005 Feb 05
0
Window Protection Fault With Samba 3.0.10
Hey guys, I'm trying to get Samba running to share some stuff out over my
network. My main box is running gentoo, but I've got two more machines that
run windows (for work, ugh, I hate it, don't think I'm a microsoft lover)
Anyhoo. I got it setup and got cups installed and setup my smb.conf
(included below). I can connect to the shares and copy/rename/move/etc,
works
2008 Nov 22
1
kbs-CentOS-Testing gnucash: status for CentOS 5?
I decided I would like to try GnuCash on my 5.x desktop system. I did an
available list and got this
gnucash.i386 2.2.4-1.el5.kb kbs-CentOS-Testi
gnucash-docs.noarch 2.2.0-2.el5.kb kbs-CentOS-Testi
Did a
yum --enablerepo=kbs-CentOS-Testing install gnucash\*
That produced
Package gnucash-docs-2.2.0-2.el5.kb.noarch.rpm is not signed
I figured I had forgot to
2007 May 20
2
Get first class name
I have a situation where I need to get the first class name of an
element.
Element.ClassNames() returns an object not an array...
Object.values() will turn it into an array, but the API Docs say that
the order of the resulting array is browser-dependent.. So for my use
is no good...
So I am using:
el.className.split(" ").first();
Can any one see any problems that I might