Hello.
I am using Vista and IE7, and on some of my pages, which are pages including
frames, if one of the frames tries to set the Page Caption of the frameset
page, the caption appears as the full URL including and POST options, and in
this case, the session handles.
Is this a bug in IE7, or is there a different way of setting the frameset
page's Caption? The code I am using, in JS is:
parent.document.title = "Some title";
This works in previous versions of IE, and in all other browsers. Just not
IE7.
Thanks, Chris
Rob ^_^ - 17 Jul 2007 00:55 GMT
Hi Chris,
Nobody else has answered and I am pushed for time so this is only a
suggestion as I have not fully investigated the issue.
Check your Security Zone settings for scripting.... I just had a quick look
in IE7.... but could not find an obvious setting. I seem to remember "Allow
scripting across domains" as a setting but could not find it in IE7's.
It seems to be functionality that is aimed at anti-phishing (cloaking the
real identity of the current website) so also try it with the phishing
filter turned off.
But changing a user setting should not be an option for you.... it depends
upon what you want to achieve? Is its purpose to display the current page
title in a site that uses frames and sub-frames for site navigation?
I use an index frame on my web site to hide the current location (including
form gets) from the user. Each page has an Add to Favorites button on it to
allow users to add the current page to their Favorites/links. I don't like
to display the current documents location.href in the address bar as it
would give away some information that an informed user could use to access
my site.
Entry to the site always detects if the parent of the current document is a
frame, if not the request is redirected to the site start page, passing a
parameter of the selected document.
eg. www.mywebsite.com/info/index.aspx will be redirected (location.href) to
www.mywebsite.com/?url=info/index.aspx
Regards.
> Hello.
>
[quoted text clipped - 14 lines]
>
> Thanks, Chris
Chris Tate-Davies - 17 Jul 2007 16:02 GMT
Thanks Rob, I thought it might be something like that. However, after turning
on and off various options, I've found it to be bizarrely under:
Allow script-initiated windows without size or position constraints.
If I "enable" this, it fixes the issue.
How random
Thanks anyway, Chris
> Hi Chris,
>
[quoted text clipped - 46 lines]
> >
> > Thanks, Chris