[Proto-Scripty] prototype needs a noConflict() option similar to the one in jQuery

2010-04-24 Thread Mike
Can this happen, please ? :) I see a bunch of people on the web looking for this feature and while jQuery was nice enough to allow for it, I don't see the same option in prototype, unfortunately. Please? -- You received this message because you are subscribed to the Google Groups Prototype

Re: [Proto-Scripty] prototype needs a noConflict() option similar to the one in jQuery

2010-04-24 Thread Walter Lee Davis
It's not currently possible, although the core team have promised it for the next major upgrade. The issue is that Prototype extends the (small p) prototype of various elements to do its magic, and you can't un-do that (which is what would be required in this case). There's a project

[Proto-Scripty] anchor button causes IE8 to fire onbeforeunload

2010-04-24 Thread JoJo
I'm using an anchor tag to run some JS when clicked. This works perfectly in Firefox, but Internet Explorer 8 wrongfully fires the onbeforeunload callback. I know this can be solved by changing HREF=javascript:void(0) to HREF=#, but it won't work in my situation because my anchor is very low in

RE: [Proto-Scripty] anchor button causes IE8 to fire onbeforeunload

2010-04-24 Thread Jonathan Rosenberg
Can't you stop the event to avoid the page moving? If I understand what you're trying to do: button.observe( 'click', function(event) { Event.stop(event); alert('button was clicked');

[Proto-Scripty] Re: anchor button causes IE8 to fire onbeforeunload

2010-04-24 Thread JoJo
That seemed to have solved it. Thanks. On Apr 24, 2:18 pm, Jonathan Rosenberg j...@tabbysplace.org wrote: Can't you stop the event to avoid the page moving?  If I understand what you're trying to do:             button.observe(                 'click',                 function(event) {    

[Proto-Scripty] Re: prototype needs a noConflict() option similar to the one in jQuery

2010-04-24 Thread Tobie Langel
It's not currently possible, although the core team have promised it   for the next major upgrade. Would be _very_ curious to know where you've seen tjat mentioned. Link? Best, Tobie -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us

Re: [Proto-Scripty] Re: prototype needs a noConflict() option similar to the one in jQuery

2010-04-24 Thread Walter Lee Davis
You're right -- I mis-spoke. It's not that you would be adding a no- conflict option. I believe that what *was* said was that you would stop extending the prototype, which would mean that the conflict would be gone. I'm pretty sure that's one of the stated objectives for 2.0, right?