Re: [Rails-spinoffs] Re: Documenting Prototype...

2006-07-24 Thread Andrew Tetlaw
On 24/07/06, Andrew Tetlaw <[EMAIL PROTECTED]> wrote: Not much more to say than that. Except that Prototype makes me want to spread Rasberry Jam all over myself and then roll around in a huge vat of Oh, sorry, I was getting confused about which mailing list I was respond

Re: [Rails-spinoffs] Re: Documenting Prototype...

2006-07-24 Thread Andrew Tetlaw
to say than that. -- Andrew Tetlaw htp://tetlaw.id.au ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] Re: Documenting Prototype...

2006-07-23 Thread Andrew Tetlaw
at all. I've listed many others too. Peter ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://tetlaw.id.au ___ Rails-spinoffs mail

Re: [Rails-spinoffs] Re: Documenting Prototype...

2006-07-22 Thread Andrew Tetlaw
On 22/07/06, Peter Michaux <[EMAIL PROTECTED]> wrote: But I would say they make your client-side pages less efficient, robust and maintainable. But, you would be wrong, sorry. -- Andrew Tetlaw htp://tetlaw.id.au ___ Rails-spinoffs mailin

Re: [Rails-spinoffs] Re: Documenting Prototype...

2006-07-22 Thread Andrew Tetlaw
On 20/07/06, Peter Michaux <[EMAIL PROTECTED]> wrote: On 7/20/06, Thomas Fuchs <[EMAIL PROTECTED]> wrote: > The sole point of Prototype is to give the programmer a powerful, > opinionated > toolset, to make programming JavaScript less pain That is a great idea but unfortuntely, prototype.js end

Re: [Rails-spinoffs] [ANN] Prototypish Style Sheet Switcher

2006-07-13 Thread Andrew Tetlaw
22 76 38 mobil: +43 - 699 - 1134 0946 http://www.knallgrau.at weitere News im Knallgrau Weblog: http://www.knallgrau.at/company/weblog ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http:

Re: [Rails-spinoffs] Scriptaculous Sortable within a Sortable

2006-07-11 Thread Andrew Tetlaw
ables? Thanks in advance, Justin ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://tetlaw.id.au ___

Re: [Rails-spinoffs] Re: $F - Is this the correct behaviour

2006-07-09 Thread Andrew Tetlaw
Yeah , you're right, it should test for the existance of the attribute instead On 09/07/06, Michael Peters <[EMAIL PROTECTED]> wrote: Andrew Tetlaw wrote: > I'm sure that is valid in HTML, the value returned by a > select,checkbox or radio is the value attribute or text

Re: [Rails-spinoffs] Re: $F - Is this the correct behaviour

2006-07-08 Thread Andrew Tetlaw
Eric ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://tetlaw.id.au ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] Re: Text sizing

2006-07-06 Thread Andrew Tetlaw
t for balance between being able to control presentation but making it compatible with as most software/devices possible. Thus the hunt for hacks goes on.... -- Andrew Tetlaw htp://tetlaw.id.au ___ Rails-spinoffs mailing list Rails-spinoffs@lists

Re: [Rails-spinoffs] Text sizing

2006-07-05 Thread Andrew Tetlaw
eel again; has anyone seen anything like this done elsewhere? Sam ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://tetlaw.id.au

Re: [Rails-spinoffs] javascript woes with radio button groups

2006-06-30 Thread Andrew Tetlaw
u the radio buttons, and you can decide when to move on from there. Sam ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://t

Re: [Rails-spinoffs] Looking for Javascript IDE

2006-06-26 Thread Andrew Tetlaw
mponents of Eclipse would I need (plus the JSEclipse plug-in)? Keith Davis (214) 906-5183 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Tetlaw Sent: Saturday, June 24, 2006 5:05 PM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinof

Re: [Rails-spinoffs] Looking for Javascript IDE

2006-06-24 Thread Andrew Tetlaw
ttp://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://tetlaw.id.au ___ R

Re: [Rails-spinoffs] Implementing a boolean "switch" in a Class

2006-06-22 Thread Andrew Tetlaw
On 23/06/06, Ryan Gahl <[EMAIL PROTECTED]> wrote: Ok... I'm not sure why there's a semi-debate going on here... Not a debate, just cooperative exploration. :) -- Andrew Tetlaw htp://tetlaw.id.au ___ Rails-spinoffs mailing lis

Re: [Rails-spinoffs] Implementing a boolean "switch" in a Class

