URL to open in maximized window state within current window

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ismailc
    New Member
    • Sep 2006
    • 200

    #1

    URL to open in maximized window state within current window

    Hi, I need help please!

    I have a link on a page, where i wont it open in maximized window state.

    the "_parent" allows to open in current window, but the maindow is never at maxmize state.
    I want the url to open in current window which it does but also force to open in maxize window state:

    Code:
    <td rowspan="2"><a href="http://srv8-z199/fcFlow/Home.aspx" target="_parent"> height="127"></a></td>
    Regards
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You can resize the browser using the window.resizeTo () method, but ensure you only use it when the user will thank you for it. It can be extremely irritating to browse to a site which then decides to resize your browser for you.

    Comment

    • ismailc
      New Member
      • Sep 2006
      • 200

      #3
      Thank You, This is great - The url opens application.
      Two minded in doing in now though... :)

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        You're welcome and I'm happy that I've got you thinking. For an intranet application, a select user base, controlled environment, sure, go ahead. The users know what to expect and there's no problem. On the wider WWW, a visitor stumbles upon your site only to have their browser "hijacked" most likely means that you'll never see them again, though it can of course be avoided (with the NoScript Firefox addon, for example, or just simply having JavaScript disabled).

        Comment

        Working...