PDA

View Full Version : button on html image on ext.panel



arog
21 Oct 2010, 4:12 AM
hi ,
i am new at this forum and i want to ask a question
i have added new ext panel on top place of my window
and i gave a background on it ..

and i want to add buttons on it but it makes some slide on screen pls give me some advice for how to

thks for your help

this my code:



var windowpanel = new Ext.Panel({
region: 'north',
layout:'hbox',
height:'67',
html: 'img src="img/header.png" alt="bla bla"',
tbar: [{
xtype:'button,
scale:'medium'
'}]
})
......