12 2015 档案
摘要:html5 设置历史记录的两种方式:1.通过hash值的方式设置;2.通过history设置;具体如下两个demo: Document window.location.hash = xxx //设置hash值,window.onhashchange = function () {...
阅读全文
摘要:Document a b c d虽然通过dragstart、drag和dragend事件实现了原生拖拽。但是这仅仅是拖拽,在IE6和IE7中还是有些拖拽问题,并且也没有实现数据的交换。为了实现数据的交换,IE5引入了dataTransfer对象。dataTra...
阅读全文

浙公网安备 33010602011771号