⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gallery6_column2.html

📁 Ajax tutorial archive
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
   <head>
      <title>
         Introduction to Ajax Tutorial
      </title>
   </head>
   <body>
    			 <p class="code">
                  <strong>Line 6:</strong>
                  setTimeout(&quot;fadeIn(&#39;galleryLYR&#39;, 0,
                  &#39;99.99&#39;)&quot;, 1200);
               </p>
               <p class="code">
                  <strong>Line 7:</strong>
                  setTimeout(&quot;fadeIn(&#39;captionLYR&#39;, 0,
                  &#39;99.99&#39;)&quot;, 1300);
               </p>
               <p class="main">
                  <strong>Line 1:</strong> With this statement we create a
                  variable named getImageSize. As the variable name implies we
                  are going to the dimensions of the image being imported.
                  Specifically its width attribute. In order to do this, we
                  grab the image tag using
                  document.getElementsByTagName(&quot;img&quot;). The [0]
                  indicates to the browser to obtain the first image contained
                  within the document. If we wanted to obtain the second image,
                  we would use [1] and so on. Then we obtain the width
                  attribute by employing getAttribute. All this information is
                  now stored in the variable.
               </p>
               <p class="main">
                  <strong>Line 2:</strong> The element galleryLYR left position
                  is
               </p>
   </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -