原创 html5:標籤實現動態效果
<!DOCTYPE html > <html> <head> <title> new document </title> <meta ch
原创 html5:<canvas>標籤實現動態效果
<!DOCTYPE html > <html> <head> <title> new document </title> <meta charset="utf-8"/> <link href
原创 javascript常用數組算法總結
1、數組去重 方法1: //利用數組的indexOf方法 function unique (arr) { var result = []; for (var i = 0; i < arr.length; i++)