[Proto-Scripty] Re: Form submit not working on IE

2009-07-10 Thread T.J. Crowder
Hi, Yeah, #3 was my top guess as well. :-( Time to pick up with the third step on this list (small, self- contained example): http://proto-scripty.wikidot.com/faq#xyzprob HTH, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Jul 9, 4:

[Proto-Scripty] Scripty Drag and Drop Examples

2009-07-10 Thread Mitchell McCulloch
Hello, I'm nearing the end of a decent sized project for a hardware company where I've been creating a virtual display rack filler. They'd pick what items they want from the floor, and drag them onto the rack, later can be turned into an order, a quote, etc. Anyways, the problem is that it looks

[Proto-Scripty] Event.stop for onclick?

2009-07-10 Thread Stonk
Hello, I have two buttons and want to add an observer and fire an own function (bar()). When this function is completed, foo() shall get called. I tried it with the event.stop, but that just doesn't work. var requestDone = false; function bar() { // requestDone = true; } // Wait till p

[Proto-Scripty] Re: Event.stop for onclick?

2009-07-10 Thread T.J. Crowder
Hi, I'm guessing you're not in control of the HTML generation (e.g., you're getting it from some other thing -- a content management solution, another site, whatever -- and don't have direct control over it). If you *are* in control of the HTML generation, just don't output the onclick attribute

[Proto-Scripty] Re: Scripty Drag and Drop Examples

2009-07-10 Thread WLQ
Should you not open another question? As it's not related to the current question of this post. > Hello, > > I'm nearing the end of a decent sized project for a hardware company where > I've been creating a virtual display rack filler.  They'd pick what items > they want from the floor, and drag

[Proto-Scripty] Scripty Drag and Drop Examples

2009-07-10 Thread mmccull
Ah, yes. Sorry about that. Every time I post here I do something dumb, geez. I was posting from outlook and already had an email open, thought a quick reply and change the Subject would do it. Anyhow, below is the text of my original message. Appreciate any suggestions! Hello, I'm nearing

[Proto-Scripty] MySQL - order ID

2009-07-10 Thread T.J. Crowder
Hi, > Anyhow, > below is the text of my original message. You're *still* posting to the other thread. To start a new thread: * Click the "new message" button in Outlook or whatever you're using * In the "to" field, put prototype-scriptaculous@googlegroups.com * In the "subject" field, put some

[Proto-Scripty] How can i start working with prototipe

2009-07-10 Thread Canguingo
I'd like to work with prototipe in my new web project. However I cannot find anywhere an explanation about how it works, whether i have to use my own images, where i should upload the images (to/from) etc etc, could you please assist on this? Thanks in advance! Canguingo --~--~-~--~~

[Proto-Scripty] Re: How can i start working with prototipe

2009-07-10 Thread T.J. Crowder
Hi, Prototype has nothing to do with images, you might be thinking of script.aculo.us.[1] [1] http://script.aculo.us For more about working with prototype: http://prototypejs.org/learn http://prototypejs.org/api (very, very worth reading front to back!) http://proto-scripty.wikidot.com HTH, --

[Proto-Scripty] Re: Alternatives to Protosafe?

2009-07-10 Thread Josh Powell
You cannot safely add Prototype to the target pages. Prototype changes javascript in general, not just jQuery. It adds methods to native objects. If the target pages are already running jQuery in noConflict() mode then you won't interfere, but if you put their pages in noConflict() mode then you

[Proto-Scripty] Re: Alternatives to Protosafe?

2009-07-10 Thread Matt Foster
Besides the $ function and using for(var in ) for iteration over an array. I can't think of other conflicts prototype would cause with existing code. -- http://positionabsolute.net On Jul 10, 2:41 pm, Josh Powell wrote: > You cannot safely add Prototype to the target pages.  Prototype > cha

[Proto-Scripty] Re: Alternatives to Protosafe?

2009-07-10 Thread Josh Powell
If other libraries or js code extend the native objects with the same methods, the one included last wins. In this case, it will almost always be prototype because he is loading it dynamically. On Jul 10, 1:04 pm, Matt Foster wrote: > Besides the $ function and using for(var in ) for iteration

[Proto-Scripty] differences between mootools 'each' and Prototype 'Enumerable.each'

2009-07-10 Thread ronman
Hi, I've been puzzling over this for a couple of days and finally admit I need help. I have a Hash of objects which I iterate over using each: $H(data.nodes).each(function(mynode,id) { alert(mynode); // do something with mynode },this); What I get back for 'mynode' is 'nodenam

[Proto-Scripty] Re: differences between mootools 'each' and Prototype 'Enumerable.each'

2009-07-10 Thread Rick Waldron
The result your getting is completely correct, you're just missing one aspect... Take a look: http://jsbin.com/anefa (view source... ) On Fri, Jul 10, 2009 at 4:57 PM, ronman wrote: > > Hi, > I've been puzzling over this for a couple of days and finally admit I > need help. I have a Hash of

[Proto-Scripty] Is Form.Element.EventObserver deprecated ?

2009-07-10 Thread Mathew
I don't see Form.Element.EventObserver in the API doc. Is it deprecated ? If not could someone provide an example of using this API. Basically the requirement is, if the drop-down list changes its value dynamically, or re-populated dynamically then i need to invoke a method to populate another f

[Proto-Scripty] Re: Is Form.Element.EventObserver deprecated ?

2009-07-10 Thread Rick Waldron
$('id-of-form-element').observe('change', function () {// do stuff in here. }); On Fri, Jul 10, 2009 at 3:33 PM, Mathew wrote: > > I don't see Form.Element.EventObserver in the API doc. Is it > deprecated ? If not could someone provide an example of using this > API. > > Basically the requiremen