View Full Version : Pop up message when clicked on a link

08-05-2008, 12:53 PM
Hi all,
I want to open a popup message when a user clicks on a link. Please refer to the screen shot I've attached.

Your help is highly apprieciated.


08-06-2008, 01:22 AM
What you show in the picture would not strictly be called a popup (http://www.blazonry.com/javascript/windows.php), but perhaps more of a type of modal window (http://en.wikipedia.org/wiki/Modal_window), in a very loose sense of the definition. (some good ones found here (http://www.ajaxrain.com/tagcloud.php?tag=modal#script)). In my experience, modals in javascript don't usually require user interaction (like it says in the Wikipedia article) depending on the configuration; they can be used for a variety of situations. One common thing though, is that it is a "popup window", but does not actually open another browser window (a practice much overused in the Web 1.0 age). A common variation of the modal window is a lightbox (http://www.ajaxrain.com/tagcloud.php?tag=lightbox#script), usually used for picture galleries.