<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1002972" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1002972</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/netscape-difficulties-script-change-link-color#comment-1013128</link>
    <description> &lt;p&gt;Here is the very ironic part.  I will post a script that works in NS and a script that doesn&#039;t...when I add the extra document.write() it hangs.&lt;/p&gt;
&lt;p&gt;here is the script that works:&lt;/p&gt;
&lt;p&gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;script language=&quot;JavaScript&quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--//&lt;br /&gt;
function show(layerid) {&lt;br /&gt;
if(document.layers)&lt;br /&gt;
layerid.visibility=&quot;show&quot;&lt;br /&gt;
}&lt;br /&gt;
function hide(layerid){&lt;br /&gt;
if(document.layers)&lt;br /&gt;
layerid.visibility=&quot;hide&quot;&lt;br /&gt;
}&lt;br /&gt;
//--&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;script language=&quot;Javascript&quot;&amp;gt;&lt;br /&gt;
var linky1 = &quot;SCAHPERD&quot;;&lt;br /&gt;
var linky2 = &quot;SCAPES&quot;;&lt;br /&gt;
var linky3 = &quot;SCARE&quot;;&lt;br /&gt;
var linky4 = &quot;SCDA&quot;;&lt;/p&gt;
&lt;p&gt;var texty1 = &quot;About SCAHPERD&quot;;&lt;br /&gt;
var texty2 = &quot;SCAPES&quot;;&lt;br /&gt;
var texty3 = &quot;SCARE&quot;;&lt;br /&gt;
var texty4 = &quot;SCDA&quot;;&lt;/p&gt;
&lt;p&gt;var something1 = &quot;&amp;lt;p ALIGN=&#039;center&#039;&amp;gt;&amp;lt;A class=&#039;NAV&#039; HREF=&#039;&quot;;&lt;br /&gt;
var something2 = &quot;.html&#039;&amp;gt;&quot;;&lt;br /&gt;
var something3 = &quot;&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;br&amp;gt;&quot;;&lt;/p&gt;
&lt;p&gt;var somethingy1 = &quot;&amp;lt;span style=&#039;visibility:hidden&#039;&amp;gt;&amp;lt;layer id=&#039;text1white&#039; visibility=&#039;show&#039; onMouseover=&#039;show(text1navy);hide(text1white)&#039;&amp;gt;&amp;lt;A HREF=&#039;&quot;;&lt;br /&gt;
var somethingy2 = &quot;.html&#039;&amp;gt;&amp;lt;span style=&#039;TEXT-DECORATION: none; color: white; font-family :Verdana, Arial, Helvetica, sans-serif; font-size: 12pt&#039;&amp;gt;&amp;lt;center&amp;gt;&quot;;&lt;br /&gt;
var somethingy3 = &quot;&amp;lt;/center&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/layer&amp;gt;&amp;lt;layer id=&#039;text1navy&#039; visibility=&#039;hide&#039; onMouseout=&#039;hide(text1navy);show(text1white)&#039;&amp;gt;&amp;lt;A HREF=&#039;&quot;;&lt;br /&gt;
var somethingy4 = &quot;.html&#039;&amp;gt;&amp;lt;span style=&#039;TEXT-DECORATION: underline; color: navy; font-family :Verdana, Arial, Helvetica, sans-serif; font-size: 12pt&#039;&amp;gt;&amp;lt;center&amp;gt;&quot;;&lt;br /&gt;
var somethingy5 = &quot;&amp;lt;/center&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&quot;;&lt;/p&gt;
&lt;p&gt;document.write(somethingy1 + linky1 + somethingy2 + texty1 + somethingy3 + linky1 + somethingy4 + texty1 + somethingy5);&lt;br /&gt;
document.close();&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;Here&#039;s the one that hangs NS&lt;/p&gt;
&lt;p&gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;script language=&quot;JavaScript&quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--//&lt;br /&gt;
function show(layerid) {&lt;br /&gt;
if(document.layers)&lt;br /&gt;
layerid.visibility=&quot;show&quot;&lt;br /&gt;
}&lt;br /&gt;
function hide(layerid){&lt;br /&gt;
if(document.layers)&lt;br /&gt;
layerid.visibility=&quot;hide&quot;&lt;br /&gt;
}&lt;br /&gt;
//--&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;script language=&quot;Javascript&quot;&amp;gt;&lt;br /&gt;
var linky1 = &quot;SCAHPERD&quot;;&lt;br /&gt;
var linky2 = &quot;SCAPES&quot;;&lt;br /&gt;
var linky3 = &quot;SCARE&quot;;&lt;br /&gt;
var linky4 = &quot;SCDA&quot;;&lt;/p&gt;
&lt;p&gt;var texty1 = &quot;About SCAHPERD&quot;;&lt;br /&gt;
var texty2 = &quot;SCAPES&quot;;&lt;br /&gt;
var texty3 = &quot;SCARE&quot;;&lt;br /&gt;
var texty4 = &quot;SCDA&quot;;&lt;/p&gt;
&lt;p&gt;var something1 = &quot;&amp;lt;p ALIGN=&#039;center&#039;&amp;gt;&amp;lt;A class=&#039;NAV&#039; HREF=&#039;&quot;;&lt;br /&gt;
var something2 = &quot;.html&#039;&amp;gt;&quot;;&lt;br /&gt;
var something3 = &quot;&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;br&amp;gt;&quot;;&lt;/p&gt;
&lt;p&gt;var somethingy1 = &quot;&amp;lt;span style=&#039;visibility:hidden&#039;&amp;gt;&amp;lt;layer id=&#039;text1white&#039; visibility=&#039;show&#039; onMouseover=&#039;show(text1navy);hide(text1white)&#039;&amp;gt;&amp;lt;A HREF=&#039;&quot;;&lt;br /&gt;
var somethingy2 = &quot;.html&#039;&amp;gt;&amp;lt;span style=&#039;TEXT-DECORATION: none; color: white; font-family :Verdana, Arial, Helvetica, sans-serif; font-size: 12pt&#039;&amp;gt;&amp;lt;center&amp;gt;&quot;;&lt;br /&gt;
var somethingy3 = &quot;&amp;lt;/center&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/layer&amp;gt;&amp;lt;layer id=&#039;text1navy&#039; visibility=&#039;hide&#039; onMouseout=&#039;hide(text1navy);show(text1white)&#039;&amp;gt;&amp;lt;A HREF=&#039;&quot;;&lt;br /&gt;
var somethingy4 = &quot;.html&#039;&amp;gt;&amp;lt;span style=&#039;TEXT-DECORATION: underline; color: navy; font-family :Verdana, Arial, Helvetica, sans-serif; font-size: 12pt&#039;&amp;gt;&amp;lt;center&amp;gt;&quot;;&lt;br /&gt;
var somethingy5 = &quot;&amp;lt;/center&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&quot;;&lt;/p&gt;
&lt;p&gt;document.write(somethingy1 + linky1 + somethingy2 + texty1 + somethingy3 + linky1 + somethingy4 + texty1 + somethingy5);&lt;br /&gt;
document.write(somethingy1 + linky2 + somethingy2 + texty2 + somethingy3 + linky2 + somethingy4 + texty2 + somethingy5);&lt;br /&gt;
document.close();&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;the only difference is that extra document.write()..now any other suggestions on why this happens?&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 Mar 2000 01:24:00 +0000</pubDate>
 <dc:creator>Arielladog</dc:creator>
 <guid isPermaLink="false">comment 1013128 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/netscape-difficulties-script-change-link-color#comment-1013127</link>
    <description> &lt;p&gt;I was fooling around with this, and I discovered that for the NN part of this script, if I remove all of the document.writes but one, it works...why???&lt;/p&gt;
 </description>
     <pubDate>Mon, 13 Mar 2000 04:34:00 +0000</pubDate>
 <dc:creator>Arielladog</dc:creator>
 <guid isPermaLink="false">comment 1013127 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/netscape-difficulties-script-change-link-color#comment-1013126</link>
    <description> &lt;p&gt;I cant tell from your post, you may be doing this already, but make sure that the document.write commands are performed within the &amp;lt;body&amp;gt;&amp;lt;/body&amp;gt; tags of the document.  You may perform them within a &amp;lt;head&amp;gt; function if you call the function from the body.&lt;/p&gt;
