Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

S60 Widgets and iframes

From Wiki
Jump to: navigation, search
Article Metadata
Created: jario (25 Oct 2007)
Last edited: hamishwillee (26 Jul 2012)

Compatibility: Web Runtime in S60 3rd Edition, Feature Pack 2


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.


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.
<link rel="stylesheet" type="text/css" href="iframing.css"/>
<img src="inbox.png"/>

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-->
This page was last modified on 26 July 2012, at 05:09.
71 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.