gallery9_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">
We then increment or decrement the array depending upon which
direction is clicked by using gallery_index++. The reverse of
that is gallery_index--;
</p>
<p class="main">
All we have to do then is just condition out the directions
based on an argument and the galleryArray.length and we are
good to go.
</p>
<p class="main">
The final thing to look at as far as this part of the
tutorial goes is the start_up case
</p>
<p class="code">
case "start_up":<br />
ajaxManager('hide_access');<br />
ajaxManager('array_setup');<br />
ajaxManager('load_page', galleryArray[gallery_index],
'galleryLYR');<br />
ajaxManager('load_page',
descriptionArray[description_index],
'captionLYR');<br />
break;
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?