Professional Web Applications Themes

Setting Window Title On New Window - ASP.NET General

Why will the following code not change the window title of the new window? window.open "Default.htm" ,"YO"...

Sponsored Links
  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"


    Sponsored Links
    Daniel Morrissey Guest

  2. #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" <danmorrisseycfl.rr.com> wrote in message
    news:OPCtdwiSDHA.560TK2MSFTNGP10.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

  3. #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." <wfrobertsonkpmg.com> wrote in message
    news:OtOP5ijSDHA.1252TK2MSFTNGP10.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" <danmorrisseycfl.rr.com> wrote in message
    > news:OPCtdwiSDHA.560TK2MSFTNGP10.phx.gbl...
    > > Why will the following code not change the window title of the new
    window?
    > >
    > > window.open "Default.htm" ,"YO"
    > >
    > >
    >
    >

    Daniel Morrissey Guest

  4. #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
    doent.write("<title>" + window.name + "</title>");

    --
    Best Regards
    Vidar Petursson
    ==============================
    Microsoft Internet Client & Controls MVP
    ==============================
    "Daniel Morrissey" <danmorrisseycfl.rr.com> wrote in message
    news:OzYqP2tSDHA.1912TK2MSFTNGP12.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." <wfrobertsonkpmg.com> wrote in message
    > news:OtOP5ijSDHA.1252TK2MSFTNGP10.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" <danmorrisseycfl.rr.com> wrote in message
    > > news:OPCtdwiSDHA.560TK2MSFTNGP10.phx.gbl...
    > > > Why will the following code not change the window title of the new
    > window?
    > > >
    > > > window.open "Default.htm" ,"YO"
    > > >
    > > >
    > >
    > >
    >
    >

    Vidar Petursson Guest

Similar Threads

  1. Title Window Resizable
    By bdeen in forum Macromedia Flex General Discussion
    Replies: 5
    Last Post: November 18th, 01:54 PM
  2. How to get the browser window title or the http url?
    By Venkata_Vadnala@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 5
    Last Post: February 5th, 04:25 AM
  3. Setting a popup window's base target to caller window?
    By saf_123 in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: July 6th, 11:01 AM
  4. How to turn off the title bar on a MIAW window?
    By GYULA CZINANO in forum Macromedia Director Basics
    Replies: 2
    Last Post: August 31st, 03:49 PM
  5. Application Window Title
    By mmonet webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 3
    Last Post: July 9th, 04:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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