gallery8_column1.html
来自「Ajax tutorial archive」· HTML 代码 · 共 36 行
HTML
36 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Introduction to Ajax Tutorial</title>
</head>
<body>
<p class="main">
Only a couple of more things and we are done for part 1. One
thing we want to do is to cycle through the images as a user
clicks through the forward or previous buttons. In order to
do that we use the following case.
</p>
<p class="code">
case "cycle_gallery":<br />
if (args[1] == 'forw' && gallery_index !=
galleryArray.length - 1)<br />
{<br />
gallery_index++;<br />
description_index++;<br />
ajaxManager('load_page', galleryArray[gallery_index],
'galleryLYR');<br />
ajaxManager('load_page',
descriptionArray[description_index],
'captionLYR');<br />
}<br />
else if (args[1] == 'rev' && gallery_index !=
0)<br />
{<br />
gallery_index--;<br />
description_index--;<br />
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?