I am looking for a popup code that pops up a simple object. Basically I want to make an object pop up and be close able.
I would recommend you Twitter Bootstrap - A CSS framework that has it's own JavaScript for easier web site building. Or you can install jQuery UI.
script type="text/javascript"> // Popup window code function newPopup(url) { popupWindow = window.open( url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes') } </script> <a href="JavaScript:newPopup('http://www.quackit.com/html/html_help.cfm');">Open a popup window</a>