question about html
February 21, 2004 2:28PM
edited January 2014
i was wondering how to make certain parts of the screen to stay constant but be able to change other parts, not using frames. does css do this? how do u make a link system like apples. thanks, hope im not askin too much.
Reply 1 of 7
February 21, 2004 3:01PM
Yes, CSS let's you assign a value called "fixed" to a given element's "position" property.
(other CSS if you want)
Omitting the position property will let it default to normal behavior.
Reply 2 of 7
February 21, 2004 3:09PM
are you talking about refresh between page clicks where some button elements appear not to need reloading, or are you discussing scroll behaviour inside an already loaded page ?
the fact that the top buttons don't seem to change may have more to do with them already being in cache, and therefore loading "instantly and invisibly", than only the lower part of the page updating without frames via the CSS method above.
but maybe I'm misinterpreting your question.
if you meant the case of partial scroll in a page, then CSS above is a better answer.
Reply 3 of 7
February 21, 2004 3:38PM
I see your point now that I reread it
Not sure which of us is right
Reply 4 of 7
February 21, 2004 3:49PM
"link system like Apple's" is just a table with tab and button graphics in two rows. More to it than that but not much more.
A-hah! I think you are asking how to make a set of links be on every page in a site.
I think what you want are server side includes. This lets you define the, let's call it navigationbar, and you merely call it within you pages without needing to actually duplicate the code everywhere.
Various scripting languages let you do it in various ways, mostly similar. Tell us what language you are using.
Reply 5 of 7
February 21, 2004 4:00PM
in fact if you "View Source" on a few related pages at Apple,
(and nicely commented)
Reply 6 of 7
February 21, 2004 4:01PM
u both answered my questions, i guess i really wanted to know both. thanks for that link, very helpful. sorry if i sounded too vegue (sp?) but you supplied me with what i was looking with nonetheless.
Reply 7 of 7
February 23, 2004 2:53PM
vague, just FYI