I want to have a javascript overlay box load on startup inviting users to participate in a feedback survey. How can I do this. I do not want a separate window.
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.
Christopher,
It sounds like you want a non-intrusive “pop-up” dialog, but for it just to overlay the main page and not show up in a separate browser window. “jQuery UI” has lots of built-in goodies like this. A simple example of the code may look like this:
For a live demo of the code above, as well as more details, visit:
http://jqueryui.com/demos/dialog/
Hope that helps.
-tjw