Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Feb 2005
    Posts
    525
    Thanks
    0
    Thanked 0 Times in 0 Posts

    On window.open, is there any way to hide the title?

    When I make a new window with javascript that doesn't have an addressbar, it automatically puts the site name in the title, is there any way to remove this? My window I need to make is so small that I can't fit my real title in there where the "http://www.singleparadox.com" is.

    Is there any way to get rid of this?
    Single Paradox
    My Site (Under construction)

    Not too bad for a 15 year old

  • #2
    Regular Coder
    Join Date
    Jul 2005
    Location
    LA, California
    Posts
    202
    Thanks
    0
    Thanked 0 Times in 0 Posts
    PHP Code:
    <html>
    <
    head>
    <
    title>
    Main Page
    </title>
    </
    head>

    <
    body onload="window:open('the.html')">
    text here
    </body>
    </
    html
    and then the.html
    PHP Code:
    <html>
    <
    head>
    <
    title>
    </
    title>
    </
    head>

    <
    body>
    text here
    </body>
    </
    html
    just leave the title blank but put in the tags on the window that gets opened
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    There are 3 kinds of ppl those who can count and those who cant
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Script-Megafest.com Coming Oh so very soon

  • #3
    Regular Coder
    Join Date
    Feb 2005
    Posts
    525
    Thanks
    0
    Thanked 0 Times in 0 Posts
    no, you don't understand, I have a window.open() right? well on the page being opened, the title is:

    Archives - Flash

    and because there is no addressbar, this is what the title looks like automatically

    http://www.singleparadox.com - Archives - Flash

    is there any way to get rid of the http://www.singleparadox.com part?
    Single Paradox
    My Site (Under construction)

    Not too bad for a 15 year old

  • #4
    Regular Coder
    Join Date
    Jul 2005
    Location
    LA, California
    Posts
    202
    Thanks
    0
    Thanked 0 Times in 0 Posts
    if i understand correctly you have a link with an action window:open(); and then that window is opened, the title automaticly has SingleParadox.com in it, correct?
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    There are 3 kinds of ppl those who can count and those who cant
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Script-Megafest.com Coming Oh so very soon

  • #5
    Regular Coder
    Join Date
    Feb 2005
    Posts
    525
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes you are correct, I didn't try your code but just looking at it I knew it wasn't what I mean't.
    Single Paradox
    My Site (Under construction)

    Not too bad for a 15 year old

  • #6
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Unfortunately no. Not since SP2 came out.

  • #7
    Regular Coder
    Join Date
    Feb 2005
    Posts
    525
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok thank you Aerospace, all I needed to know. That is unfortunate but at least I know.
    Single Paradox
    My Site (Under construction)

    Not too bad for a 15 year old

  • #8
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    It is a security issue - letting the person viewing the page know where the page they are viewing is from so that they don't think it comes from one site when it actually comes from a different site.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


  •  

    Posting Permissions

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