Team:Brown-Stanford/Templates/Main

From 2011.igem.org

(Difference between revisions)
Line 95: Line 95:
<script type="text/javascript">
<script type="text/javascript">
function ethics(url) {
function ethics(url) {
-
popupWindow = window.open(url,'popUpWindow','height=600,width=800,left=(screen.availwidth-width)/2,top=(screen.availheight-height)/2,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no')
+
popupWindow = window.open(url,'popUpWindow','innerHeight=600,innerWidth=800,left=(screen.availwidth-width)/2,top=(screen.availheight-height)/2,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no')
}
}
</script>
</script>

Revision as of 17:33, 24 September 2011