PDA

View Full Version : Link on button



Tascha
3 Nov 2009, 1:54 AM
Hello!

How can I make a linking-button?
I want to make a button in this way:


xtype:'button',
text: "<a href='http://www.google.de'>SSH</a>",
icon: '/images/ssh.PNG'



But when I click the button, nothing happend.

Someone has an idea?
What is wrong?

Thx!

Tascha
3 Nov 2009, 3:44 AM
Nobody has an idea? Or is it not possible?

Animal
3 Nov 2009, 3:47 AM
Did you look?

http://www.extjs.com/forum/showthread.php?t=80639&highlight=LinkButton

Tascha
3 Nov 2009, 3:56 AM
Sorry, I thought it would be easier and the button has any options for that, but I find nothing.

So thanks, I will try the linkbutton.


Edit:

Works good, thanks