This page was last modified 20:40, 6 March 2008.
S60 Widgets and iframes
From Forum Nokia Wiki
Compatibility: Web Runtime in S60 3rd Edition, Feature Pack 2
IFraming
As such iframes is not optimal solution since it's very heavyweight operation, in practice all iframes are executed as separate browser windows. Therefore it is not promoted to used iframes in Widget context since iframes can have big impact to memory consumption and overall performance Widget. You should also notice that S60 iframes does not support scrolling in Widget or Browser mode.
Example
iframes work only if they refer to a html page.
<iframe width="50" height="50" name="frm" id="frm"
marginwidth="0" marginheight="0" src="test.html"></iframe>
In test.html you can utilize any HTML techniques you prefer.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="iframing.css"/>
</head>
<body>
<img src="inbox.png"/>
</body>
</html>
Wrong way to utilize iframes is to refer something else than html page.
<!--this code will not work in real devices--> <iframe width="50" height="50" name="notworking" marginwidth="0" marginheight="0" src="kala.png"></iframe> <!--this code will not work in real devices-->
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help!Series 60 scalable skin | hussainmushahid | Themes/Carbide.ui | 3 | 2007-10-16 01:27 |
| Getting started... | activecorp | General Symbian C++ | 6 | 2006-11-29 03:03 |
| Are SDKs backward- or forward-compatible? | SwordAngel | Symbian Tools & SDKs | 12 | 2008-04-25 07:04 |
| Tutorial :: Gif animation in S60 3rd ed | comp_freak | Symbian User Interface | 9 | 2007-03-21 10:38 |
| Animates wallpapers and themes in S60 3rd ed | GLODOV | Themes/Carbide.ui | 2 | 2007-05-17 10:36 |
