Introduction
Modal Dialog's are not as well known to webmasters as popup windows, alert box's, and prompts,
however they give a new way of displaying information to the end-user. Modal dialogs take focus from the browser which forces users to make a decision on the window or close it before they will be allowed to resume their browsing.
The Webpage Modal Dialog script enables you to request information from the user dynamically through javascript. All that is needed is to pass an array into the function, and then disseminate the result
Layman Example:
question[0] = "What color?"
question[1] = "What plant?"
someField = answer[0]
someField = answer[1]
Demonstration
Code: With Your Function
Code: Modal Window
|