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

📄 gallery6_column1.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="main">
                  Let us look at the rest of the readyState==4 conditional
                  branch as there is a bit going on there.
               </p>
               <p class="code">
                  <strong>Line 1:</strong> getImageSize =
                  document.getElementsByTagName(&quot;img&quot;)[0]
				  .getAttribute(&quot;width&quot;);
               </p>
               <p class="code">
                  <strong>Line 2:</strong> gallery.style.left = (pageWidth -
                  getImageSize) / 2+&quot;px&quot;;
               </p>
               <p class="code">
                  <strong>Line 3:</strong> preload.style.left = (pageWidth -
                  getImageSize) / 2+&quot;px&quot;;
               </p>
               <p class="code">
                  <strong>Line 4:</strong>
                  document.getElementById(&#39;captionLYR&#39;).style.
				  left = (pageWidth -&nbsp;&nbsp; getImageSize) / 2 +&quot;px&quot;;
               </p>
               <p class="code">
                  <strong>Line 5:</strong>
                  document.getElementById(&#39;accessLYR&#39;).style.
				  visibility  = &quot;hidden&quot;;
               </p>
</body>
</html>

⌨️ 快捷键说明

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