Frames and <div> tags

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Frames and <div> tags

Post by BDKR »

Halo,

Is it not possible to implement frames inside of div elements? As an example,...

Code: Select all

<div id=layer1 style="position:absolute; z-index=1">
<FRAMESET COLS="50%,50%">
  <FRAMESET ROWS="50%,50%">
    <FRAME SRC="cell.html">
    <FRAME SRC="cell.html">
  </FRAMESET>
  <FRAMESET ROWS="33%,33%,33%">
    <FRAME SRC="cell.html">
    <FRAME SRC="cell.html">
    <FRAME SRC="cell.html">
  </FRAMESET>
</FRAMESET>
</div>
When I run some very similar code, the frameset doesn't show up. Is this not possible and I should b going in a different direction?

Cheers,
BDKR
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Well, just in case anyone is wondering, I was able to get it to work by doing ...

Code: Select all

<div id=layer1 style="position:absolute; z-index=1">
<IFRAMESET SRC="cell.html">
<IFRAMESET>
</div>
That's it in a nutshell, but there are some possible problems with this that I will most likely be exploring in the next couple of days.

Cheers,
BDKR
Steveo31
Forum Contributor
Posts: 416
Joined: Sun Nov 23, 2003 9:05 pm
Location: San Jose CA

Post by Steveo31 »

I highly recommend transforming your code to XHTML standards.

http://www.w3schools.com/xhtml/xhtml_reference.asp
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Steveo31 wrote: I highly recommend transforming your code to XHTML standards.

http://www.w3schools.com/xhtml/xhtml_reference.asp
Would you like to elaborate?
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

BDKR wrote:
Steveo31 wrote: I highly recommend transforming your code to XHTML standards.

http://www.w3schools.com/xhtml/xhtml_reference.asp
Would you like to elaborate?
I presume he simply wants you to use more "modern" coding procedures. ;)
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Could he, or you, give me an example of a more "modern" procedure? Is this antiquated? Besides, the tags that I used to get this working were all listed in the link he provided.

I really don't care to think too much about HTML and it's derivatives too much so if there is something wrong it does help to get the details.

Cheers,
BDKR
Post Reply