By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,628 Members | 1,747 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,628 IT Pros & Developers. It's quick & easy.

code behaves differently on different servers

P: n/a
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

this live site is with MediaTemple btw

anyone ever see this behavior before?

thank you for any help you can provide!

- kevin
Jul 23 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Lee
CreepieDeCrapper 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.

Jul 23 '05 #2

P: n/a
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" <RE**************@cox.net> wrote in message
news:d2*********@drn.newsguy.com...
CreepieDeCrapper 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.

Jul 23 '05 #3

P: n/a
Service Pack 2 for Windows XP changes the behaviour of the various
Security zones in Internet Explorer. demo.creationsite.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://ww**********@somemalicioussite.com is not ebay.com,
but in fact is somemalicioussite.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.

"CreepieDeCrapper" <mi*********@yahoo.com> wrote in message
news:PXG4e.286061$FM3.125861@fed1read02...
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" <RE**************@cox.net> wrote in message
news:d2*********@drn.newsguy.com...
CreepieDeCrapper 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.


--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #4

P: n/a
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" <gw*****@agricoreunited.com> wrote in message
news:he****************@news2.mts.net...
Service Pack 2 for Windows XP changes the behaviour of the various
Security zones in Internet Explorer. demo.creationsite.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://ww**********@somemalicioussite.com is not ebay.com,
but in fact is somemalicioussite.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.

"CreepieDeCrapper" <mi*********@yahoo.com> wrote in message
news:PXG4e.286061$FM3.125861@fed1read02...
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" <RE**************@cox.net> wrote in message
news:d2*********@drn.newsguy.com...
CreepieDeCrapper 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.


--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #5

P: n/a
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 programmatically.

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).

"CreepieDeCrapper" <mi*********@yahoo.com> wrote in message
news:lud5e.27$63.19@fed1read02...
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" <gw*****@agricoreunited.com> wrote in message
news:he****************@news2.mts.net...
Service Pack 2 for Windows XP changes the behaviour of the various
Security zones in Internet Explorer. demo.creationsite.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://ww**********@somemalicioussite.com is not ebay.com, but in
fact is somemalicioussite.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.

"CreepieDeCrapper" <mi*********@yahoo.com> wrote in message
news:PXG4e.286061$FM3.125861@fed1read02...
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" <RE**************@cox.net> wrote in message
news:d2*********@drn.newsguy.com...
CreepieDeCrapper 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.

Jul 23 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.