if x < change.pageX # pageX is cross-browser normalized by jQuery
val = Number(elem.text())
return elem.text(o.max) if val + o.step > o.max
return elem.text(o.min) if val + o.step
該JavaScript函數接受一組數字(範圍在0-255之間)並轉換爲base64編碼的字符串,然後打破long如果需要的話: function encode(data)
{
var str = "";
for (var i = 0; i < data.length; i++)
str += String.fromCharCode(data[i]);
r