sorry, but need to post entire frameset here to ask my question:
<frameset rows="79,344,107">
<frame name="header" src="header.html">
<frame name="player" src="mediaselect.html">
<frameset cols="353,*">
<frame name="left" src="left.html">
<frame name="right" src="right.html">
</frameset>
</frameset>
I need to ref. from within right.html to mediaselect.html... (i.e.,
from frame name "right" to frame name "player"..) I need to say if
such-and-such a url is loaded into frame named "player" then do
such-and-such... I tried:
-- parent.frames.player.location // and
-- parent.parent.frames.player.location
I haven't done JS w/frames in a while, so I forget exactly how you ref.
to another frame in frameset when you're dealing in nested framesets..
thank you...
Frances Del Rio 4 1654
just wanted to say (sorry, posted this last night, was tired) that I
get errors that say "parent.frames.player.location" or whatever I try
is "not an object.." thank you.. Frances
Frances Del Rio <fd***@yahoo.com> wrote in message news:<2l************@uni-berlin.de>... sorry, but need to post entire frameset here to ask my question:
<frameset rows="79,344,107"> <frame name="header" src="header.html"> <frame name="player" src="mediaselect.html">
<frameset cols="353,*"> <frame name="left" src="left.html"> <frame name="right" src="right.html"> </frameset> </frameset>
I need to ref. from within right.html to mediaselect.html... (i.e., from frame name "right" to frame name "player"..) I need to say if such-and-such a url is loaded into frame named "player" then do such-and-such... I tried:
-- parent.frames.player.location // and -- parent.parent.frames.player.location
I haven't done JS w/frames in a while, so I forget exactly how you ref. to another frame in frameset when you're dealing in nested framesets.. thank you...
Frances Del Rio
In article <2l************@uni-berlin.de>, fd***@yahoo.com enlightened
us with... sorry, but need to post entire frameset here to ask my question:
<frameset rows="79,344,107"> <frame name="header" src="header.html"> <frame name="player" src="mediaselect.html">
<frameset cols="353,*"> <frame name="left" src="left.html"> <frame name="right" src="right.html"> </frameset> </frameset>
I need to ref. from within right.html to mediaselect.html...
If you don't need to worry about being in someone else's frameset, you
can use
top.frames['player'].location.href;
to get the string representation of the URL. [1]
Otherwise, I *think* you can use
self.parent.parent.frames['player'].location.href;
but I haven't played with nested framesets in a long time.
I believe that if the frame has loaded content outside your domain, this
will fail as a security violation.
[1] IIRC, using just window.location returns a Location object, not a
string.
--
--
~kaeli~
Hey, if you got it flaunt it! If you don't stare at someone
who does. Just don't lick the TV screen, it leaves streaks. http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace
thank you..
now it's saying that this stmt is missing a ")" ....
if (self.parent.parent.frames['player'].location.href; == 'wmp.html') {
if I do
if (document.all) {
it's fine, but if I do above stmt it says I'm missing a ")"... ?????
also, what's the difference betw.
if (whatever.location == 'page.html') // and
if (whatever.location.href == 'page.html')
thank you.. Frances
kaeli wrote: In article <2l************@uni-berlin.de>, fd***@yahoo.com enlightened us with...
sorry, but need to post entire frameset here to ask my question:
<frameset rows="79,344,107"> <frame name="header" src="header.html"> <frame name="player" src="mediaselect.html">
<frameset cols="353,*"> <frame name="left" src="left.html"> <frame name="right" src="right.html"> </frameset> </frameset>
I need to ref. from within right.html to mediaselect.html...
If you don't need to worry about being in someone else's frameset, you can use
top.frames['player'].location.href;
to get the string representation of the URL. [1] Otherwise, I *think* you can use
self.parent.parent.frames['player'].location.href;
but I haven't played with nested framesets in a long time.
I believe that if the frame has loaded content outside your domain, this will fail as a security violation.
[1] IIRC, using just window.location returns a Location object, not a string.
In article <2l************@uni-berlin.de>, fd***@yahoo.com enlightened
us with... thank you..
now it's saying that this stmt is missing a ")" ....
if (self.parent.parent.frames['player'].location.href;
Um, get the semi colon out of there if it's part of an if statement. :)
if (self.parent.parent.frames['player'].location.href == 'wmp.html') {
--
--
~kaeli~
The man who fell into an upholstery machine is fully
recovered. http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: RichardM |
last post by:
I have the following HTML page (see bottom of message) that consists of a
frame with two windows. The top window is always the menu, and the bottom
window is by default a document named...
|
by: Charles Crume |
last post by:
Hello;
My "index.htm" page has 3 frames (content, navigation bar, and logo).
I set the "SRC" of the "logo" frame to a blank gif image and then want to
change it's contents after the other two...
|
by: Julius Mong |
last post by:
Dear all, I have the following:
<html>
<head>
....
</head>
<frameset ...>
<frame .../>
<frameset name="page" rows="60,*" ...>
<frame src='top.html' .../>
|
by: Robert |
last post by:
Hi,
I'm trying to make a slide show, with two frames: on the left frame small
thumbnails, and on the right frame the big sized image. Of course when the
user clicks on a thumbnail in the left...
|
by: Frame |
last post by:
I'm looking for tutorials or articles considering HTML Frames and how to
handle them with Javascript.
E.g. samples how Frames can exchange information, can a Frame instruct
other Frame to update...
|
by: Andy Fish |
last post by:
Hi
I have hunted around for this one but been unable to find any definitive
answer.
I have a simple frameset with one frame above another. by clicking a
checkbox or some such in the lower...
|
by: Rob |
last post by:
I know, I know, don't use frames. Well, I'm stuck with these frames and
I'm trying to add functionality without a complete redsign. You can
look at this as a nostalgic journey.
Anyway, I've got...
|
by: Leoa |
last post by:
Hi All,
I'm having a hard time figuring out the DOM syntax to get one frame
that has thumnails of images to display at full size in another frame
(onmouseover).
I looked at a couple...
|
by: sayid |
last post by:
Hello,
I have a problem when altering a DIV-element from another frame.
The frameset looks like this:
<frameset rows=0,0,* border=0>
<frame name=header src=/header.htm scrolling=no...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
| |