- 博客(3)
- 收藏
- 关注
原创 $(document).ready() Vs. window.onload
There are some advantages comparing with straightly using built-in JavaScript function.Javascript will not execute its corresponding event function until all content (e.g DOM,image, object, stylesheet
2017-04-03 13:19:29 259
转载 Succinct trait of comparing jQuery with JavaScript - DOM
Unknown reason, IME for Chinese input does not work on PC start this morning. In light of aching to complete this blog. My shit English instead of Chinese input.As shown by subject, this blog pins o
2017-03-25 14:02:12 262
原创 Web 内容,表现和行为分离
Unobtrusive Javascript(1)Unobtrusive这一词的原意是不引人注目的、不突出的。在这里的可以理解为隔离的,隔离javascript代码和html代码(css代码同理)。假设用户的客户端不支持javascript脚本(也可能不支持css)。至少可以使得用户可以正常访问页面,效果可以做出牺牲。为了更好的对比出优劣,先把JS和HTML的代码杂糅在一起。html>
2017-01-17 11:19:16 853 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人