html5 - Launching popup on left overlay panel in jquery mobile -


I am working on a mobile app. I have a panel and a popup, when I click on signup, the left overlay panel Should popup to launch on should not get me where I am being worng please give any suggestions Thanks in advance. Below is my code.

  & lt; Div data-role = "page" data-theme = "one" id = "demo-page" class = "my page" & gt; & Lt; Div data-role = "panel" id = "mypanel" data-position = "left" data-display = "overlay" data-position-fixed = "true" & gt; & Lt; Div data-role = "header" data-theme = "a" data-condition = "full" & gt; & Lt; H1 & gt; Settin & lt; / H1> & Lt; / Div & gt; & Lt; Div data-role = "content" & gt; & Lt; Div class = "content primary" & gt; & Lt; Ul data-roll = "list view" data-icon = "wrong" data-theme = "A" data-dividitem = "A" & gt; & Lt; Li & gt; & Lt; A href = "# signout" rel = "external" & gt; & Lt; Img src = "picture / signout page" alt = "document" category = "ui-li-icon" & gt; Sign out & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt; & Lt ;! - / content-primary - & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; Div data-role = "popup" id = "signout" data-theme = "A" square = "you-corner-all" & gt; & Lt; A href = "#" data-rel = "back" class = "ui-btn ui-corner-all ui-shadow ui-btn-a ui-icon-delete ui-btn-icon-notext ui-btn-correct" & Gt; Closed & lt; / A & gt; & Lt; Form & gt; & Lt; Div style = "padding: 10px 20px;" & Gt; & Lt; H3 style = "color: # 29a797;" & Gt; From the window & lt; / H3 & gt; & Lt; Label = "un" class = "ui-hidden-accessible" & gt; Username: & lt; / Label & gt; & Lt; Input type = "text" name = "user" id = "un" value = "" placeholder = "user name" data-theme = "a" & gt; & Lt; Button type = "submit" class = "ui-btn ui-corner-all ui-shadow ui-btn-b ui-btn-icon-left ui-icon-check" & gt; Sign in & lt; / Button & gt; & Lt; / Div & gt; & Lt; / Form & gt; & Lt; / Div & gt; & Lt; Div data-role = "header" data-condition = "fixed" data-theme = "b" & gt; & Lt; H1 & gt; Panel & lt; / H1> & Lt; A href = "# mypanel" data-relay = "popup" data-transition = "slideshow" data-icon = "bar" data-icon = "nottext" & gt; Bar & lt; / A & gt; & Lt; / Div & gt; & Lt; / Div & gt;  

You are not mentioning popups and incorrect rel Are using attribute.

  & lt; A href = "# signout" rel = "external" & gt;  

You can use this

  & lt; A href = "# signout" data-rel = "popup" data-status-to = "should be changed to original" & gt;  

Data-relay = "popup" means that the target hash is a popup and data-status-to- = "original" Popup status at the top of the Referral button


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -