最赞回答 / 康振宁
pixelDepth和colorDepth的不同之处是在Unix机器上,旧的X-客户端可以运行应用程序定义属于自己的颜色组。在这种情况下,colorDepth匹配应用程序的颜色深度,pixelDepth匹配显示器的颜色深度。其他所有情况下,pixelDepth和colorDepth是互通有无的。
2014-12-31
最赞回答 / davidlaw
window.location.assign(url) : 加载 URL 指定的新的 HTML
文档。就相当于一个链接,跳转到指定的url,当前页面会转为新页面内容,可以点击后退返回上一个页面。window.location.replace(url) : 通过加载 URL
指定的文档来替换当前文档,这个方法是替换当前窗口页面,前后两个页面共用一个窗口,所以是没有后退返回上一页的
2014-12-31
最新回答 / qq_巅峰强子_0
var arr =['*','##',"***","&&","****","##*"];arr[7] = "**";alert(arr.length);document.write(arr[0]+"<br>");document.write(arr[7]+"<br>");document.write(arr[2]+"<br>");document.write(arr[4]+"<br>");
2014-12-31