I have an image link in my Enyo app's index.html, which I'd like to re-open in a new browser window on webOS 3.0.5, so I can reduce the size of the image in the app itself (with width= and height=), but allow the user to view it in the original format (with the possibility of a facility to expand it too?).
onLinkClick: "htmlContentLinkClick"
htmlContentLinkClick: function(inSender, inUrl){
this.$.webView.setUrl(inUrl);
}
The app's link is:
<img src="images/lookup_cpu.png">
which works fine, but adding
<a href="images/lookup_cpu.png" target="_blank">[+]</a>
does not produce the image in a new browser window when clicked.
I presume this is caused by the webOS browser not accepting local files. Anyone got any suggestions to get round this problem please?
.............Phil