
November 4th, 2004
05:56 PM
Static Frame
I'm working on this website for something and i'm made the design. I've started to code it, but i what it to be a static frame so only the centre part of the site changes, i.e. where the news etc is put. How can i do this?
This is the design i have: Link
Hope you can help 

November 4th, 2004
09:59 PM
Neverside Newbie
Status: Offline!
you can research iframes on the web.. that will make the center part only change.. but the thing with iframes is that they sometimes dont work in different browsers.. so you might want to look in to making it in flash....
___________________
-hank D
http://www.facefuzz.com
achievement is something that is learned in time...

November 5th, 2004
01:13 AM
if i use an iFrame can i make it so i only make one outline of the site and just make the centre pages? if you get what i mean

November 5th, 2004
01:27 AM
dont use iframes, they suck (mine and a lot of ppls opinion), and flash doesnt validate without a lot of work (not that ur site does anyway).. the best way is with PHP includes.
___________________


November 5th, 2004
08:15 AM
Neverside Newbie
Status: Offline!
You can't do that with PHP includes. The target attribute (now deprecated) is the only way to prevent reloading on the entire page. It really isnt a big deal to reload the page, particularly if you are using CSS and semantic markup.
As you probably know, you can create something similar to an iframe by setting the overflow property on a div. Example:
<div style="overflow: auto; width: 400px; height: 200px;">
<p>This text will overflow when the 400x200 div is filled up</p>
</div>

November 5th, 2004
10:57 AM
Neverside Newbie
Status: Offline!
In addition to what Toast posted, I just want to say that using external CSS is always better than internal.
___________________
Tables for layout is an abuse. -- Internet Explorer is unsafe.

November 5th, 2004
02:30 PM
Originally posted by MinDFreeZ
dont use iframes, they suck (mine and a lot of ppls opinion), and flash doesnt validate without a lot of work (not that ur site does anyway).. the best way is with PHP includes.
Yeah, but a php include may not be exactly what he wants because he may be looking for that iframe scrolling type effect so it will leave his design untouched so he should do the overflow: auto in a <div> and put a php include in the middle to have it easily update.
Originally posted by freak
In addition to what Toast posted, I just want to say that using external CSS is always better than internal.
Yes, I agree if he is working on lots of pages with the same layout but if it is a one time thing, internal css is a bit easier and then later if you go to change the css file you would still include that one time effect thing for that one page and not have to worry about akward id's and classes.
___________________

halo2 <3

November 7th, 2004
06:59 AM
now you've lost me lol, what code do i need to use? i want the site to say as it is and have a scrol page, but i don't want to have loads and pages to edit.

November 7th, 2004
09:41 AM
Originally posted by cfuk
now you've lost me lol, what code do i need to use? i want the site to say as it is and have a scrol page, but i don't want to have loads and pages to edit.
Do you just want that one section there to have a set width and hight and a scrollbar on the side of it or would you rather it not have a set height and extend down and the entire page scroll.
___________________

halo2 <3