A quick and dirty JavaScript pop-up

Digging through my stuff I found a simple JavaScript code I’ve used to create Pop-up windows AND allows for you to customize….simple, quick and dirty…

function popUp(doc) { eval("page" + id + " = window.open(doc, '" + id + "', 
toolbar=0,scrollbars=0,location=0, statusbar=1, menubar=0,resizable=1,
width=535,height=800, left = 390,top = 25');"); }

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>