|
Posted by Els on 07/12/06 15:31
Water Cooler v2 wrote:
>>> For someone who knows HTML, and only a measely bit of JavaScript and
>>> DOM familiarity, what are the alternatives to frames?
>>
>> Writing pages without frames...
>
> That is rather a glib remark. I thank you for answering but also
> request you to check your mood.
My mood is just fine, thank you - the sun is shining, the groceries
have been bought, and we're having chili con carne tonight :-)
> In your present disposition, you seem to be chucking more noise than signal.
!!
> Sorry! I don't mean to sound the same.
But you did anyway ;-)
> I appreciate your wanting to help. Just that it wasn't a very
> helpful answer, but rather the question in the guise of an answer.
> Perhaps, it would help if I amplied the question, "Not having to use
> frames, what other techniques could one deploy to achieve separation of
> content on a Web page?"
It's done with CSS - float the navigation to one side, and give the
content a margin-left to accommodate the floated navigation. (yes, I
know this is not explaining word for word what you need to do, but
it's just to get you looking in the right direction)
>>> When people design a navigation bar to their websites, the one to the
>>> left that displayes links on the same website, do most of them use HTML
>>> frames or other means?
>
>> Other means: html code. Just like you would have done in a frame, only
>> without the frame. In the same page as the content.
>
> Thanks!
Welcome!
>>> What are such other means apart from displaying
>>> a graphic image that gives the impression of a borderless frame, and
>>> displaying links/text in a table on top of that image?
>>
>> Impression of a borderless frame? You mean you want to be able to see
>> an absent border so that people think there is an invisible frame?
>>
>> Maybe you meant to ask: how do I get my navigation links to stay on
>> the left of the page with the content to the right, and how do I give
>> it a separate background colour or image?
>
> Of course, you got the idea and that means the purpose of the
> communication was well-achieved.
:-)
>> f-up set to alt.html
>
> What's that?
It means that I hope you are reading alt.html, because your message
and this message, will be only in alt.html now. f-up is short for
follow-up, which means it's redirecting any answers in all the groups
you crossposted to, to one group only, being alt.html.
Now that we know you may want to use CSS to achieve your goal though,
maybe we should set a new follow-up to a CSS group?
I'm not sure yet though, as by "separation of content", I don't know
if you mean only visually, or also in code. Maybe you meant "how can I
write the navigation only once, yet have it appear on every page,
without the help of frames". The answer to that one, would be found
here:
http://allmyfaqs.net/faq.pl?Include_one_file_in_another
Of course, you will still need the CSS to make sit on one side with
the content to the other side.
Stephen gave an example in his post, might just exactly do what you
want :-)
--
Els http://locusmeus.com/
[Back to original message]
|