语言

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?

 

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

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