I have created an html5 application in which I open an pdf, after opening PDF my application goes to background. Is there any option to bring it back to foreground?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
pdf.jsand embed the pdf file on the same page. Then you can use thez-indexcss property to bring what ever element to the front. An element with greater stack order is always in front of an element with a lower stack order.On your user action event handler you do something like this:
myElementrepresents the element you wish to bring to the top.