Determining another frames location

F

Funk

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
 
J

Jim Ley

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top