Questions tagged [mootools-events]
73 questions
1
vote
2 answers
How to add an event to an element just created?
How can I add an event (by Mootools) to an element just created via set("html"), and inserted through the DOM?
$(document).addEvent("domready", function(){
$(someel).set("html", "");
…

Donovant
- 3,091
- 8
- 40
- 68
1
vote
2 answers
MooTools event not triggering in IE9 (only after refresh)
I changed the entire question because I didn't provide enough info's at the first run: thanks goes to @Sergio.
There are alot of things not working in IE.
When I do addEvent('domReady').... It's even more bad(it doesn't gets executed but if I…

AME
- 2,262
- 6
- 19
- 39
1
vote
1 answer
MooTools custom drag event
Is there anyway to define a drag event in MooTools using the mousedown, mouseup and mousemove events. I would like to be able to do something like the following:
$('#knob').addEvent('drag', function (e) {
// Drag event code goes here...
});

Nathan Bishop
- 623
- 1
- 5
- 11
1
vote
2 answers
Image inside dragable div is stalling my drag and drop when dragged
Client has asked that a whole div is dragable, the div contains some text and an image. I converted the div to be a tag and used Mootools draggable goodies to get it all working. That is until the client clicks on the image and starts dragging…

Pete Duncanson
- 3,208
- 2
- 25
- 35
1
vote
1 answer
mootools moopopup url option not working?
I'm new to mootools, I am working on the demo example for moopopup but for me option url to load remote does not pop up.