I'm trying to figure out the best and simplest way of opening HTML pop-up windows.
UPDATE: This is not intended to spam. By pop-up I mean a new window without the toolbars. I need it for something similar to the facebook connect API.
I'm currently using a js
<script type="text/javascript">
function popUp(URL) {
id = "hello";
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=628,height=326,left = 406,top = 287');");
}
</script>
and then adding it to the link
<a href="javascript:popUp('http://www.google.com')">Pop up</A>
it works fine but I'm not sure if the method has been depreciated.