Click to See Complete Forum and Search --> : Frames target...


stmasi
06-17-2003, 03:55 PM
Here's what I have...

----------
default.htm
iframe: id="main" src="1.htm"

1.htm
frames: id="head" src="a.htm"
id="navi" src="b.htm"
id="cont" src="c.htm"
id="foot" src="d.htm"

a.htm
href="z.htm" target="cont"
----------

What is the proper "target" syntax to redirect to the "cont" frame above?

Thanx.

Khalid Ali
06-17-2003, 05:07 PM
parent.frameName.location.href = ur

The above will do.l

stmasi
06-17-2003, 05:15 PM
Does that mean I'd do this:

href="parent.frameName.location.cont"

???

Thanx.

Khalid Ali
06-17-2003, 06:47 PM
Nope that means you do this

parent.frameName.location.href = url;

stmasi
06-17-2003, 06:49 PM
Is that javascript?

If so, is there a way to do it without javascript?

Thanx.

Khalid Ali
06-17-2003, 07:41 PM
your question might have confused me..post a link to your pages so that I can take a look

stmasi
06-18-2003, 04:23 PM
Anyone...

http://www.geocities.com/csstester

Anyone at all...

8^)>

stmasi
06-19-2003, 11:56 AM
Nevermind all...

I figured it out.

Thanx.