我在此基礎上嘗試了一些我已經收集到的內容,但這只是簡單地將其完全刪除;標題不會在< = 768px根據屏幕寬度隱藏鏈接標題屬性 - 不會取消隱藏
<script>
if($(window).width() > 767) {
$('[title]').each(function() {
var $this = $(this);
$this.data('title',$this.attr('title'));
$this.removeAttr('title');
});
}
</script>
返回回見http://jsfiddle.net/2nHxV/
的現場演示不包括寬度測試代碼... – Quentin 2014-11-21 23:45:29
_「稱號,回不回在<= 768px」 _ - 和你期望通過自己神奇地出現......? – CBroe 2014-11-22 00:04:17