before you begin the delay, try "capturing/recording" a reference to " this " in some variable so that your delayed function actually knows what " this " means:
$(".tabButton").click(function() {
var self=this;
$(self).css("background-color", "white").delay(500, function() {
$(self).css("background-color", "black");
})
});
</script>
hielo
Veteran Poster
1,124 posts since Dec 2007
Reputation Points: 116
Solved Threads: 244