Tag Archives: javascript

JS: Deactivate single Events while using Event Delegation

If you come along one of those instances where you want to disable an event listener you have many options. One of them would be to assign null to the event handler.

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

JavaScript: Event Listeners inside a For-Loop

If you want to create multiple event listeners inside a for-loop to save some time, you will have the problem that all listeners are attached to the same DOM element The core problem is that we pass variable references to … Continue reading

Posted in Uncategorized | Tagged , , , , , | 1 Comment

Stringify a user’s text selection in JavaScript

This code reads selected text after a user releases the mouse button. I came up with this technique after I read a questions at Stack Overflow. I never actually used it on any web projects, but it might come in … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Event Delegation in JavaScript

The next logical step up, respectively down-level from using CSS3 Selectors together with JavaScript libraries to select specific DOM elements, is to write your own JavaScript to control your markup. So in order to completely seperate behaviour (JavaScript) from presenation … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Load Child Elements of DOM in Array

Howto load multiple Child Elements of any DOM Element into an Array. Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Mask animation with jQuery and CSS

This is a technique I invented myself one year ago and basically is porting masking techniques of Flash over to xhtml. Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 3 Comments

ExternalInterface Call with AS3 and Javascript

How to properly communicate between Javascript and Flash AS3 Continue reading

Posted in Uncategorized | Tagged , , , , , | 4 Comments