开发者

scripty2 doesn't work

开发者 https://www.devze.com 2023-03-04 14:28 出处:网络
I can\'t make scripty2 to work.. $(\'tst\').开发者_Go百科morph(\'border:12px solid #abc\', { duration: .7 });

I can't make scripty2 to work..

$('tst').开发者_Go百科morph('border:12px solid #abc', { duration: .7 });

alert($('tst'));
alert($('tst').morph);

the first alert returns the element and the second returns a function


Try splitting the properties into border-color, border-width and border-style - maybe Scripty can't handle shorthand.

0

精彩评论

暂无评论...
验证码 换一张
取 消