2006-06-22 Thread Andrew Tetlaw
t;:" + obj2.x()); console.log("switch..."); obj.prototype.p = "kk"; console.log(obj1.name + ":" + obj1.x()); console.log(obj2.name + ":" + obj2.x()); the output: 1:x 2:x switch... 1:kk 2:kk -- Andrew Tetlaw htp://tetlaw.id.au __

Re: [Rails-spinoffs] Implementing a boolean "switch" in a Class

2006-06-21 Thread Andrew Tetlaw
the class. Which means you are reading/setting in different ways leading to potential confusion/mistakes. -- Andrew Tetlaw htp://tetlaw.id.au ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] Implementing a boolean "switch" in a Class

2006-06-21 Thread Andrew Tetlaw
t that Moz does not yet support using oMyInstance.contructor.prototype.[property] -- Andrew Tetlaw htp://tetlaw.id.au ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] Implementing a boolean "switch" in a Class

2006-06-21 Thread Andrew Tetlaw
bjects had prototypes. Why doesn't this work? oMyOb1.prototype.bSwitch = true; // error: oMyOb1 is not a function Is there another method that I've missed? Did prototype.js extend __proto__ to work in IE? Sam -- Andrew Tetlaw htp://tetlaw.id.au ___

Re: [Rails-spinoffs] Implementing a boolean "switch" in a Class

2006-06-21 Thread Andrew Tetlaw
d and have members You can still say var MyObject = Class.create(); MyObject.prototype = { ... other methods and properties } MyObject.bSwitch = false; obj1 = new MyObject(); obj2 = new MyObject(); But MyObject.bSwitch will be global. On 6/21/06, Andrew Tetlaw <[EMAIL PROTECTED]>

Re: [Rails-spinoffs] Implementing a boolean "switch" in a Class

2006-06-20 Thread Andrew Tetlaw
? Did prototype.js extend __proto__ to work in IE? Sam ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://tetlaw.id.au _

Re: [Rails-spinoffs] Detecting Body Onload

2006-06-19 Thread Andrew Tetlaw
is not the shortest name, but it is the standards name, onDomLoad, onDocumentLoaded, etc.. is also ok and: why did you choose : http://creativecommons.org/licenses/by-sa/2.5/ instead of the prototype license (bsd) matthias Andrew Tetlaw schrieb:

Re: [Rails-spinoffs] Detecting Body Onload

2006-06-18 Thread Andrew Tetlaw
aster" onLoad handling. Anyone have an idea when the beta of this copy of prototype.js will be available? Sam ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andre

Re: [Rails-spinoffs] Yahoo!-like Eventobjectemulation/abstractioninPrototype?

2006-06-15 Thread Andrew Tetlaw
, so long as you still bound the events using the bindAsEventListener function. Greg ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw ht

Re: [Rails-spinoffs] Determining the type of an object

2006-06-09 Thread Andrew Tetlaw
quite a bit more. Do you not use protoype? Again, I was reply to Greg when he said "Would be nice if Javascript supported true subclassing, but I don't believe it does." And if you've never heard of Douglas Crockford, then that's your problem. Why so shirty? I was o

Re: [Rails-spinoffs] Determining the type of an object

2006-06-08 Thread Andrew Tetlaw
ailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://tetlaw.id.au ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] rich text editors

2006-06-05 Thread Andrew Tetlaw
___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://tetlaw.id.au ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] Really easy field validation with Prototype Help

2006-05-29 Thread Andrew Tetlaw
loss/damage arising from any virus transmitted. ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://t

Re: [Rails-spinoffs] tabs

2006-05-22 Thread Andrew Tetlaw
ink so that it will automaticialy go to that tab or tabs. ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://tetlaw

Re: [Rails-spinoffs] using Singleton with Prototype

2006-05-22 Thread Andrew Tetlaw
s, Nicolas Terray ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://tetlaw.id.au __

Re: [Rails-spinoffs] Class.create() Vs Creating Objects

2006-05-21 Thread Andrew Tetlaw
; > ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://tetlaw.id.au ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] Class.create() Vs Creating Objects

2006-05-21 Thread Andrew Tetlaw
ny classes? Thanks, Mandy. ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs -- Andrew Tetlaw htp://tetlaw.id.au ___ Rails-spinoffs mailing list Rails-spinoffs@

Re: [Rails-spinoffs] Content Rotate, unwanted flashing on IE.

