Create a popup window using Javascript

<p>Implement a website popup window plugin so that rich media can be embedded to it. The plugin should be able to be capable of embedding external flash videos, images like JPG, html elements. Images that are grouped together should be shown as gallery.</p>
1 answer

Using Shadowbox to implement a popup window

Download "Shadowbox" plugin.The simple way to set up Shadowbox is to include the Javascript and CSS files in the <head> of a webpage and then call Shadowbox.init, like this: <link rel="stylesheet" type="text/css" href="shadowbox.css"><script type="text/javascript" src="shadowbox.js"></script><script type="text/javascript">Shadowbox.init();</script> If you already have another JavaScript library included on your page, such as jQuery or MooTools, Shadowbox will automatically detect it and include the correct adapter for working with that library. All you need to do is make sure you include that library before you include your Shadowbox code. For example, if I were using the popular Prototype library with Shadowbox, I would do the following: <link rel="stylesheet" type="text/css" href="shadowbox.css"><script type="text/javascript" src="prototype.js"></script><script type="text/javascript" src="shadowbox.js"></script><script type="text/javascript">Shadowbox.init();</script>