title: A working method to open a webpage in new window?
body: <p>I have been trying to write a code in sencha touch, which has a button and when i click on that , it should open a webpage as a pop-up in a new window . </p>
  
  <ol>
  <li><p>Window.open()-I cannot use this method because it doesn't work fine
  in phones.Though I realise this is the easiest way to open a new
  browser window.</p></li>
  <li><p>document.location.href=url - This method opens the URL in the same<br>
  page , but I want it to be opened in a new window as pop-up.</p></li>
  </ol>
  
  <p>Is there any other way to open a page in a new window when a user clicks a button, Below is my code </p>
  
  <pre><code>Ext.application({
      name: 'Opening new page',
  
      launch: function() {
          Ext.create("Ext.tab.Panel", {
              fullscreen: false,
              items: [
                  {
                      xtype: 'button',
                      text: 'click to open google',
                      ui: 'confirm',
                      handler: function() {
                          document.location.href=("http://www.google.com/");
                      }
                  }
              ]
          });
      }
  });
  </code></pre>