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
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
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
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');
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) {
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
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?