[jQuery] Help modifying jquery.lavalamp.min.js
<div>Hi</div>
<div> </div>
<div>Is it possible to modify the class below (jquery.lavalamp.min.js) so that when the LavaLamp click event is set on a specific text, the text color is set to red. For instance when loading this link <a href="http://karen.2kmegs.com/">http://karen.2kmegs.com/</a> the 'Home' (since its the active one) is set to red. </div>
<div> </div>
<div>(function($) {
$.fn.lavaLamp = function(o) {
o = $.extend({ fx: "linear", speed: 500, click: function(){} }, o || {});</div>
<div> return this.each(function() {
var me = $(this), noop = function(){},
$back = $('<li class="back"><div class="left"></div></li>').appendTo(me),
$li = $("li", this), curr = $("li.current", this)[0] || $($li[0]).addClass("current")[0];</div>
<div> $li.not(".back").hover(function() {
move(this);
}, noop);</div>
<div> $(this).hover(noop, function() {
move(curr);
});</div>
<div> $li.click(function(e) {
setCurr(this);
return o.click.apply(this, [e, this]);
});</div>
<div> setCurr(curr);</div>
<div> function setCurr(el) {
$back.css({ "left": el.offsetLeft+"px", "width": el.offsetWidth+"px" });
curr = el;
};</div>
<div> function move(el) {
$back.each(function() {
$(this).dequeue(); }
).animate({
width: el.offsetWidth,
left: el.offsetLeft
}, o.speed, o.fx);
};</div>
<div> });
};
})(jQuery);</div>
<div> </div>
<div>Thanks</div>