08 2015 档案
摘要:当页面无滚动条时,滑动滚轮时window.onscroll事件不会相应,此时应该去添加滚轮事件var MouseWheelHandler=function(e){ e.preventDefault(); e=window.event||e; var value; if(e.wheel...
阅读全文
摘要:在Python里面,字符串相加经常会出现'ascii' codec can't decode byte 0xe7 in position 0: ordinal not in range(128)这样的错误,原因呢,是因为相加的字符串中一个是Unicode类型,另外一个是str类型,不同类型相加是会出...
阅读全文
浙公网安备 33010602011771号