Hi,
ive being trying to add an image to my widget where i tap the image and the app closes.. Im a tad bit stuck but i did find this
is that any use ?Code:<div id="Exit" title="" class="PushableBlock" onclick= "_1();"> Exit </div>
Hi,
ive being trying to add an image to my widget where i tap the image and the app closes.. Im a tad bit stuck but i did find this
is that any use ?Code:<div id="Exit" title="" class="PushableBlock" onclick= "_1();"> Exit </div>
Hi
In my opinion it does not : all here are a custom specific objects -- function, CSS class , etc.... - there is no any system call in that code fragment.
By default right soft key is assigned to the "Exit" function, which terminates a running widget. To alter default behavior you need to use setRightSoftkeyLabel()
Have a look at the article "Managing widgets on mobile devices" about widget life cycle and how to alter it by using widget.onhide, widget.onexit events
Regards,
Igor
Hi,
calling widow.close() should do the trick.
Here is an old thread which has sample code from Jappit:
http://www.developer.nokia.com/Commu...l=1#post639055
Br,
Ilkka