<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1022903" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1022903</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-divs-not-showing#comment-1141530</link>
    <description> &lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;  if you send a boolean along with the id, you can simplify the code even further:&lt;/p&gt;
&lt;p&gt; function ShowHide(divID, showIt )&lt;br /&gt;
 {&lt;br /&gt;
    document.getElementById(&quot;IMG_&quot;+divID).style.src = (showIt) ? &quot;images/minus1.gif&quot; : &quot;images/plus1.gif&quot;;&lt;br /&gt;
    document.getElementById(divID).style.display = (showIt) ? &quot;block&quot; : &quot;none&quot;;&lt;br /&gt;
 } &lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Wed, 26 Nov 2003 01:42:29 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1141530 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-divs-not-showing#comment-1141419</link>
    <description> &lt;p&gt;I forgot that display: none made it actually display nothing. I&#039;m used to visibility: hidden which just hides it and still keeps the spacing. Thanks again.&lt;/p&gt;
 </description>
     <pubDate>Sun, 23 Nov 2003 19:48:28 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1141419 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-divs-not-showing#comment-1141390</link>
    <description> &lt;p&gt;No problems. It&#039;s pretty much what you had before, but without the frills. Sometimes we complicate things too much. Took me a while to realise that I was overlooking the positioning bit. &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>Sun, 23 Nov 2003 04:54:44 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1141390 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-divs-not-showing#comment-1141381</link>
    <description> &lt;p&gt;Wow, that&#039;s great! Thanks so much Abhi!&lt;/p&gt;
 </description>
     <pubDate>Sun, 23 Nov 2003 03:18:50 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1141381 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-divs-not-showing#comment-1141360</link>
    <description> &lt;p&gt;Check &lt;a href=&quot;http://sitebug.com/abhi/TWF/Anitrade.html&quot; class=&quot;bb-url&quot;&gt;this&lt;/a&gt; out.&lt;/p&gt;
 </description>
     <pubDate>Sun, 23 Nov 2003 01:03:07 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1141360 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-divs-not-showing#comment-1141334</link>
    <description> &lt;p&gt;Actually, I did change the path to ../images/. Strange stuff.&lt;/p&gt;
&lt;p&gt;In opera 6 it doesn&#039;t work at all. IE the same problem exists. Mozilla it works fine. What I&#039;ll probably end up doing is having the javascript only on Mozilla. For IE and Opera it&#039;ll just be automatically opened (PHP most likely, I&#039;m better at that).&lt;/p&gt;
&lt;p&gt;Thanks for the help Abhishek!&lt;/p&gt;
 </description>
     <pubDate>Sat, 22 Nov 2003 17:04:34 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1141334 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-divs-not-showing#comment-1141226</link>
    <description> &lt;p&gt;It works in Mozilla Firebird 0.7 on Linux. Only think is that the images don&#039;t change, but that&#039;s because you haven&#039;t altered the paths for your own filing structure.  What browers does it fail in?&lt;/p&gt;
&lt;p&gt;Good luck on that project, sounds like a lot of work. &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>Fri, 21 Nov 2003 03:22:34 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1141226 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-divs-not-showing#comment-1141219</link>
    <description> &lt;p&gt;It works in IE, but the same problem exists. I&#039;d look at it closer, but I have to do a project for school now. It&#039;s a large one, too. Doing a pixel art of a Manor from Medieval Times. Fun stuff, but hard. Thanks for the help.&lt;/p&gt;
 </description>
     <pubDate>Fri, 21 Nov 2003 00:57:52 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1141219 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-divs-not-showing#comment-1141096</link>
    <description> &lt;p&gt;It&#039;s already &amp;amp; copy ;? That means my editor is parsing HTML character code. Or maybe it was Mozilla while saving the page. Sorry about that. &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;Tell me if that code works right in IE. I have no idea what IE&#039;s support of DOM/ECMA standards is like anymore. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 20 Nov 2003 06:47:18 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1141096 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-divs-not-showing#comment-1141092</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;Abhishek Reddy wrote:&lt;/strong&gt; &lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;lt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;script type&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;text/javascript\&quot;&amp;amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; function ShowHide(id) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (document.getElementById(id).style.position == \&quot;absolute\&quot;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById(\&quot;IMG_\&quot;+id).style.src = \&quot;images/minus1.gif\&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById(id).style.position = \&quot;relative\&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById(id).style.top = \&quot;0px\&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById(id).style.display = \&quot;block\&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById(id).style.position = \&quot;absolute\&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById(id).style.top = \&quot;-1000px\&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById(id).style.display = \&quot;none\&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById(\&quot;IMG_\&quot;+id).style.src = \&quot;images/plus1.gif\&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;lt;/script&amp;amp;gt;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
Works in Mozilla Firebird. To make life a little easier, you might want to code to xhtml strict or transitional. Helps with the DOM sometimes. Also use &amp;amp; copy ; instead of the copyright character at the bottom.&lt;/p&gt;
&lt;p&gt;Oh, and change paths to suit.&lt;/p&gt;
&lt;p&gt;&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;/blockquote&gt;
&lt;p&gt; Already is &amp;amp; copy ;.&lt;/p&gt;
&lt;p&gt;I&#039;ll try that code, thanks.&lt;/p&gt;
 </description>
     <pubDate>Thu, 20 Nov 2003 02:37:38 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1141092 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
