Forum Moderators: open

Message Too Old, No Replies

Building A Frameset with a Dynamic Middle Frame?

Framesets, Dynamic Content?

         

TheSaintlyOne

9:35 am on Mar 15, 2006 (gmt 0)

10+ Year Member



I have a question. Let's say you want to create a frame set that has fixed top and bottom frames, with only the content in the middle changing.

The top frame should never change, we'll say it contains a logo and perhaps some navigation. The bottom frame should never change, it contains copyright footer info.

The real issue is getting dynamically generated content in the middle frame to display in the middle frame. One example would be to get Google Adwords Search scripts to display their results within the top and bottom frames. It isn't as easy as just selecting the element in dreamweaver is it? Any ideas on how to force content that has post-processing to display within the two fixed frames? See example below.

---------------------------------------
(Fixed Top Frame)
---------------------------------------

(Middle frame, only frame that displays new content, including dynamically generated pages)
----------------------
¦ Search Box ¦
----------------------

---------------------------------------
(Fixed Bottom Frame)
---------------------------------------

kaled

11:36 am on Mar 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It can be done but requires complex javascript and page design (in case javascript is disabled).

Since IE7 is not a million years away, consider using <iframe style="position:fixed">. This is ok for top/left frames. Not sure how IE reacts with bottom/right frames.

Kaled.