gallery3_column1.html
来自「Ajax tutorial archive」· HTML 代码 · 共 37 行
HTML
37 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Introduction to Ajax Tutorial</title>
</head>
<body>
<p class="main">
Our load_page function has had a number of things added to
it. Do not get confused here, the basic method of importing
documents is intact and exactly the same as before. It is
only that in order to build the gallery that some extra
functionality was thrown in. Let us look at the additions to
the load page function so that we can understand what is
going:
</p>
<p class="code">
<strong>Line 1:</strong> pageWidth = (dom) ? innerWidth :
document.body.clientWidth;
</p>
<p class="code">
<strong>Line 2:</strong> preload =
document.getElementById("preloadLYR");
</p>
<p class="code">
<strong>Line 3:</strong> gallery =
document.getElementById("galleryLYR");
</p>
<p class="main">
<strong>Line 1:</strong> A variable named pageWidth is
created. It then checks for whether the browser is Internet
Explorer or another
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?