470,600 Members | 1,527 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,600 developers. It's quick & easy.

Determining another frames location

Hi,

I am currently creating a system that will support web based research. The
idea is that the researcher is able to use Internet Explorer or Mozilla, or
whichever browser to search for information and then be able to paste little
tidbits of information to a seperate frame which will then be associated
with the page they are viewing in the main page.

So basically you have a 'main' frame which the researcher uses to google,
and surf all over the web, with another 'quotes' frame which points to a
local webpage which submits quotes and the location of the 'main' frame to
our database.

The problem, as I am sure that most of you are aware is that calling

myLocation = parent.frames.main.location.href;

from the 'quotes' frame results in a permission denied error in internet
exporer. I can fully appreciate why this may be, but for my system, the
ability to call this will stop me from having to custom write an application
using the COM internet explorer control.

Does anyone have a hack to allow an IE frame to get the location of the
other frames accross differing domains? Or any other ideas to get this
functionality?
Thanks
Jul 20 '05 #1
1 1372
On Sat, 3 Jan 2004 23:34:01 +1100, "Funk" <Fu**@casadelfunk.com>
wrote:
I am currently creating a system that will support web based research. The
idea is that the researcher is able to use Internet Explorer or Mozilla, or
whichever browser to search for information and then be able to paste little
tidbits of information to a seperate frame which will then be associated
with the page they are viewing in the main page.


Don't bother reinventing the wheel, just get them to use Annotea, it
exists there are clients for a variety of browsers and platforms.

There's no way to violate the security you want.

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Da Costa Gomez | last post: by
1 post views Thread by Aki | last post: by
2 posts views Thread by Muffinman | last post: by
5 posts views Thread by Audrius | last post: by
6 posts views Thread by August Karlstrom | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.