DOM的信息和Web页面的生命周期 [英] Info on DOM and web page lifecycle
问题描述
我试图找到一个页面的排序和事件...基本面一些好的信息。 (什么负荷排序,当... DOM,JavaScript的,不管用什么语言你编码)
I'm trying to find some good info on the ordering and events of a page...fundamentals. (ordering of what loads and when ...DOM, javascript, no matter what language you're coding in)
有谁知道一个很好的参考,我可以看看?我还没有发现除了ASP.NET的好文章,但我不是在寻找那些专门。我想查找DOM如何加载与整体网页JavaScript等的顺序。
Does anyone know a good reference I could take a look at? I haven't found any good articles except for ASP.NET but I'm not looking for that specifically. I want to look up how the DOM loads vs. order of JavaScript, etc. in the web overall.
我想在ASP.NET一边我想从$ C $ JS渲染时,虽然知道C-背后如何与页面加载的排序为DOM混合。
I guess on the ASP.NET side I'd want to know though when rendering JS from code-behind how that mixes with the ordering of page load for the DOM.
推荐答案
这听起来像你正在寻找一个良好的 JavaScript和HTML DOM
参考。你需要深入到具体的类别,但所有的基本面都在那里。
It sounds like you are looking for a good JavaScript and HTML DOM Reference. You'll need to drill down into specific categories, but all the fundamentals are there.
有是另一个<一个href=\"http://stackoverflow.com/questions/1307929/javascript-dom-load-events-execution-sequence-and-document-ready\">post该讨论DOM的加载方式会发生什么时。
您也可能会发现这些公司(Yahoo)的资源在理解网页渲染性能有所帮助:
You may also find these (Yahoo) resources helpful in understanding page rendering performance:
- High Performance Web Sites: Rule 5 – Put Stylesheets at the Top
- High Performance Web Sites: Rule 6 – Move Scripts to the Bottom
(一般设置雅虎的业绩最佳做法是在这里: http://developer.yahoo .COM /性能/ rules.html 。)
(The general set of Yahoo's performance best-practices is here: http://developer.yahoo.com/performance/rules.html.)
这篇关于DOM的信息和Web页面的生命周期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!