我正在为 eBay 编写一个拍卖模板,希望 eBay 允许。很显然他们不允许,因为 jQuery 有一些像 string.replace() 等的东西。
代码非常基础。
$(document).ready(function(){
function changeImage(){
if($("#coin1").css("display") == "none"){
$("#coin1").fadeIn("slow");
}else{
$("#coin1").fadeOut("slow");
}
};
setInterval ( changeImage, 5000 );
});
我需要基本上用纯Javascript重写它...