This question is locked. New answers and comments are not allowed.
www.marktold.com/screencast/icenium_drawer.swf shows it best.
Tried
window.location.href= "#drawer-daily-prayers";
then
I tried .destroy() and .hide() on the login view but that did somewhat not work.
Markus
Tried
window.location.href= "#drawer-daily-prayers";
then
I tried .destroy() and .hide() on the login view but that did somewhat not work.
Markus
<
div
data-role
=
"view"
id
=
"drawer-log-in"
data-layout
=
"drawer-layout"
data-title
=
"Log-in"
>
<
div
id
=
"not-logged-in"
>
<
ul
data-role
=
"listview"
data-style
=
"inset"
data-bind
=
"invisible: isLoggedIn"
>
<
li
>
<
label
>
Database-ID
<
input
type
=
"text"
name
=
"dpdID"
id
=
"dpdID"
value
=
""
placeholder
=
"Database ID"
/>
</
label
>
</
li
>
<
li
>
<
label
>
E-Mail
<
input
type
=
"text"
name
=
"uEmail"
id
=
"uEmail"
value
=
""
placeholder
=
"E-mail"
/>
</
label
>
</
li
>
<
li
>
<
label
>
Password
<
input
type
=
"password"
name
=
"uPasswort"
id
=
"uPasswort"
value
=
""
placeholder
=
"Password"
/>
</
label
>
</
li
>
<
li
>
<
a
data-role
=
"button"
onclick
=
"getTheUserData(dpdID.value, uEmail.value, uPasswort.value)"
data-icon
=
"contacts"
href
=
"drawer-log-in"
>log-in</
a
>
<
br
/><
br
/>
<
span
id
=
"login-error"
style
=
"color:red;font-size:0.8em"
></
span
>
</
li
>
</
ul
>
</
div
>
<
div
id
=
"logged-in"
style
=
"display:none;"
>
Logged in View
</
div
>
</
div
>
<
div
data-role
=
"view"
id
=
"drawer-daily-prayers"
data-layout
=
"drawer-layout"
data-title
=
"Daily Prayers"
>
<
div
> Daily prayers</
div
>
</
div
>