hello everybody!
i need help, i want to develop a widget application, and i want it have more than one html page,
how can i open other html page from the index.html? i have used window.open function ,but it's not success. thank every body!!
hello everybody!
i need help, i want to develop a widget application, and i want it have more than one html page,
how can i open other html page from the index.html? i have used window.open function ,but it's not success. thank every body!!
This is nice way
you have problem first.... and after getting answer yourself, you provide it here!....
It will be good if you write solution here so other person can get help.
-------------------------------------
Thanks & Regards
Ram
Symbian OS 9.2/9.3,S60 3rd FP1/FP2,Carbide.c++v2.0
It is good to note that when using <a href='local file' to switch pages you will lose window.widget -object after switching pages. However this seems to work with devices that use 7.1 browser (N97, N97-mini and some 3.2 devices).
The recommended way is to use DOM manipulation and generate content on the fly.
Br,
Ilkka
Hi,
WRT works just with one html. You should use several divs and manipulate the DOM with javascript (show and hide methods).
Javier Zambrano Ferreira
thanks everybody!
i know widget suggest only use one html and use dom to creat other div. but my application is very big or diffculty, so one html cann't control ,and it's not good at update. so i want to use mult html.
but i have new problem, when i click href link to another html. it always pop a dialog to show Terms of Service,widget need GPS and so on.....,oh,i don't need it ,how i can shield it???
thank you!!!
You cannot hide the platform service access permission query. WRT widgets are designed to work with only one HTML page as jzferreira pointed out.
Please check the links provided in this post as they describe what is needed to develop a basic widget.
If your application is really big I would suggest that you split your Application logic (JavaScript) in multiple files and use Object oriented approach to JavaScript coding.
-Ilkka