Setting Window Title On New Window

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Setting Window Title On New Window

    Why will the following code not change the window title of the new window?

    window.open "Default.htm" ,"YO"


    Daniel Morrissey Guest

  2. Similar Questions and Discussions

    1. Title Window Resizable
      I have the code that allows you to create a ResizableTitleWindow. If anyone would be interested in this please let me know and I'll share the basic...
    2. How to get the browser window title or the http url?
      I have a web application which opens a selected/given PDF file in a web browser. Example Url:...
    3. How to turn off the title bar on a MIAW window?
      In my projector the end-user can click on a button to open a MIAW window. I want the MIAW window to open up without its titlebar but, unfortunatelly...
    4. Changing Projector icon and title in task bar and alt-tab-window?
      Is there a tool to change the projector icon und title to display both correct in the task bar and in the window, when switching between...
    5. Application Window Title
      Does anyone know how to change the Window title for a standalone flash player .exe? I am publishing this app as an exe and would like to specify a...
  3. #2

    Default Re: Setting Window Title On New Window

    Is "YO" not being put in the title of the browswer. It should be with the
    IE setting title name appended to it.

    Unless there is a broswer setting that is preventing it, syntaxtically that
    is correct.

    bill

    "Daniel Morrissey" <danmorrissey@cfl.rr.com> wrote in message
    news:OPCtdwiSDHA.560@TK2MSFTNGP10.phx.gbl...
    > Why will the following code not change the window title of the new window?
    >
    > window.open "Default.htm" ,"YO"
    >
    >

    William F. Robertson, Jr. Guest

  4. #3

    Default Re: Setting Window Title On New Window

    No, "YO" is not showing up in the browser title. Also, if the variable that
    I pass to the title argument of the open method contains a space, I get an
    error in the browser's status panel.

    "William F. Robertson, Jr." <wfrobertson@kpmg.com> wrote in message
    news:OtOP5ijSDHA.1252@TK2MSFTNGP10.phx.gbl...
    > Is "YO" not being put in the title of the browswer. It should be with the
    > IE setting title name appended to it.
    >
    > Unless there is a broswer setting that is preventing it, syntaxtically
    that
    > is correct.
    >
    > bill
    >
    > "Daniel Morrissey" <danmorrissey@cfl.rr.com> wrote in message
    > news:OPCtdwiSDHA.560@TK2MSFTNGP10.phx.gbl...
    > > Why will the following code not change the window title of the new
    window?
    > >
    > > window.open "Default.htm" ,"YO"
    > >
    > >
    >
    >

    Daniel Morrissey Guest

  5. #4

    Default Re: Setting Window Title On New Window

    Hi

    This is the name of the window not the title
    <title>MyWindow</title>
    So you have to set the title....

    Probably you can do this in the child
    document.write("<title>" + window.name + "</title>");

    --
    Best Regards
    Vidar Petursson
    ==============================
    Microsoft Internet Client & Controls MVP
    ==============================
    "Daniel Morrissey" <danmorrissey@cfl.rr.com> wrote in message
    news:OzYqP2tSDHA.1912@TK2MSFTNGP12.phx.gbl...
    > No, "YO" is not showing up in the browser title. Also, if the variable
    that
    > I pass to the title argument of the open method contains a space, I get an
    > error in the browser's status panel.
    >
    > "William F. Robertson, Jr." <wfrobertson@kpmg.com> wrote in message
    > news:OtOP5ijSDHA.1252@TK2MSFTNGP10.phx.gbl...
    > > Is "YO" not being put in the title of the browswer. It should be with
    the
    > > IE setting title name appended to it.
    > >
    > > Unless there is a broswer setting that is preventing it, syntaxtically
    > that
    > > is correct.
    > >
    > > bill
    > >
    > > "Daniel Morrissey" <danmorrissey@cfl.rr.com> wrote in message
    > > news:OPCtdwiSDHA.560@TK2MSFTNGP10.phx.gbl...
    > > > Why will the following code not change the window title of the new
    > window?
    > > >
    > > > window.open "Default.htm" ,"YO"
    > > >
    > > >
    > >
    > >
    >
    >

    Vidar Petursson Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139