Okay this should be pretty simple I imagine. I have searched around but everything is over my head. I simply want to put a hyperlink in an application. This app was written by a third party and I have no experience with phonegap. When I click the link, it changes color, but proceeds to do nothing. It doesn't open the link in the app, nor does it open in a browser. So here's what I tried, thinking that it would be as simple as it seemed.
html: '<center><a href="http://www.somesite.com" target="_blank">poo</a></center>'
Here's the full bit of code in which it lies if that helps.
try {
Ext.define("app.view.login", {
extend: "Ext.Panel",
id: "login",
xtype: "login",
requires: ["app.widget.entry", "app.widget.loader", "app.widget.notification"],
config: {
fullscreen: true,
background: "white",
layout: {
type: "vbox",
align: "center",
animation: {
type: "slide"
}
},
defaults: {
width: "90%"
},
items: [{
flex: 1,
layout: {
type: "vbox",
align: "center",
pack: "justify"
},
items: [{
xtype: "spacer"
}, {
xtype: "component",
width: "100%",
html: '<center><a href="http://www.somesite.com" target="_blank">poo</a></center>'
}, {
xtype: "spacer"
}, ]
}, {
flex: 1,
layout: {
type: "vbox",
align: "center"
},
defaults: {
width: "96%"
},
items: [{
xtype: "entry",
label: "User Name",
testExists: true
}, {
flex: 1,
height: "0.5em"
}, {
xtype: "entry",
label: "Password",
type: "password",
testExists: true
}, {
flex: 1,
xtype: "spacer"
}, {
xtype: "button",
text: "Login",
width: "50%"
}, {
flex: 1,
xtype: "spacer"
}, ]
}, ]
},
})
}
Obviously I don't understand something. Any help would be great. Thanks