I’d love to see your code snippet
that does that ‘cause AFAIK it’s technically impossible in any
browser on the market.
Greg
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Ly
Sent: Thursday, August 17, 2006
12:34 PM
To: rails-spinoffs@lists.rubyonrails
I'm going to go against the grain here and say I hate it when people use
# as the link. It makes the browser jump to the top of the page, and it
adds a page to the history. Maybe most people prefer that, but I'm not
one of them.
Greg
> -Original Message-
> From: [EMAIL PROTECTED]
[mailt
I agree with Ryan, uniq saves you two
letters and makes you cringe every time you write or read it. Ruby should
seriously fix that.
Greg
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan Gahl
Sent: Monday, August 14, 2006 8:08
AM
To: rails-spinoffs@lists
Title: Message
I’ve always been able to get the documentElement
in IE, but I’ve always used text/xml, so maybe that is the key.
Greg
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bauser, Joseph (Joe)
Sent: Monday, August 14, 2006 8:25
AM
To: rails-spinoffs
> This would work, but the items that I want to delete also contain
> textarea, so form elements that I do not want to be submitted. So
> somehow i have to completely removed those elements from the DOM.
Make the droppable be outside the form element, it will not get
submitted then.
Greg
I’m wondering if there is some
confusion here. It didn’t seem to me he was advocating static typing in
_javascript_, just automatic type-checking when you need it. Maybe I misread
it. I’m all for dynamic typing. I’m also all for easy, automatic
type-constraining when needed (to turn sil
inspection?
Sam
-Original Message-
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Hill, Greg
Sent: Friday, July 28, 2006 1:57
PM
To:
rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] XML
Question
Well, I’m sure xPath is a lot more
flexible, but holy cr
Title: Message
Well, I’m sure xPath is a lot more
flexible, but holy crap is that a lot of code. As I said, mine is limited, but
serves my purposes very well. And it’s generic enough for anyone to use,
although it only handles node types 1 to 3. Anything beyond that will be
ignored (or p
Title: Message
No, it’s available. You might
have to say responseXML.documentElement (not sure, but I always do and it
works). Oh, and you could try changing ‘get’ to ‘post’.
I’ve always had moderate to bad success in IE with ‘GET’
requests on Ajax.
Even with no arguments, sometimes IE
> Yes, it is used to catch programming errors by introducing a little
type
> safety. How many times have you written this in your project:
>
> function showMenu(obj) {
> if(obj instanceof MenuItem) {
> obj.getNode().style.visibility = "visible";
> } else throw new Error("Invalid parameter!
If you're assigning it via javascript, it should be htmlFor
(label.htmlFor = 'id'). Not sure how builder.node works, but there
might need to be a special case added for that one.
Greg
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:rails-spinoffs-
> [EMAIL PROTECTED] On Behalf Of
Not sure why that breaks; nothing is screaming at me. However, you may
just want to use Element.setOpacity if you don't want it to be a fade
effect. It just immediately sets the opacity to the desired setting. I
believe this is how you'd write it:
Element.setOpacity(aObjectnames[i], 0);
Greg
I don't have a solution, but I have seen that in IE as well. I thought
it was kind of cool-looking, so I didn't bother to try to figure it out.
Another WTF? question is why in Effect.BlindDown does the text scroll
down after the element in some cases? That one boggles me.
http://www.librariusme
Well, in the catch it's looking for a tbody or tr, so I'm guessing that
trying to insertAdjacentHTML to a tbody or tr fails in IE and Opera.
Maybe it's only certain versions.
Greg
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:rails-spinoffs-
> [EMAIL PROTECTED] On Behalf Of Peter
It looked cool (I installed it and toyed
around with it a little), but I can’t imagine having to switch to it
whenever I want to work on _javascript_. Would be better, IMO, to make plugins
for existing editors that do the same stuff. I could use one for Komodo J As it is, unless I need
t
I’d reckon less than half the list
are rails developers, so no worries. If I had to guess, without having
concrete numbers, I’d say YUI is likely faster in general. Procedural
programming is usually faster than object-oriented programming. That said,
Prototype is a lot more flexible and
> Easy enough to do with jsmin. I have a bash script that will create
> a "minified" version of each js file, which takes about 20% off of
> each file, on average.
This works well? Last I heard, the 'minifiers' broke on prototype
because of the lack of block formatting in various places. If tha
> Sounds like a vote to remove the prototype dependency from
> scriptaculous. I'm in favor for all sorts of reasons.
I'm not. Most of the appeal of scriptaculous to me is the prototype
codebase (I use the prototype functions a lot more than the effects).
> A clean separation obviates any the-ow
> What is the story with Sam? I don't remember seeing a post from him in
> the last year. Sometimes I wonder if his general absence partly due
> to the JavaScript community's fervent dislike of his Prototype.js
> library.
I like his library, I just wish he'd test in IE when he makes major
changes
>now, one thing js won't let you do is set the value of the file input
Actually, there's a proof-of-concept 'security' issue about that. What
you do is have a text input and add an onkeydown event that focuses the
file input and an onkeyup that re-focuses the text input. Then you
filter the inpu
I seem to recall the Effect.Appear setting
the final opacity to 0.99 to avoid some bug on some browser; anyone remember
the specifics? Seems like we should probably just conditionally check for the
broken browser and set to 0.99 for only that one, otherwise leave it at 1.0,
but I know I do
Hey,
I switched jobs, so I haven’t been up on
the list for a couple weeks (used to be [EMAIL PROTECTED]). Last I heard
Thomas was wanting to nail down the next release, is that still in the works?
Any area I can give some help? My new job uses the YUI Toolkit, but they just
22 matches
Mail list logo