Articles with tag "javascript"
Order:   

Using jQuery for Background Image Animations

I felt like playing around with things to see what could be done but accomplish it with a simpler HTML structure (no need for adding superfluous tags) and simpler code, too.
Changing the position of the background image felt to be the best approach to creating the type of effect we're looking for (and I'm not the first to think so: see the examples at the end of this article). jQuery is a great library for this type of task...
Comments: 25     Views: 9607     Rating: 12345



JavaScript defining and using custom events

Simply, a custom event is something that happens that you feel is important enough to define actions to execute when this something happens. Clear as mud? I think I confused even myself. A custom event is just like a native event (onclick, onload, etc) except you define what it is and when it should fire.
Some explanation and implementation use the Yahoo User Interface library (YUI). I don’t use YUI. So I wrote up a simple class that allows you to implement custom events that is library independent.
Comments: 82     Views: 8154     Rating: 12345



Advanced Debugging with JavaScript

When used effectively, JavaScript debuggers help find and squash errors in your JavaScript code. To become an advanced JavaScript debugger, you’ll need to know about the debuggers available to you, the typical JavaScript debugging workflow, and code requirements for effective debugging. In this article, we’ll discuss advanced debugging techniques for diagnosing and treating bugs using a sample web application.
Comments: 126     Views: 12634     Rating: 12345



Understanding scope in object oriented JavaScript

When you think of the keyword this you probably assume it refers to the current instance of the class. This is true for most object oriented languages like C# and Java. So, knowing this you would probably assume the same would be true of JavaScript and it's this keyword. This is, however, not the case.
Comments: 34     Views: 48533     Rating: 12345