📄 gallery3_column1.html
字号:
<!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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -