DOM和网页生命周期信息

DOM和网页生命周期信息

本文介绍了DOM和网页生命周期信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一些关于页面的顺序和事件的基本信息。 (订购什么加载和什么时候... 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中的DOM加载方式与Web的整体排序等。

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端我想知道当从代码背后渲染JS如何与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.

推荐答案

这听起来像您正在寻找一个很好的。您需要深入了解具体类别,但所有的基础知识都在那里。

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.

还有另一个。

您还可以发现这些(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

(雅虎表现最佳实践的一般集合如下:)。

(The general set of Yahoo's performance best-practices is here: http://developer.yahoo.com/performance/rules.html.)

这篇关于DOM和网页生命周期信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 11:09