Thursday, February 26, 2009

[jQuery] pixastic + jquery: anyone ever work with these two?

Hi,

I stumbled upon Pixastic recently and thought it perfect for a current
project. I've implemented it on hover

function swapImages() {
var img1 = $j("#cell1 img");

$j('.cell-wrapper .cell').hover(function(){
$j('img', this).pixastic("desaturate");
}, function(){
$j(this).children('.image').html(img1);
});

}

code works fine...but if i perform the action more than twice, i get this
error in firebug: uncaught exception: An invalid or illegal string was
specified (NS_ERROR_DOM_SYNTAX_ERR)
[Break on this error] return
img;},prepareData:function(params...unction(img,actionName,options,callback)

error is in pixastic js...anyone know what could be causing this/any tips?

thanks


--
View this message in context: http://www.nabble.com/pixastic-%2B-jquery%3A-anyone-ever-work-with-these-two--tp22232179s27240p22232179.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

No comments: