15 Replies Latest reply: Jul 15, 2010 9:42 AM by GESYMSB RSS

    Moving and Positioning the Browser

    GESYMSB Community Member

      I am trying to add a java scrip code to a test page, but for some reason is not working.
      However on the website where I got this, the examples works.

      I am using IE7 and Dreamweaver CS4

       

      Here is the complete code:

       

      !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <title>Untitled Document</title>
      </head>
      <body>

      <script type="text/javascript">
      <script language="JavaScript"><!--
      self.moveTo(0,0)
      self.resizeTo(width=800,height=600)
      //-->
      </script>


      </body>
      </html>


      Any ideas ?      Thanks