iFrames in webapps

iFrames in webapps

BY 26 Jul 2013 Web Application Development

I have an iFrame in my app to show a small image pulled from a url. For some reason the iframe content launches the browser instead of displaying in line in  hte app. Has anyone else had problems with iframes on tizen?

 

Below is the config file. 

<?xml version="1.0" encoding="UTF-8"?>

<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets"

id="http://neatofun.com/Massager" version="1.0.0" viewmodes="maximized">

<tizen:application id="V6AXWw.coolapp" package="V6mWw"

required_version="2.1" />

<content src="index.html" />

<content src="about.html" />

<icon src="icon.png" />

<name>Cool app</name>

<tizen:privilege name="http://tizen.org/privilege/application.launch" />

<tizen:privilege name="http://tizen.org/privilege/network.connection" />
<tizen:allow-navigation>*.neatofun.com</tizen:allow-navigation>
<access origin=”http://neatofun.com” subdomains=”true”/>

</widget>

 
Here is the code for the iframe
 

<iframe  src=”http://neatofun.com/ads/ad.html”  border=”0″ scrolling=”no” allowtransparency=”true” width=”320px” height=”50px” style=”border: 0; width: 320px; height: 50px;”> </iframe>

 

Written by