2006-05-19 Thread Andrew Tetlaw
OK trying to say this as tactfully as possible, because it's not targeted specifically at this script, it only serves as a useful example. A lot of people are releasing useful scripts based on Prototype, wich is great and you get a real sense of a healthy ecosystem developing. BUT Prototype does

[Rails-spinoffs] The challenge is on!

2006-05-19 Thread Andrew Tetlaw
http://www.dustindiaz.com/yui-tetris/ Don't bother trying to make Tetris, go one up and do Asteroids or Space Invaders or something :) -- Andrew ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/

Re: [Rails-spinoffs] Prototype & Scriptaculous vs. Yahoo UI Library

2006-05-17 Thread Andrew Tetlaw
I don't even know Ruby but I love the Enumeration helpers. For example, $A().without() is something you do often in javascript and I'm happy not to have to write a for-next loop and test values everytime I need to do it. On 18/05/06, Peter Michaux <[EMAIL PROTECTED]> wrote: Andrzej, I have been

Re: [Rails-spinoffs] Autocomplete GetToken??

2006-05-17 Thread Andrew Tetlaw
AFAIK it's because some autocompletion fields might take multiple values and be delimited by characters like a comma or space. The get token method allows you to get the last keyword/tag the user is entering and instead of the whole value. On 18/05/06, Daniel Elmore <[EMAIL PROTECTED]> wrote: Hi

Re: [Rails-spinoffs] Prototype based tabs and field validation. Enjoy!

2006-05-01 Thread Andrew Tetlaw
Nope, they don't. On 02/05/06, Andreas Wahlin <[EMAIL PROTECTED]> wrote: they don't really serve any real critical purpouse do they? Andreas -- Andrew ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.or

Re: [Rails-spinoffs] Prototype based tabs and field validation. Enjoy!

2006-04-27 Thread Andrew Tetlaw
On 28/04/06, Ryan Gahl <[EMAIL PROTECTED]> wrote: > If everyone writing "the prototype way" keeps adding $[pick a letter > of the alphabet] functions, I can see this becoming a problem... Well, perhaps I was trying to be 'too cute' adding those shortcuts. I'll re-release it if they really must go.

[Rails-spinoffs] Prototype based tabs and field validation. Enjoy!

2006-04-27 Thread Andrew Tetlaw
Thought I'd try and contribute to the growing prototype ecosystem. tabs: http://tetlaw.id.au/view/blog/fabtabulous-simple-tabs-using-prototype/ field validation: http://tetlaw.id.au/view/blog/really-easy-field-validation-with-prototype/ Both real easy and clean to use. Hope y'all can use them so

Re: [Rails-spinoffs] Prevent IE background image reloading onscriptaculous drag

2006-04-27 Thread Andrew Tetlaw
This is all you need: http://www.fivesevensix.com/studies/ie6flicker/ And get this to avoid the 'flicker' "The area of an element with a background-image must be at least 2500 pixels." That means a 50x50 pixel element with background image will not 'flicker' On 27/04/06, Andrzej Rumpfelt <[EMAI

Re: [Rails-spinoffs] DOM events not firing in IE6 with floated divs

2006-04-26 Thread Andrew Tetlaw
Ahh nope, wrong, too much crack for me, sorry. But it _does_ have something to do with event bubbling On 26/04/06, Andrew Tetlaw <[EMAIL PROTECTED]> wrote: > I think there's a little IE bug for you. Normally events are bubbled > up from the target element. But floated elements se

Re: [Rails-spinoffs] DOM events not firing in IE6 with floated divs

2006-04-26 Thread Andrew Tetlaw
iv.row and highlights it. If you float div.formw suddenly it stops bubbling as if it's now considered to be on top of anf not a child of div.row. weird. On 26/04/06, Andrew Tetlaw <[EMAIL PROTECTED]> wrote: > I believe that in IE events don't propagate down they only bu

Re: [Rails-spinoffs] DOM events not firing in IE6 with floated divs

2006-04-26 Thread Andrew Tetlaw
I believe that in IE events don't propagate down they only bubble up. In FF they do both! Thus the hover is for the top element and it doesn't propagate down the the div underneath in IE... Just a vague memory, Am I speaking total crap here? Anyone? On 26/04/06, SPENDLOVE, Matt, GBM <[EMAIL PROT

[Rails-spinoffs] Proposal for Try.allThese()

2006-04-10 Thread Andrew Tetlaw
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