This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Website Design Forum > August 2006 > Are HTML frames good?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Are HTML frames good?
Water Cooler v2

2006-08-02, 3:15 pm

Are HTML frames a good thing or a bad thing?

For someone who knows HTML, and only a measely bit of JavaScript and
DOM familiarity, what are the alternatives to frames?

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? 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?

Els

2006-08-02, 3:15 pm

Water Cooler v2 wrote:

> Are HTML frames a good thing or a bad thing?


Worse.

> 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...

> 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.

> 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?

f-up set to alt.html

--
Els http://locusmeus.com/
Stephen Poley

2006-08-02, 3:15 pm

On 12 Jul 2006 07:33:29 -0700, "Water Cooler v2" <wtr_clr@yahoo.com>
wrote:

>Are HTML frames a good thing or a bad thing?


Mostly bad, for reasons discussed many times in the
comp.infosystems.www.* groups - see the archive.

They may have their uses when you are putting real content in multiple
frames (i.e. not just a heading or a navigation bar) and you expect that
the user will want to adjust the frame sizes...

>For someone who knows HTML, and only a measely bit of JavaScript and
>DOM familiarity, what are the alternatives to frames?
>
>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? 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?


.... but I gather that doesn't apply in this case.

Try something like this:
http://www.xs4all.nl/~sbpoley/webmatters/layout3.html


--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Andy Dingley

2006-08-02, 3:15 pm


Water Cooler v2 wrote:
> Are HTML frames a good thing or a bad thing?


Well they're not as bad as cross-posting one of the most obvious and
easily searched-for web authoring questions you could possibly ask.

So yes, use frames. Do whatever you like. If it was really going to
make a difference to you, you'd have noticed by now.

Water Cooler v2

2006-08-02, 3:15 pm


Andy Dingley <dingbat@codesmiths.com> wrote:
> Water Cooler v2 wrote:
>
> Well they're not as bad as cross-posting one of the most obvious and
> easily searched-for web authoring questions you could possibly ask.
>
> So yes, use frames. Do whatever you like. If it was really going to
> make a difference to you, you'd have noticed by now.




Thanks, Stephen and Els. I got it. I always used to wonder how they
squeeze something like the navigation bar to the left because HTML is
normally written horizontally, if you know what I mean -- what comes
first is put above until the space on that row gets over.

I got it now.

[PAGE_SOURCE]margin: 0 0 0 11em;[/PAGE_SOURCE]

I know a little bit of CSS. Actually, I know almost all of it until
before CSS 2 that has different selectors for different media. But the
problem is that I've used only very little of it. To be honest, I'm
mostly a library developer who works on C, C#, VB 6, VB.NET and Win32
API. I've done almost no Web development except for practice and an
incomplete ASP.NET project for real.

Now, a different question. Just for exploring all different
alternatives and possibilities.

Suppose that the navigation bar is something I want to place on every
Web page over my website. And I want the content of the navigation bar
also to be constant. I can then design a separate HTML page that
carries the code for the navigation bar.

If my understanding is correct, some CGI/ISAPI filters such as ASP/PHP
provide for server side includes. Using the server side includes, the
programmer can point to the content of the HTML/PHP/ASP/CGI file
containing the navigation bar code into every Web page that needs the
navigation bar.

But those includes, if I understand correctly, are not built into a Web
server. They're extensions provided by ISAPI or whatever other web
server API. So, they're accessible only when you are doing server-side
programming such as ASP/PHP etc.

In plain HTML, using only HTML and nothing but HTML (or may be some
lite JavaScript), is it possible to include content from another HTML
page into the current page?

I hope I've made my question clear.

JDS

2006-08-02, 3:15 pm

On Wed, 12 Jul 2006 09:20:33 -0700, Water Cooler v2 wrote:

> In plain HTML, using only HTML and nothing but HTML (or may be some
> lite JavaScript), is it possible to include content from another HTML
> page into the current page?


No. Not really. Using Javascript for this is a Bad Idea(TM) , IMO.

But what is wrong with something like ASP or PHP or SSI? At this
point, these technologies (or their equivalents) are very, very, very
commonly found on web servers.

--
JDS

Els

2006-08-02, 3:15 pm

Water Cooler v2 wrote:

> Now, a different question. Just for exploring all different
> alternatives and possibilities.
>
> Suppose that the navigation bar is something I want to place on every
> Web page over my website. And I want the content of the navigation bar
> also to be constant. I can then design a separate HTML page that
> carries the code for the navigation bar.
>
> If my understanding is correct, some CGI/ISAPI filters such as ASP/PHP
> provide for server side includes. Using the server side includes, the
> programmer can point to the content of the HTML/PHP/ASP/CGI file
> containing the navigation bar code into every Web page that needs the
> navigation bar.
>
> But those includes, if I understand correctly, are not built into a Web
> server. They're extensions provided by ISAPI or whatever other web
> server API. So, they're accessible only when you are doing server-side
> programming such as ASP/PHP etc.


I'm not familiar with API or ISAPI, but I just use includes in PHP.
However, if your server doesn't have PHP installed... :

> In plain HTML, using only HTML and nothing but HTML (or may be some
> lite JavaScript), is it possible to include content from another HTML
> page into the current page?


Nope.
You could pre-process though, as explained in the link I gave:
http://allmyfaqs.net/faq.pl?Include_one_file_in_another

That way you do all the including at home, and voila, the result is an
entire website with navigation on every page.

