�i�r�Q�[�V�����{�^�������E�ɗ���
����
�i�r�Q�[�V�����{�^�������E�ɗ����ɂ�Ext.Panel()�̃I�v�V������bbar��'->'���w�肵�܂��B�ł�ŁA�O�Ɉړ�����{�^���͍��[�ɁA���Ɉړ�����{�^���͉E�[�ɕ\�������悤�ɂȂ�܂��B
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Sample</title>
<link rel="stylesheet" href="../../../lib/resources/css/ext-all.css" type="text/css" media="all">
<link rel="stylesheet" href="../../../lib/resources/css/main.css" type="text/css" media="all">
<script type="text/javascript" src="../../../lib/js/ext-base.js"></script>
<script type="text/javascript" src="../../../lib/js/ext-all.js"></script>
<script type="text/javascript"><!--
Ext.EventManager.on(window, "load", function(){
var navHandler = function(direction){
card.count = (card.count + direction).constrain(0, card.items.length-1);
card.layout.setActiveItem(card.count);
}
var card = new Ext.Panel({
count : 0,
width : '420px',
renderTo: 'aPanel',
title: '�E�C�U�[�h',
layout:'card',
activeItem: 0,
bbar: [{
text: '�O��',
handler: navHandler.createDelegate(this, [-1])
},
'->',
{
text: '����',
handler: navHandler.createDelegate(this, [1])
}],
items: [{
html: '�X�e�b�v 1/3<br>�͂��܂�'
},{
html: '�X�e�b�v 2/3<br>�Ƃ��イ'
},{
html: '�X�e�b�v 3/3<br>�����'
}]
});
});
// --></script>
</head>
<body>
<h1>�J�[�h�^���C�A�E�g</h1>
<div id="aPanel"></div>
</body>
</html>