Page Title

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matt Tapia

    Page Title

    Does anyone know how change the HTML Page title text without using a
    code-behind page?
    I would like to do this using front side code between <script> tags.

    thanks!


  • William F. Robertson, Jr.

    #2
    Re: Page Title

    Why don't you just change it in the html title tag?

    <title>title</title>

    or

    dim bob = "new title"

    <title><%bob% ></title>

    bill

    "Matt Tapia" <mtapia@inbizse rvices.com> wrote in message
    news:Otbu8MBQDH A.1748@TK2MSFTN GP11.phx.gbl...[color=blue]
    > Does anyone know how change the HTML Page title text without using a
    > code-behind page?
    > I would like to do this using front side code between <script> tags.
    >
    > thanks!
    >
    >[/color]


    Comment

    • Showjumper

      #3
      Re: Page Title

      Add the runat =server to the title tag and make it an html generic control.
      Then do something like
      PageTitle.Inner Text = ds.Tables(0).Ro ws(0).Item("Art icleTitle")

      "Matt Tapia" <mtapia@inbizse rvices.com> wrote in message
      news:Otbu8MBQDH A.1748@TK2MSFTN GP11.phx.gbl...[color=blue]
      > Does anyone know how change the HTML Page title text without using a
      > code-behind page?
      > I would like to do this using front side code between <script> tags.
      >
      > thanks!
      >
      >[/color]


      Comment

      Working...