We want to be able to click portfolio/services and on click the active tab be switched and the correct item be lit up at the bottom of the screen. could anybody advise? thanks Anto
Our code:
onReady: function() {
var panel = new Ext.TabPanel({
fullscreen: true,
tabBarPosition: 'bottom',
You would just remove align: stretch from the layout configuration, and then insert the images as HTML in the components. Because the layout CSS is pure CSS, it should just size to size of the image.
If that does not work for some reason, you can always remove align: stretch, and give each container a fixed height.