gallery3_column2.html
来自「Ajax tutorial archive」· HTML 代码 · 共 36 行
HTML
36 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Introduction to Ajax Tutorial
</title>
</head>
<body>
<p class="main">
standards based browser through the use of the variable named
dom.
</p>
<p class="code">
var dom = (!document.all && document.getElementById);
</p>
<p class="main">
Which is the very first line in our script. If the browser is
anything other than Internet Explorer we snag the current
page width dimensions using innerWidth. If it is Internet
Explorer then we use document.body.clientWidth;
</p>
<p class="main">
Just so you gain a bit of a concept as to why we are doing
this, later on we are going to use the pageWidth variable to
auto center the images for us as they are imported. Cool huh?
</p>
<p class="main">
<strong>Line 2:</strong> This is a simple JavaScript object
created by using a variable and then pointing that variable
to an element named preloadLYR. We do this so as to not have
to repeatedly type
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?