1.冒泡排序 var bubbleSort = function(arr) { for (var i = 0, len = arr.length; i len - 1; i++) { for (var j = i + 1; j len; j++) { if (arr[i] arr[j]) { var temp = arr[i]; arr[i]
html head meta http-equiv=Content-Type content=text/html; charset=gb2312 / titleJS函数实现鼠标指向图片后显示大图/title script language=javascript function showPic(sUr