我有一个名为Pixastic的jQuery插件存在问题。我将它作为独立库工作,但我无法将其与jQuery一起使用,因为它不起作用,我使用了来自文档的代码,但仍然因为某些原因无法使用它。Pixastic - jQuery插件无法正常工作?
文档,我如下:http://www.pixastic.com/lib/docs/#jquery
HTML(?我不能把完整的HTML页面,因为它不会在这里显示它的bug?,但只要你相信,我包括好吧一切)
<script src="jquery-1.6.1.min.js" type="text/javascript"></script>
<script src="pixastic.full.js" type="text/javascript"></script>
<script src="f.js" type="text/javascript"></script>
<img id="image" src="014.jpg" />
JS(f.js)
$(document).ready(function()
{
/*
Pixastic.process(document.getElementById("image"), "blurfast",
{
amount : 3
});
*/
Pixastic.process(document.getElementById("image"), "desaturate"); // - Works
//$("#image").pixastic("desaturate"); // - Not so much...
});
你可以试试jQuery 1.2.6吗?这就是他们在自己的网站上使用的内容。 – pimvdb