📄 gallery2_column2.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Introduction to Ajax Tutorial
</title>
</head>
<body>
<p class="code">
galleryArray = new Array();<br />
galleryArray[0] = "image1.html";<br />
galleryArray[1] = "image2.html";
</p>
<p class="code">
descriptionArray = new Array();<br />
descriptionArray[0] = "description1.xml";<br />
descriptionArray[1] = "description2.xml";<br />
</p>
<p class="main">
As you may imagine from looking at that code snippet, the
galleryArray holds all our image.html url information, while
the descriptionArray holds our description.xml information.
One array is going to load the images, the other some
description of the image.
</p>
<p class="main">
To change files all you would need to do is change the array
pointer to reflect a new file. It keeps things nice and
simple. Well at least for me it does. Then later we cycle
through the arrays to obtain the correct files.
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -