gallery2_column2.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="code">
                  galleryArray = new Array();<br />
                  galleryArray[0] = &quot;image1.html&quot;;<br />
                  galleryArray[1] = &quot;image2.html&quot;;
               </p>
               <p class="code">
                  descriptionArray = new Array();<br />
                   descriptionArray[0] = &quot;description1.xml&quot;;<br />
                   descriptionArray[1] = &quot;description2.xml&quot;;<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 + =
减小字号Ctrl + -
显示快捷键?