<HTML>
<HEAD>
<TITLE>Re: [Javascript] How can search engines see a js include for navi gation?</TITLE>
</HEAD>
<BODY>
Hi Bob,<BR>
<BR>
Right, i can do that but that's what I want to avoid. If do that then I've lost the advantage of an include because I still have to write out the nav stuff for every page. And, if I change the nav code in the include (and the site structure), the nav code in every&lt;noscript&gt; will then break. what to do??<BR>
<BR>
- josh<BR>
<BR>
<BR>
on 22-03-02 17.14, Filipiak, Bob (Contractor) at filipiab@atsc.army.mil wrote:<BR>
<BR>
<BLOCKQUOTE><FONT COLOR="#0000FF"><FONT SIZE="2"><FONT FACE="Arial">Duplicate your navigation inside &lt;NOSCRIPT&gt;&lt;/NOSCRIPT&gt; at the bottom of your include.js file. Then every page that includes it will also have the &lt;NOSCRIPT&gt;&lt;/NOSCRIPT&gt;<BR>
</FONT></FONT></FONT> <BR>
 <BR>
 <BR>
<FONT COLOR="#0000FF"><FONT SIZE="2"><FONT FACE="Arial"><B>Bob Filipiak</B></FONT></FONT></FONT> <BR>
<FONT COLOR="#0000FF"><FONT SIZE="2"><FONT FACE="Arial"><B>(Contractor)</B></FONT></FONT></FONT> &nbsp;<BR>
<FONT SIZE="1"><FONT FACE="Arial"><B><I>Microsoft</I></B></FONT><B><I>®</I></B></FONT> <BR>
<FONT COLOR="#99CCFF"><FONT SIZE="1"> </FONT></FONT><B><U> <FONT COLOR="#99CCFF"><FONT SIZE="1">C E R T I F I E D</FONT></FONT></U></B> <BR>
<FONT COLOR="#99CCFF"><FONT SIZE="1"><B> &nbsp;&nbsp;&nbsp;</B></FONT></FONT><I> <FONT COLOR="#99CCFF"><FONT SIZE="1">Professional</FONT></FONT></I> <BR>
<BLOCKQUOTE><FONT SIZE="2">-----Original Message-----<BR>
<B>From:</B> josh@umwow.com [mailto:josh@umwow.com]<BR>
<B>Sent:</B> Friday, March 22, 2002 11:06 AM<BR>
<B>To:</B> javascript@latech.edu<BR>
<B>Subject:</B> [Javascript] How can search engines see a js include for navigation?<BR>
<BR>
</FONT>Hello,<BR>
<BR>
New to the list. My first post. Hi.<BR>
<BR>
I'm building a site where I would like to use an include for my navigation. I know how to do it but read about a caveat on this page:<BR>
<BR>
http://javascript.about.com/library/weekly/aa102901a.htm<BR>
<BR>
&quot;<FONT SIZE="4"><B>Caveats<BR>
</B></FONT><FONT SIZE="5"><FONT FACE="Times New Roman"><BR>
</FONT></FONT><FONT SIZE="4">There are a couple of potential downsides to using this technique. &nbsp;First, search engines do not process JavaScript, so any content written by your scripts will not be indexed by a search engine. &nbsp;This can be a problem if you are using the include file as your main way of providing site navigation. &nbsp;Unless you provide another way for the search engine to see your links, such as using the <I>&lt;noscript&gt;</I> tag, the search engine will not follow your JavaScript generated links to subsequent pages.&quot;<BR>
<BR>
Using the &lt;noscript&gt; tag seems to defeat the purpose of an include because you'd have to put it on every page. So, how can I put my navigation in an include that is still searchable? Another way in Javascript? SSI? <BR>
<BR>
Links to resources for the solution are appreciated.<BR>
<BR>
- Josh Draper</FONT> <BR>
</BLOCKQUOTE><BR>
</BLOCKQUOTE><BR>
</BODY>
</HTML>