Languages

Menu
Sites
Language
How to control which page to show

Hi All

I'm developing a web app on tizen.

Now I have three "pages" in my "index.html" doc  by using

"<div data-role='page'>"

I want to show the page base on the page stayed before exit every

time I launch the web app! Now I know which page should I show when launch it,

but how to make the page as the default page when launch it?

 

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 Replies
Lakshmi Grandhi
you can use " window.location.href = "#two" ;" method inside "init" function Thanks Lakshmi
tattoo wu
It works.