Forum Moderators: open

Message Too Old, No Replies

Frames....sigh.

         

Khemikal

9:08 pm on Apr 20, 2004 (gmt 0)

10+ Year Member



I've never used a frame in my short web design life and never intended to. However, a realestate client of mine can only pull their IDX listings into their website via frames.

I *thought*....famous last words...that this would be a simple task...however I can't get crap to display and I am unsure if it has to do with my doctype...my lack of (read zero) knowledge of frames...or another issue. If the forum members would be kind enough to offer suggestions on this as to what may be wrong:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >

code for the from (in the body)
<div id="container">
<div id="leftcolumn">
<div id="content">
</div>
<frameset col="100%">
<frame src="http://www.example.com/1030342" name="listings">
</frameset>
</div>
</div>

Thank you in advance.

Khem

[edited by: tedster at 11:40 pm (utc) on April 20, 2004]
[edit reason] use example.com [/edit]

tedster

11:41 pm on Apr 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



With traditional frtamesets, there are two types of documents - one type is a "regular" page that actually holds the content, and the other type is a frameset page that
1.) defines how the frames split up a screen and
2.) loads various HTML sources into the frames that it set up.

A frameset uses ALL the available screen real estate, slicing it into rows and columns of individual frames. But it appears you want to insert a frame in the midst of a regular page - that's more the job of an inline frame element. And if I'm right, then your job just got a lot easier, because <iframe> mark-up has a lot less to worry about.

It might look something like this:

<div id="container">
<div id="leftcolumn">
<div id="content">
<iframe src="http://www.example.com/1030342" name="listings" width=100%></iframe>
</div>
</div>
</div>

Khemikal

11:58 pm on Apr 20, 2004 (gmt 0)

10+ Year Member



Tedster,

Thanks, I called a friend and he said use an iframe just like you suggested and it worked like a charm. Thanks for the help.

Khem