Opens a modal window that displays the specified web page.
A modal window displays the page specified by the url
property over
your current page. Unlike a lightbox, which
is opened using the openLightbox()
function, the window
opened by openModal()
is not part of your site structure.
Only one modal window can be open at any given time. Therefore, opening a modal window closes an already open modal window if there is one.
Note: The specified url
must be an HTTPS URL.
The URL of the page to show in the modal window.
The options used for the modal window.