PDA

View Full Version : Carousel text content shows to iphone screen height



Appendit
15 Mar 2011, 11:37 PM
The text contents inside the Carousel shows to iphone screen height only the remaining texts are not visible if i scroll down vertically.

Could any one help to show the full content inside the Carousel item.?

My piece of code

var panel = new Ext.Panel({
cardSwitchAnimation: 'slide',
fullscreen: true,
layout: 'fit',
dockedItems: dockedItems,
});

store.each(function(rec){
items.push({
html: '<div id="divNews" class="divNews" style="height:2000px"><h2><u>' + rec.get('title') + '</u></h2><img src="' + rec.get('img') + '" width="75" height="75" />' + rec.get('content') + '</div>'
// ,cls: 'Page ' + rec.get('cls')
});
});

var carousel = new Ext.Carousel({
items: items,
itemId: 'carousel',
scroll: 'vertical',
indicator: false,
height:2000
});
panel.add(carousel);
panel.doLayout();

cartesv
2 Jun 2011, 7:17 AM
Hello. I have the same need. Is there any way to solve this issue?

Thanks in advance.