&lt;p&gt;If it helps, great, if you are already doing it...sorry...&lt;/p&gt;
&lt;p&gt;Tazman&lt;/p&gt;
 </description>
     <pubDate>Mon, 13 Mar 2000 03:32:00 +0000</pubDate>
 <dc:creator>tazman</dc:creator>
 <guid isPermaLink="false">comment 1013126 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/netscape-difficulties-script-change-link-color#comment-1013125</link>
    <description> &lt;p&gt;sad to report that that didn&#039;t work.  I tried adding a document.open() thing, but that didn&#039;t work either.  I am trying to get the effect of changing the link color and other attributes in netscape.  IE I can do with CSS.  Here is the whole code I have done.  I have the NS thing working without the document.write things.  That would add a lot to my code though if I had to do this, so I devised a &quot;plan&quot; that would help with this so it wasn&#039;t as long a script.  It doesn&#039;t seem to work though.  Here is the code that I originally got this from.  I then, modified it to work propperly for my situation, then, I arranged it to a new format with about one twelveth the coding.  Here is where I got it originally from&lt;/p&gt;
&lt;p&gt;&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;Changing Text Color in Netscape&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;script language=&quot;JavaScript&quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--//&lt;br /&gt;
function show(layerid) {&lt;br /&gt;
if(document.layers)&lt;br /&gt;
layerid.visibility=&quot;show&quot;&lt;br /&gt;
}&lt;br /&gt;
function hide(layerid){&lt;br /&gt;
if(document.layers)&lt;br /&gt;
layerid.visibility=&quot;hide&quot;&lt;br /&gt;
}&lt;br /&gt;
//--&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body bgcolor=&quot;black&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;!-- When the mouse is over the layer the layers will switch giving the appearance of changing&lt;br /&gt;
colors. I had to use a SPAN tag to hide the layers from IE becasue IE ignores the &amp;lt;layer&amp;gt; tag&lt;br /&gt;
and just displays the text of both layers --&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;span style=&quot;visibility:hidden&quot;&amp;gt;&lt;br /&gt;
&amp;lt;layer id=&quot;text1white&quot; visibility=&quot;show&quot; onMouseover=&quot;show(text1red);hide(text1white)&quot;&amp;gt;&lt;br /&gt;
&amp;lt;h1&amp;gt;&amp;lt;font color=&quot;white&quot;&amp;gt;Put your mouse over the text&amp;lt;/font&amp;gt;&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;/layer&amp;gt;&lt;br /&gt;
&amp;lt;layer id=&quot;text1red&quot; visibility=&quot;hide&quot; onMouseout=&quot;hide(text1red);show(text1white)&quot;&amp;gt;&lt;br /&gt;
&amp;lt;h1&amp;gt;&amp;lt;font color=&quot;red&quot;&amp;gt;Put your mouse over the text&amp;lt;/font&amp;gt;&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;/layer&amp;gt;&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;Here is my coding for the page.&lt;/p&gt;
&lt;p&gt;&amp;lt;script language=&quot;JavaScript&quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--//&lt;br /&gt;
function show(layerid) {&lt;br /&gt;
if(document.layers)&lt;br /&gt;
layerid.visibility=&quot;show&quot;&lt;br /&gt;
}&lt;br /&gt;
function hide(layerid){&lt;br /&gt;
if(document.layers)&lt;br /&gt;
layerid.visibility=&quot;hide&quot;&lt;br /&gt;
}&lt;br /&gt;
//--&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;STYLE&amp;gt;&lt;br /&gt;
A.NAV { 	TEXT-DECORATION: none; color: white; font-family :Verdana, Arial, Helvetica, sans-serif; font-size: 12pt}&lt;br /&gt;
A.NAV:hover { 	TEXT-DECORATION: underline; color: navy; font-family :Verdana, Arial, Helvetica, sans-serif; font-size: 12pt}&lt;br /&gt;
a.links {  font-size: 14pt; font-style: normal; font-weight: bold; text-decoration: underline}&lt;br /&gt;
body {  font-family: &quot;Times New Roman&quot;, Times, serif; font-size: 12pt; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; color: #000000; text-decoration: none}&lt;br /&gt;
&amp;lt;/STYLE&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;script language=&quot;Javascript&quot;&amp;gt;&lt;br /&gt;
var linky1 = &quot;SCAHPERD&quot;;&lt;br /&gt;
var linky2 = &quot;SCAPES&quot;;&lt;br /&gt;
var linky3 = &quot;SCARE&quot;;&lt;br /&gt;
var linky4 = &quot;SCDA&quot;;&lt;/p&gt;
&lt;p&gt;var texty1 = &quot;About SCAHPERD&quot;;&lt;br /&gt;
var texty2 = &quot;SCAPES&quot;;&lt;br /&gt;
var texty3 = &quot;SCARE&quot;;&lt;br /&gt;
var texty4 = &quot;SCDA&quot;;&lt;/p&gt;
&lt;p&gt;var something1 = &quot;&amp;lt;p ALIGN=&#039;center&#039;&amp;gt;&amp;lt;A class=&#039;NAV&#039; HREF=&#039;&quot;;&lt;br /&gt;
var something2 = &quot;.html&#039;&amp;gt;&quot;;&lt;br /&gt;
var something3 = &quot;&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;br&amp;gt;&quot;;&lt;/p&gt;
&lt;p&gt;var somethingy1 = &quot;&amp;lt;span style=&#039;visibility:hidden&#039;&amp;gt;&amp;lt;layer id=&#039;text1white&#039; visibility=&#039;show&#039; onMouseover=&#039;show(text1navy);hide(text1white)&#039;&amp;gt;&amp;lt;A HREF=&#039;&quot;;&lt;br /&gt;
var somethingy2 = &quot;.html&#039;&amp;gt;&amp;lt;span style=&#039;TEXT-DECORATION: none; color: white; font-family :Verdana, Arial, Helvetica, sans-serif; font-size: 12pt&#039;&amp;gt;&amp;lt;center&amp;gt;&quot;;&lt;br /&gt;
var somethingy3 = &quot;&amp;lt;/center&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/layer&amp;gt;&amp;lt;layer id=&#039;text1navy&#039; visibility=&#039;hide&#039; onMouseout=&#039;hide(text1navy);show(text1white)&#039;&amp;gt;&amp;lt;A HREF=&#039;&quot;;&lt;br /&gt;
var somethingy4 = &quot;.html&#039;&amp;gt;&amp;lt;span style=&#039;TEXT-DECORATION: underline; color: navy; font-family :Verdana, Arial, Helvetica, sans-serif; font-size: 12pt&#039;&amp;gt;&quot;;&lt;br /&gt;
var somethingy5 = &quot;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&quot;;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script language=&quot;javascript&quot;&amp;gt;&lt;br /&gt;
IE = (navigator.appVersion.indexOf(&quot;MSIE&quot;));&lt;br /&gt;
NS = (navigator.appName==&quot;Netscape&quot;);&lt;/p&gt;
&lt;p&gt;if (IE) {&lt;br /&gt;
document.open();&lt;br /&gt;
document.write(something1 + linky1 + something2 + texty1 + something3);&lt;br /&gt;
document.write(something1 + linky2 + something2 + texty2 + something3);&lt;br /&gt;
document.write(something1 + linky3 + something2 + texty3 + something3);&lt;br /&gt;
document.write(something1 + linky4 + something2 + texty4 + something3);&lt;br /&gt;
document.close();&lt;br /&gt;
}&lt;br /&gt;
if (NS) {&lt;br /&gt;
document.open();&lt;br /&gt;
document.write(somethingy1 + linky1 + somethingy2 + texty1 + somethingy3 + linky1 + somethingy4 + texty1 + somethingy5);&lt;br /&gt;
document.write(somethingy1 + linky2 + somethingy2 + texty2 + somethingy3 + linky2 + somethingy4 + texty2 + somethingy5);&lt;br /&gt;
document.write(somethingy1 + linky3 + somethingy2 + texty3 + somethingy3 + linky3 + somethingy4 + texty3 + somethingy5);&lt;br /&gt;
document.write(somethingy1 + linky4 + somethingy2 + texty4 + somethingy3 + linky4 + somethingy4 + texty4 + somethingy5);&lt;br /&gt;
document.close();&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 13 Mar 2000 02:53:00 +0000</pubDate>
 <dc:creator>Arielladog</dc:creator>
 <guid isPermaLink="false">comment 1013125 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/netscape-difficulties-script-change-link-color#comment-1013124</link>
    <description> &lt;p&gt;Add document.close() after all those document.writes should solve the NS problem&lt;/p&gt;
&lt;p&gt;That&#039;s a tip I got just yesterday when I experienced exactly the same - flawless with IE and hung up with Netscape.&lt;/p&gt;
 </description>
     <pubDate>Mon, 13 Mar 2000 01:40:00 +0000</pubDate>
 <dc:creator>AndyB</dc:creator>
 <guid isPermaLink="false">comment 1013124 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
