Forums / Setup & design / Problem using an iframe / Comment15137
Alex Jones
Wednesday 31 March 2004 6:08:36 am
Maarten, you may need to set up a secondary 'site' which has a plain design (it doesn't include any of your headers, nav etc.). This site will display all of the same content as your normal site, just without the design. Then you can call the plain version of a page for your iframe.
That's if you really really really want to use an iframe. If, on the other hand all you want is the ability to keep your header and navigation visible while the content is scrolled, you can solve the problem with CSS, avoiding the iframe altogether. This has the bonus of improving the searchability of your site as well. But, to do this, you will have to sacrifice 4.x browsers, which had poor iframe support anyway. If you are willing to go the CSS route. Check out these two links, and try searching for 'position: fixed' via Google. :)
http://www.beforethedog.com/tutoriali/tut1.htmhttp://devnull.tagsoup.com/fixed/vertical.html
Alex
Alex [ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ] <i>When in doubt, clear the cache.</i>