Forum Moderators: open

Message Too Old, No Replies

links - iframe inside a frameset (2)

         

lisboa

8:44 pm on Mar 17, 2005 (gmt 0)

10+ Year Member



On Dec 3, ken4runner posted a question about frames and iframes. Now i have a similar question so i'm using his schema:

**********************************
*-----------------------------------------*
*---------- top_nav ----------------------*
*-----------------------------------------*
**********************************
*-----------*-----------------------------*
*- left_nav -*--------- content -----------*
*-----------*-----------------------------*
*-----------*-----------------------------*
*-----------*-----------------------------*
*-----------*------**************-----*
*-----------*------*--- c_iframe ---*-----*
*-----------*------*---------------*-----*
*-----------*------*---------------*-----*
*-----------*------*---------------*-----*
*-----------*------**************-----*
*-----------*-----------------------------*
**********************************

I have a menu in left_nav frame and i want to change the pages in c_iframe.

If i use <a href="somepage.html" target="c_iframe">link</a> it works fine in ie and mozilla but it does not work in opera.

Any idea why?

tedster

12:27 pm on Mar 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Devilish little problem there - the iframe is a child of a frame, so it's sort of a "second generation target". I suspect Opera has either missed the boat in their DOM, or maybe (hey, it happens) they are the only one who has it right.

I honestly don't know how to work with that in Opera, at least in straight HTML. I'm sure there is a javascript approach that would work, but then you've lost all the non-js user agents (like search engine spiders!)

Anyone else have a clue?