how can I open a modal window using javascript only. I can’t use own html-file so I have to pass html-data directly to method which will show window. Could you help me with this?
upd:
I can’t use any own library.
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.
Links found on google (only partially) related to the question that show this issue is not unique. They have not been reviewed.
http://choosedaily.com/1178/15-jquery-popup-modal-dialog-plugins-tutorials/
http://www.webdesignbooth.com/15-jquery-plugins-to-create-an-user-friendly-tooltip/
http://javascript.about.com/library/blmodald3.htm
http://www.digitalmediaminute.com/article/2021/css-and-javascript-modal-dialogs
http://okonet.ru/projects/modalbox/
http://msdn.microsoft.com/en-us/magazine/cc164247.aspx