From: GoldenHistoryBooks on
First I'd like to make a general comment about documentaiton.... it's woefully
inadequate in ALL areas that I've tried working in. Fix the docs and you'll
eliminate a lot of need for help.

For instance, I'm trying to put a server-side include in. Should be simple
right? The documentation tells me how Dearmweaver allows me to see the include
in the design and preview modes. Well, it doesn't work. And there's NOTHING to
tell me what to try. I've put the include in the body, so why am I getting a
yellow tag at the top of the page that is a </head> ? Why doesn't it display?
What is the code supposed to look like? What steps do I take to try and fix
this? Is it even possible to have an include that has a table and Spry menu?
Will the drop down portion of the menu items display properly in such a case?
Are there special specifications for how I should set up the include page to
make this work?

I've gotten no response from Adobe or the forum on how to accomplish what I
want via frames, so I've abandoned that idea all together (again, no
documentation to help me figure it out) and am working with tables instead.

If, in order to make this work, I have to put my menu in the same table as the
rest of my content (totally inefficient and not desired), someone please tell
me now so I can actually get something done!
Thank you.

From: darrel on
> First I'd like to make a general comment about documentaiton.... it's
> woefully
> inadequate in ALL areas that I've tried working in. Fix the docs and
> you'll

We are users of DW...not employess of Adobe. Not that we don't agree, just
that we can't actually do anything about it.

> tell me what to try. I've put the include in the body, so why am I getting
> a
> yellow tag at the top of the page that is a </head> ? Why doesn't it
> display?

Show us the code.

> someone please tell
> me now so I can actually get something done!

You have to learn HTML, CSS, and the rest for this to all make sense.

It'll always be a struggle if you don't take the time to learn that first.

-Darrel


From: Alan on


> I've put the include in the body, so why am I getting a
> yellow tag at the top of the page that is a </head>

As a guess, the file you are Including is a complete html document with it's
own head and body tags.

dw sees multiple head or body tags in one document, the design view goes
blank because it can't make sense of the bad html syntax.

Fix: open the include and select the <body> tag and strip all code there to
top of file (if there are any js functions, they need to go into the head of
the main document) Then strip </body></html> from end of file.

You mention spry-
you will have to relocate a bunch of stuff to the head of every file that
will use this include. Or do linked .js files in them

--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/



From: GoldenHistoryBooks on
Thank you for your response but I'm still confused. :confused; The first part
of your response is articulate and I've tried it but the last part I think must
be the key and you've provided no detail. Could you please? You said...

You mention spry-
you will have to relocate a bunch of stuff to the head of every file that
will use this include. Or do linked .js files in them

What "bunch of stuff" do I need at the head of every file? How do I link a
..js file?

Could you please provide a sample of the correct code?
Thank you.

From: Alan on


> What "bunch of stuff" do I need at the head of every file? How do I link a
> .js file?

take a blank file.
Add a "simple" spry object.

Look at what was added to the code.
Anything added in the head or to the body tag is what needs to be added to
the real page, because a proper SSI include does not contain code that goes
in both the body section and the head section.

You could make the head section stuff another separate ssi

this tutorial mentions using spry in an ssi in one of the comment-
http://livedocs.adobe.com/en_US/Spry/1.4/WS82BCC939-BCFC-4729-80FD-7CB85512F
814.html

This is a linked .js file code:

<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
there are also linked .css files for the spry object

--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/