> I hope I've made my question clear.


Yup - except for that (IS)API stuff, but I don't think I needed to
understand that ;-)

BTW - are you sure your server doesn't have PHP installed or SSI
enabled?

(f-up to alt.html again)

--
Els http://locusmeus.com/
Water Cooler v2

2006-08-02, 3:15 pm


> But what is wrong with something like ASP or PHP or SSI? At this
> point, these technologies (or their equivalents) are very, very, very
> commonly found on web servers.


Thanks, JDS. No. Nothing is wrong with the server side programming
tools. I was only inquiring out of curiosity so as to increase my
knowledge on the subject.

Thanks for the help.

Darin McGrew

2006-08-02, 3:15 pm

Water Cooler v2 <wtr_clr@yahoo.com> wrote:
> In plain HTML, using only HTML and nothing but HTML (or may be some
> lite JavaScript), is it possible to include content from another HTML
> page into the current page?


See http://www.htmlhelp.com/faq/html/de...ml#include-file
--
Darin McGrew, mcgrew@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, darin@htmlhelp.com, http://www.HTMLHelp.com/

"I'd love to make time, if only I could find the recipe."
JDS

2006-08-02, 3:15 pm

On Wed, 12 Jul 2006 09:39:15 -0700, Water Cooler v2 wrote:

> Thanks, JDS. No. Nothing is wrong with the server side programming
> tools. I was only inquiring out of curiosity so as to increase my
> knowledge on the subject.
>
> Thanks for the help.


No problem.

What you *really* want, though, is a good templating system.

Something like ColdFusion has a good bit of templating kinda built-in.

Something like PHP does not.

However, PHP has a lot of available templating systems available. From
the fairly simple (bTemplate) to the quite complex (Smarty).

Actually, though, what you might *actually* want is a pre-built content
management system (CMS). No sense in reinventing the wheel and all. Take
a look at http://opensourcecms.com for more information and sample CMSes.

Actually, looking back on your OP, your question is pretty broad.

what, exactly, do you aim to achieve? Being more specific in your goals
and your perceived solutions may help provide more clarity from the
responses.

later...

--
JDS

Andy Mabbett

2006-08-02, 3:15 pm

In message <1152719328.454064.209040@m73g2000cwd.googlegroups.com>,
"Andy Dingley <dingbat@codesmiths.com>" <dingbat@codesmiths.com> writes
>
>Water Cooler v2 wrote:
>
>Well they're not as bad as cross-posting one of the most obvious and
>easily searched-for web authoring questions you could possibly ask.
>
>So yes, use frames. Do whatever you like. If it was really going to
>make a difference to you, you'd have noticed by now.


In other words, please see:

http://catb.org/%7Eesr/faqs/smart-questions.html
--
Andy Mabbett
Say "NO!" to compulsory ID Cards: <http://www.no2id.net/>

Free Our Data: <http://www.freeourdata.org.uk>
Charles Sweeney

2006-08-02, 3:15 pm

Water Cooler v2 wrote

> Are HTML frames a good thing or a bad thing?


I've never needed to use them, so I would say they were unnecessary rather
than good or bad. Having said that, they are a f*cking pain if you are
trying to bookmark a page.

--
Charles Sweeney
http://CharlesSweeney.com
Terry

2006-08-02, 3:15 pm

Water Cooler v2 wrote:
> Are HTML frames a good thing or a bad thing?
>

http://72.14.203.104/search?q=cache...lient=firefox-a
In case that link does not work, google catinadogsworld and look at
google's cache (the 1k version). Bad, I would say.

--
TK
http://wejuggle2.com/
Still Having a Ball










..

----== Posted via codecomments.com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.codecomments.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Brendan Gillatt

2006-08-02, 3:15 pm

Water Cooler v2 wrote:
> Are HTML frames a good thing or a bad thing?


They are bad in the way most people use them - as a way of changing the
content on all pages with just one file. Server side scripting is far
more adept to this job and only pumps out one page.
What they should be used for is exactly what they are named as - a way
to frame multiple, differing pages of information, perhaps from
different websites, into one. For example a site may decide to have a
comparison of two different pages with a similar topic, say different
specifications for alternative products.

> For someone who knows HTML, and only a measely bit of JavaScript and
> DOM familiarity, what are the alternatives to frames?


If you want a menu I would say use <div> elements and server side
scripting to include a common page of information.
dk_sz

2006-08-02, 3:15 pm

> Thanks, Stephen and Els. I got it. I always used to wonder how they
> squeeze something like the navigation bar to the left because HTML is
> normally written horizontally, if you know what I mean -- what comes
> first is put above until the space on that row gets over.


Historically, one used tables for layouts.
Notice that I have no intention to start a table vs css discussion...
Merely pointing out that was how you did it in the past.


--
best regards
Thomas Schulz
http://www.micro-sys.dk/products/sitemap-generator/
http://www.micro-sys.dk/products/website-download/


William Tasso

2006-08-02, 3:15 pm

Fleeing from the madness of the TDC Totalloesninger jungle
dk_sz <dk_sz@hotmail.com> stumbled into
news:alt.html,comp.infosystems.www.authoring.site-design,alt.www.webmaster
and said:

> ...
> I have no intention to start a table vs css discussion...


Nooooo - too late, what /have/ you done?

[f/ups suggested]

--
William Tasso

http://williamtasso.com/words/what-is-usenet.asp
Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews