code behaves differently on different servers

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

    code behaves differently on different servers

    i have a simple JS window.open function that i'm calling and it works great
    here:


    (click on "virtual tour" in the yellow text link)

    - no status bar
    - proper title in title bar (same as main window)


    now once i transferred this EXACT file (and included JS file) to the live
    location (which is with a different hosting provider btw) i have some
    issues:

    Great Lakes Brewing Co., Ohio's original craft brewery, brewing award-winning brews since 1988; independent, employee-owned, and rooted in Cleveland.

    (click the same link as before)

    - now i get a status bar!
    - the title doesn't show up correctly (the URL is automatically displayed in
    front of what i have for the title tag)
    - do a "view source" and see what i mean

    this live site is with MediaTemple btw

    anyone ever see this behavior before?

    thank you for any help you can provide!

    - kevin


  • Lee

    #2
    Re: code behaves differently on different servers

    CreepieDeCrappe r said:[color=blue]
    >
    >i have a simple JS window.open function that i'm calling and it works great
    >here:
    >
    >http://demo.creationsite.com/GLBC/www/
    >(click on "virtual tour" in the yellow text link)
    >
    >- no status bar
    >- proper title in title bar (same as main window)
    >
    >
    >now once i transferred this EXACT file (and included JS file) to the live
    >location (which is with a different hosting provider btw) i have some
    >issues:
    >
    >http://www.greatlakesbrewing.com/
    >(click the same link as before)
    >
    >- now i get a status bar!
    >- the title doesn't show up correctly (the URL is automatically displayed in
    >front of what i have for the title tag)
    >- do a "view source" and see what i mean[/color]

    I see exactly the same thing at both sites (status bar and URL in title), using
    IE6 and Firefox.

    Comment

    • CreepieDeCrapper

      #3
      Re: code behaves differently on different servers

      first off, thank you for testing

      i'm using the same browsers as you (on xp pro) and get different results as
      indicated in my first post... not sure why, it's a very odd issue

      if you have the time, view source the popup and look at the <title> tag...
      notice the URL isn't in there... any ideas here?


      "Lee" <REM0VElbspamtr ap@cox.net> wrote in message
      news:d2uej602ia l@drn.newsguy.c om...[color=blue]
      > CreepieDeCrappe r said:[color=green]
      >>
      >>i have a simple JS window.open function that i'm calling and it works
      >>great
      >>here:
      >>
      >>http://demo.creationsite.com/GLBC/www/
      >>(click on "virtual tour" in the yellow text link)
      >>
      >>- no status bar
      >>- proper title in title bar (same as main window)
      >>
      >>
      >>now once i transferred this EXACT file (and included JS file) to the live
      >>location (which is with a different hosting provider btw) i have some
      >>issues:
      >>
      >>http://www.greatlakesbrewing.com/
      >>(click the same link as before)
      >>
      >>- now i get a status bar!
      >>- the title doesn't show up correctly (the URL is automatically displayed
      >>in
      >>front of what i have for the title tag)
      >>- do a "view source" and see what i mean[/color]
      >
      > I see exactly the same thing at both sites (status bar and URL in title),
      > using
      > IE6 and Firefox.
      >[/color]


      Comment

      • Grant Wagner

        #4
        Re: code behaves differently on different servers

        Service Pack 2 for Windows XP changes the behaviour of the various
        Security zones in Internet Explorer. demo.creationsi te.com is most
        likely in your Intranet zone, where Internet Explorer 6.0.2900 does
        _not_ add the URL to the titlebar. www.greatlakesbrewing.com is most
        likely in your Internet zone, where Internet Explorer 6.0.2900 in it's
        default configuration _does_ add the URL to the titlebar.

        There is _nothing_ you can do about this, it is a security feature added
        to Internet Explorer in Windows XP Service Pack 2 to allow people to see
        at a glance that the link they clicked on which opened a new window that
        navigated to http://www.ebay.com@somemalicioussite.com is not ebay.com,
        but in fact is somemalicioussi te.com.

        The same information appears in the titlebar of recent Gecko-based
        browsers when a new window without an address bar is opened.

        I'm sure there is some configuration or registry change an individual
        could make that would change this behaviour, but you can't affect that
        change from your Web site.

        You'll just have to live with it, because the people using your site are
        seeing the URL in the titlebar.

        "CreepieDeCrapp er" <missmuffy33@ya hoo.com> wrote in message
        news:PXG4e.2860 61$FM3.125861@f ed1read02...[color=blue]
        > first off, thank you for testing
        >
        > i'm using the same browsers as you (on xp pro) and get different
        > results as indicated in my first post... not sure why, it's a very odd
        > issue
        >
        > if you have the time, view source the popup and look at the <title>
        > tag... notice the URL isn't in there... any ideas here?
        >
        >
        > "Lee" <REM0VElbspamtr ap@cox.net> wrote in message
        > news:d2uej602ia l@drn.newsguy.c om...[color=green]
        >> CreepieDeCrappe r said:[color=darkred]
        >>>
        >>>i have a simple JS window.open function that i'm calling and it works
        >>>great
        >>>here:
        >>>
        >>>http://demo.creationsite.com/GLBC/www/
        >>>(click on "virtual tour" in the yellow text link)
        >>>
        >>>- no status bar
        >>>- proper title in title bar (same as main window)
        >>>
        >>>
        >>>now once i transferred this EXACT file (and included JS file) to the
        >>>live
        >>>location (which is with a different hosting provider btw) i have some
        >>>issues:
        >>>
        >>>http://www.greatlakesbrewing.com/
        >>>(click the same link as before)
        >>>
        >>>- now i get a status bar!
        >>>- the title doesn't show up correctly (the URL is automatically
        >>>displayed in
        >>>front of what i have for the title tag)
        >>>- do a "view source" and see what i mean[/color]
        >>
        >> I see exactly the same thing at both sites (status bar and URL in
        >> title), using
        >> IE6 and Firefox.[/color][/color]

        --
        Grant Wagner <gwagner@agrico reunited.com>
        comp.lang.javas cript FAQ - http://jibbering.com/faq


        Comment

        • CreepieDeCrapper

          #5
          Re: code behaves differently on different servers

          wow, nice catch
          that is exactly what is happening :)

          any input about the status bar showing up? my code is set to prevent it yet
          it still displays... maybe for the same reason the URL is in the title bar
          (i.e. zoning security, etc.)


          "Grant Wagner" <gwagner@agrico reunited.com> wrote in message
          news:hed5e.265$ 3d3.1305@news2. mts.net...[color=blue]
          > Service Pack 2 for Windows XP changes the behaviour of the various
          > Security zones in Internet Explorer. demo.creationsi te.com is most likely
          > in your Intranet zone, where Internet Explorer 6.0.2900 does _not_ add the
          > URL to the titlebar. www.greatlakesbrewing.com is most likely in your
          > Internet zone, where Internet Explorer 6.0.2900 in it's default
          > configuration _does_ add the URL to the titlebar.
          >
          > There is _nothing_ you can do about this, it is a security feature added
          > to Internet Explorer in Windows XP Service Pack 2 to allow people to see
          > at a glance that the link they clicked on which opened a new window that
          > navigated to http://www.ebay.com@somemalicioussite.com is not ebay.com,
          > but in fact is somemalicioussi te.com.
          >
          > The same information appears in the titlebar of recent Gecko-based
          > browsers when a new window without an address bar is opened.
          >
          > I'm sure there is some configuration or registry change an individual
          > could make that would change this behaviour, but you can't affect that
          > change from your Web site.
          >
          > You'll just have to live with it, because the people using your site are
          > seeing the URL in the titlebar.
          >
          > "CreepieDeCrapp er" <missmuffy33@ya hoo.com> wrote in message
          > news:PXG4e.2860 61$FM3.125861@f ed1read02...[color=green]
          >> first off, thank you for testing
          >>
          >> i'm using the same browsers as you (on xp pro) and get different results
          >> as indicated in my first post... not sure why, it's a very odd issue
          >>
          >> if you have the time, view source the popup and look at the <title>
          >> tag... notice the URL isn't in there... any ideas here?
          >>
          >>
          >> "Lee" <REM0VElbspamtr ap@cox.net> wrote in message
          >> news:d2uej602ia l@drn.newsguy.c om...[color=darkred]
          >>> CreepieDeCrappe r said:
          >>>>
          >>>>i have a simple JS window.open function that i'm calling and it works
          >>>>great
          >>>>here:
          >>>>
          >>>>http://demo.creationsite.com/GLBC/www/
          >>>>(click on "virtual tour" in the yellow text link)
          >>>>
          >>>>- no status bar
          >>>>- proper title in title bar (same as main window)
          >>>>
          >>>>
          >>>>now once i transferred this EXACT file (and included JS file) to the
          >>>>live
          >>>>location (which is with a different hosting provider btw) i have some
          >>>>issues:
          >>>>
          >>>>http://www.greatlakesbrewing.com/
          >>>>(click the same link as before)
          >>>>
          >>>>- now i get a status bar!
          >>>>- the title doesn't show up correctly (the URL is automatically
          >>>>displayed in
          >>>>front of what i have for the title tag)
          >>>>- do a "view source" and see what i mean
          >>>
          >>> I see exactly the same thing at both sites (status bar and URL in
          >>> title), using
          >>> IE6 and Firefox.[/color][/color]
          >
          > --
          > Grant Wagner <gwagner@agrico reunited.com>
          > comp.lang.javas cript FAQ - http://jibbering.com/faq
          >[/color]


          Comment

          • Grant Wagner

            #6
            Re: code behaves differently on different servers

            The status bar appears for the same reason the titlebar has the URL in
            it, to prevent a malicious Web site from opening a new window that
            pretends to be someone else and tricking the user into doing things they
            wouldn't normally do. Again, you have no control over this.

            If a user of Internet Explorer 6.0.2900 (comes with Windows XP Service
            Pack 2) wishes, they can go to Tools > Internet Options > Security tab >
            choose the appropriate zone and click Custom Level... > Miscellaneous >
            and uncheck Allow script-initiated windows without size or position
            constraints. But you have no way to do that programmaticall y.

            Recent Gecko-based browsers do this as well, and I would imagine that
            Opera 8 will do this too (if 7.5 doesn't already do it).

            "CreepieDeCrapp er" <missmuffy33@ya hoo.com> wrote in message
            news:lud5e.27$6 3.19@fed1read02 ...[color=blue]
            > wow, nice catch
            > that is exactly what is happening :)
            >
            > any input about the status bar showing up? my code is set to prevent
            > it yet it still displays... maybe for the same reason the URL is in
            > the title bar (i.e. zoning security, etc.)
            >
            >
            > "Grant Wagner" <gwagner@agrico reunited.com> wrote in message
            > news:hed5e.265$ 3d3.1305@news2. mts.net...[color=green]
            >> Service Pack 2 for Windows XP changes the behaviour of the various
            >> Security zones in Internet Explorer. demo.creationsi te.com is most
            >> likely in your Intranet zone, where Internet Explorer 6.0.2900 does
            >> _not_ add the URL to the titlebar. www.greatlakesbrewing.com is most
            >> likely in your Internet zone, where Internet Explorer 6.0.2900 in
            >> it's default configuration _does_ add the URL to the titlebar.
            >>
            >> There is _nothing_ you can do about this, it is a security feature
            >> added to Internet Explorer in Windows XP Service Pack 2 to allow
            >> people to see at a glance that the link they clicked on which opened
            >> a new window that navigated to
            >> http://www.ebay.com@somemalicioussite.com is not ebay.com, but in
            >> fact is somemalicioussi te.com.
            >>
            >> The same information appears in the titlebar of recent Gecko-based
            >> browsers when a new window without an address bar is opened.
            >>
            >> I'm sure there is some configuration or registry change an individual
            >> could make that would change this behaviour, but you can't affect
            >> that change from your Web site.
            >>
            >> You'll just have to live with it, because the people using your site
            >> are seeing the URL in the titlebar.
            >>
            >> "CreepieDeCrapp er" <missmuffy33@ya hoo.com> wrote in message
            >> news:PXG4e.2860 61$FM3.125861@f ed1read02...[color=darkred]
            >>> first off, thank you for testing
            >>>
            >>> i'm using the same browsers as you (on xp pro) and get different
            >>> results as indicated in my first post... not sure why, it's a very
            >>> odd issue
            >>>
            >>> if you have the time, view source the popup and look at the <title>
            >>> tag... notice the URL isn't in there... any ideas here?
            >>>
            >>>
            >>> "Lee" <REM0VElbspamtr ap@cox.net> wrote in message
            >>> news:d2uej602ia l@drn.newsguy.c om...
            >>>> CreepieDeCrappe r said:
            >>>>>
            >>>>>i have a simple JS window.open function that i'm calling and it
            >>>>>works great
            >>>>>here:
            >>>>>
            >>>>>http://demo.creationsite.com/GLBC/www/
            >>>>>(click on "virtual tour" in the yellow text link)
            >>>>>
            >>>>>- no status bar
            >>>>>- proper title in title bar (same as main window)
            >>>>>
            >>>>>
            >>>>>now once i transferred this EXACT file (and included JS file) to
            >>>>>the live
            >>>>>location (which is with a different hosting provider btw) i have
            >>>>>some
            >>>>>issues:
            >>>>>
            >>>>>http://www.greatlakesbrewing.com/
            >>>>>(click the same link as before)
            >>>>>
            >>>>>- now i get a status bar!
            >>>>>- the title doesn't show up correctly (the URL is automatically
            >>>>>displaye d in
            >>>>>front of what i have for the title tag)
            >>>>>- do a "view source" and see what i mean
            >>>>
            >>>> I see exactly the same thing at both sites (status bar and URL in
            >>>> title), using
            >>>> IE6 and Firefox.[/color][/color][/color]


            Comment

            Working...