[thelist] quick ssi question

Adam adam at hallinteractive.com
Wed Dec 12 10:16:29 CST 2001


Hey all

I'm curious about something.
When using an include in an html document typically wouldn't you keep all of
the document structure out of the include? like so:

<myinclude.inc>
<p>stuff and things, stuff and things</p>
</myinclude.inc>

and then the parent html doc would control the presentation and formatting?
Is this correct?

and if so,

what if I want to include and entire html doc that has embedded js in it,
like a nav system?
would the include on its own be contained within html like this?:

<myinclude.inc>
<html>
<head>
<title>my foo foo.</title>

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!-- 

stuff and things


//-->
</SCRIPT>
</head>

<body>
nav system with mouseovers
</body>

</html>
</myinclude.inc>

isn't this just a call for frames? should I use iframes? aren't they less
supported? do I have a clue?

does anyone have an idea what the best way to approach such a thing is?
Having the nav as an external separate document would be best methinks which
is why I though about includes.

any thoughts are appreciated.

Ad.

<tip>xml, html, xhtml magic by Molly. Hlozschlag from new riders press  is
turning out to be a great learning tool for me. you should check it out, new
riders also published jeffery zeldman, and jeffrey zeen, both books I also
recommend. http://www.newriders.com</tip>





More information about the thelist mailing list