473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1479
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Da Costa Gomez | last post by:
Hi all, I've been eluded the last couple of *days* on the onload mystery within the frame and function context. Problem is as follows: - frameset with two frames. One called scripts and the...
2
by: relaxedrob | last post by:
Hi All! I have a frameset document and I want each mainFrame document to have the following ability: - be viewed by itself (i.e. without frames if within frameset). - be viewed within frame...
1
by: Aki | last post by:
Hi! I've been trying to create a home link in a document that is shown in a frameset of two frames. My aim is to show the first documents that were shown in the frames when the frameset was...
5
by: William Krick | last post by:
I did a little searching for javascript code that will make a page "jump out" of frames when the page is loaded. There seems to be many, many ways to do this and I've added the ones I found to the...
2
by: Muffinman | last post by:
Hi, I want to split the result from window.frames.document.location;, this in order to find out which page is currently opened in the specific frame. When I do it like this: var source =...
7
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
5
by: Audrius | last post by:
Hello, Firstly, I'm not good at JS, so please be patient :) I have a quite complicated page structure, where a lot of frames are created dynamically (same applies to their names). How can I...
6
by: August Karlstrom | last post by:
Hi everyone, I have some problems loading a page into a frame from a different frame. In Firefox and Explorer the lower frame displays "Test..." but in some older version of Safari it is left...
3
by: mportman300 | last post by:
Have pity on me.. i have been doing html, css, javascript squarely over 2 years... and am now doing a family project.. in my project i have decided to use a context menu script, its a menu that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.