'); }); } else if (response.error != undefined) { alert(response.error); } else { alert('上傳失敗'); } } else if (xhr.readyState == 4 && xhr.status != 200) { // Error. Inform the user } }); formData.append('file', files[0]); formData.append('data', '{"reply":true}'); formData.append('act', 'img_upload'); xhr.send(formData); } } function changeFontSize(event) { event.preventDefault(); $('.fontsize a').removeClass('active'); console.log(event.data.fnum); switch (event.data.fnum) { case 1: $('.fontsize a.font_s').addClass('active'); $('.article').removeClass('fontm'); $('.article').removeClass('fontb'); break; case 2: $('.fontsize a.font_m').addClass('active'); $('.article').removeClass('fontb'); $('.article').addClass('fontm'); break; case 3: $('.fon
回最上層
×
會員註冊