📄 gallery8_column1.html
字号:
<!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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -