eriklarsson
29 Nov 2010, 12:49 AM
Hi all,
I have a quite simple question, I can't seem to wrap my head around on how the card-stack works in Sencha, would love to get some pointers on how to achieve something simple as this:
Ext.setup({
tabletStartupScreen: 'tablet_startup.png',
phoneStartupScreen: 'phone_startup.png',
icon: 'icon.png',
glossOnIcon: false,
onReady: function() {
ht = new Ext.Panel({
fullscreen: true,
layout: 'fit',
cls: 'card1',
items: [
{ html: '<div class="ht"><div class="ht_btn"><a href="card2">1</a></div></div>'}
]
})
ho = new Ext.Panel({
fullscreen: true,
layout: 'fit',
cls: 'card2',
items: [
{ html: '<div class="ht"><div class="ht_btn"><a href="card1">2</a></div></div>'}
]
})
}
});
I have a quite simple question, I can't seem to wrap my head around on how the card-stack works in Sencha, would love to get some pointers on how to achieve something simple as this:
Ext.setup({
tabletStartupScreen: 'tablet_startup.png',
phoneStartupScreen: 'phone_startup.png',
icon: 'icon.png',
glossOnIcon: false,
onReady: function() {
ht = new Ext.Panel({
fullscreen: true,
layout: 'fit',
cls: 'card1',
items: [
{ html: '<div class="ht"><div class="ht_btn"><a href="card2">1</a></div></div>'}
]
})
ho = new Ext.Panel({
fullscreen: true,
layout: 'fit',
cls: 'card2',
items: [
{ html: '<div class="ht"><div class="ht_btn"><a href="card1">2</a></div></div>'}
]
})
}
});