<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1027310" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1027310</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-problem-0#comment-1162559</link>
    <description> &lt;p&gt;I&#039;m retarded and cut and paste from the wrong thing, but I did fix my problem. I was using document.write(&#039;html&#039;); but i was trying to call a function from javascript that didnt exist! Thanks greg &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;You are right about the lines btw, it all has to stay one line, there are ways around it but they are shifty at best. Your also right about PHP which yes i have access to it. But i liked the javascript benifits &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 09 Dec 2004 00:56:47 +0000</pubDate>
 <dc:creator>TaylorAtCTS</dc:creator>
 <guid isPermaLink="false">comment 1162559 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-problem-0#comment-1162519</link>
    <description> &lt;p&gt;It appears the main problem is you have HTML inside your function. You need JAVASCRIPT inside your function, not HTML.&lt;/p&gt;
&lt;p&gt;To output the HTML from javascript function, you will have to use a something like &lt;strong&gt;document.write(&quot;&lt;em&gt;{html}&lt;/em&gt;&quot;);&lt;/strong&gt; function. Not also you will have to escape all quotes (change your current &lt;strong&gt;&quot;&lt;/strong&gt;&#039;s to &lt;strong&gt;\&quot;&lt;/strong&gt;&#039;s.&lt;/p&gt;
&lt;p&gt;Try something like:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;function navigation()&lt;br /&gt;{&lt;br /&gt;document.write(\&amp;quot;&amp;lt;table width=\&amp;quot;778\&amp;quot; border=\&amp;quot;0\&amp;quot; cellspacing=\&amp;quot;0\&amp;quot; cellpadding=\&amp;quot;0\&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=\&amp;quot;89\&amp;quot;&amp;gt;&amp;lt;a href=\&amp;quot;../index.html\&amp;quot;&amp;gt;&amp;lt;img src=\&amp;quot;../images/3_02.gif\&amp;quot; alt=\&amp;quot;tennessee designer\&amp;quot; width=89 height=28 border=\&amp;quot;0\&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td width=\&amp;quot;85\&amp;quot;&amp;gt;&amp;lt;img src=\&amp;quot;../images/3_03.gif\&amp;quot; width=85 height=28 alt=\&amp;quot;designer memphis\&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td width=\&amp;quot;195\&amp;quot;&amp;gt;&amp;lt;img src=\&amp;quot;../images/3_04.jpg\&amp;quot; width=195 height=28 alt=\&amp;quot;website\&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td width=\&amp;quot;59\&amp;quot;&amp;gt;&amp;lt;a href=\&amp;quot;../index.html\&amp;quot; onMouseOver=\&amp;quot;MM_swapImage(&amp;#039;Image6&amp;#039;,&amp;#039;&amp;#039;,&amp;#039;../images/Home.gif&amp;#039;,1)\&amp;quot; onMouseOut=\&amp;quot;MM_swapImgRestore()\&amp;quot;&amp;gt;&amp;lt;img src=\&amp;quot;../images/3_05.gif\&amp;quot; alt=\&amp;quot;\&amp;quot; name=\&amp;quot;Image6\&amp;quot; width=59 height=28 border=\&amp;quot;0\&amp;quot; id=\&amp;quot;Image6\&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td width=\&amp;quot;81\&amp;quot;&amp;gt;&amp;lt;a href=\&amp;quot;../aboutus/aboutus.html\&amp;quot; onMouseOver=\&amp;quot;MM_swapImage(&amp;#039;Image7&amp;#039;,&amp;#039;&amp;#039;,&amp;#039;../images/About-Us.gif&amp;#039;,1)\&amp;quot; onMouseOut=\&amp;quot;MM_swapImgRestore()\&amp;quot;&amp;gt;&amp;lt;img src=\&amp;quot;../images/3_06.gif\&amp;quot; alt=\&amp;quot;\&amp;quot; name=\&amp;quot;Image7\&amp;quot; width=81 height=28 border=\&amp;quot;0\&amp;quot; id=\&amp;quot;Image7\&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td width=\&amp;quot;80\&amp;quot;&amp;gt;&amp;lt;a href=\&amp;quot;../Services/Services.html\&amp;quot; onMouseOver=\&amp;quot;MM_swapImage(&amp;#039;Image8&amp;#039;,&amp;#039;&amp;#039;,&amp;#039;../images/Services.gif&amp;#039;,1)\&amp;quot; onMouseOut=\&amp;quot;MM_swapImgRestore()\&amp;quot;&amp;gt;&amp;lt;img src=\&amp;quot;../images/3_07.gif\&amp;quot; alt=\&amp;quot;\&amp;quot; name=\&amp;quot;Image8\&amp;quot; width=80 height=28 border=\&amp;quot;0\&amp;quot; id=\&amp;quot;Image8\&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td width=\&amp;quot;80\&amp;quot;&amp;gt;&amp;lt;a href=\&amp;quot;../contactus/contactus.html\&amp;quot; onMouseOver=\&amp;quot;MM_swapImage(&amp;#039;Image9&amp;#039;,&amp;#039;&amp;#039;,&amp;#039;../images/Contact-Us-top.gif&amp;#039;,1)\&amp;quot; onMouseOut=\&amp;quot;MM_swapImgRestore()\&amp;quot;&amp;gt;&amp;lt;img src=\&amp;quot;../images/3_08.gif\&amp;quot; alt=\&amp;quot;\&amp;quot; name=\&amp;quot;Image9\&amp;quot; width=80 height=28 border=\&amp;quot;0\&amp;quot; id=\&amp;quot;Image9\&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td width=\&amp;quot;109\&amp;quot;&amp;gt;&amp;lt;a href=\&amp;quot;../Testimonials/Testimonials.html\&amp;quot; onMouseOver=\&amp;quot;MM_swapImage(&amp;#039;Image10&amp;#039;,&amp;#039;&amp;#039;,&amp;#039;../images/Testimonials.gif&amp;#039;,1)\&amp;quot; onMouseOut=\&amp;quot;MM_swapImgRestore()\&amp;quot;&amp;gt;&amp;lt;img src=\&amp;quot;../images/3_09.gif\&amp;quot; alt=\&amp;quot;\&amp;quot; name=\&amp;quot;Image10\&amp;quot; width=109 height=28 border=\&amp;quot;0\&amp;quot; id=\&amp;quot;Image10\&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;\&amp;quot;);&lt;br /&gt;} &lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;(Note if you break this up to be several lines instead of one long line, I think javascript doesn&#039;t like to continue down to the next line. (I could be wrong). If so, for each line you will have to wrap it with the &lt;strong&gt;document.write(&quot; &quot;);&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I hope that on your page you are providing an alternative method of naviagation, as some people browse with javascript disabled, so they would not get any of this. &lt;/p&gt;
&lt;p&gt;A better alternative if you have access to it, is use PHP another server side scripting to include a file with your navigation menu. Although the plus side with javascript is that all the menu system is cached when they visit your site the first time, so it doesn&#039;t have to download each additional page they go to.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Wed, 08 Dec 2004 06:06:17 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1162519 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
