<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1015745" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1015745</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Well, almost...</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/tables-interaction#comment-1091517</link>
    <description> &lt;p&gt;First of all, many thanks for your help!&lt;/p&gt;
&lt;p&gt;I mixed your suggestions, did some browsing on the web and came up with a solution to make a table change dynamically the content of another table, closer to what I wanted. You can check the result on &lt;a href=&quot;http://www.arakno.net.&quot; class=&quot;bb-url&quot;&gt;arakno.net.&lt;/a&gt; Comments and criticism will be very welcome! I opted for this because personally I dislike the absolute positioning requirement for layers and also because they do not allow javascript use (inside the layer, that is). Layers can make your html code messier as well, if you&#039;re using many with long pieces of text.&lt;/p&gt;
&lt;p&gt;So I used innerHTML the following way:&lt;/p&gt;
&lt;p&gt;I have a script that has arrays for each content:&lt;br /&gt;
var content = new array;&lt;br /&gt;
content[0] = &quot;The first text&quot;;&lt;br /&gt;
// I use this to load external html files, if they have scripts on them&lt;br /&gt;
content[1] = &quot;&quot;;&lt;br /&gt;
content[n] = ...;&lt;/p&gt;
&lt;p&gt;Then, on the options table I have:&lt;br /&gt;
option1 &lt;a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;option 2 &lt;a&gt; &lt;/a&gt;&lt;br /&gt;
...&lt;br /&gt;
and so on&lt;/p&gt;
&lt;p&gt;And on the destination table (or any other place holder) I have a tag:&lt;br /&gt;
&lt;a id=&quot;PlaceholderName&quot;&gt; ... &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Advantages (at least I think they are advantages for what I had in mind):&lt;br /&gt;
-No need to use absolute positions that were pissing me off whenever the window was resized or moved, forcing me to use code to check that.&lt;br /&gt;
-Use of text when it is needed, or external files on the fly with not that many scripting code&lt;br /&gt;
-external files can themselves use javascript&lt;/p&gt;
&lt;p&gt;Disadvantages:&lt;br /&gt;
-you tell me &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;br /&gt;
-not crossbrowser (did not check with NN6+)&lt;/p&gt;
 </description>
     <pubDate>Sat, 13 Oct 2001 19:29:19 +0000</pubDate>
 <dc:creator>joba</dc:creator>
 <guid isPermaLink="false">comment 1091517 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>THAT&#039;S IT!</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/tables-interaction#comment-1091400</link>
    <description> &lt;p&gt;THAT&#039;S EXACTLY IT!&lt;/p&gt;
&lt;p&gt;Gee, I was hoping for some &quot;high-level&quot; spec of hints and guidelines and I even got the whole code working the way I needed!&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
 </description>
     <pubDate>Thu, 11 Oct 2001 14:31:15 +0000</pubDate>
 <dc:creator>joba</dc:creator>
 <guid isPermaLink="false">comment 1091400 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/tables-interaction#comment-1091295</link>
    <description> &lt;p&gt;this should be crossbrowser. Did you want to have content shown from the links or just a description of the link?&lt;/p&gt;
&lt;p&gt;I have done this with layers but you could do it with innerhtml etc. The prob is crossbrowser stuff. I have more experience with this than inner html.....&lt;/p&gt;
&lt;p&gt;either way this should work ok:&lt;/p&gt;
&lt;p&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; &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;DOCTYPE HTML &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;PUBLIC \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;-//W3C//DTD HTML 4.0 Transitional//EN\&quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Untitled&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;amp;lt;script language=\&quot;JavaScript\&quot;&amp;amp;gt;&amp;lt;!--&lt;br /&gt;function show(object) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (document.getElementById &amp;amp;&amp;amp; document.getElementById(object) != null)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; node = document.getElementById(object).style.visibility=&#039;visible&#039;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (document.layers &amp;amp;&amp;amp; document.layers[object] != null)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.layers[object].visibility = &#039;visible&#039;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (document.all)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.all[object].style.visibility = &#039;visible&#039;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function hide(object) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (document.getElementById &amp;amp;&amp;amp; document.getElementById(object) != null)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; node = document.getElementById(object).style.visibility=&#039;hidden&#039;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (document.layers &amp;amp;&amp;amp; document.layers[object] != null)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.layers[object].visibility = &#039;hidden&#039;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (document.all)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.all[object].style.visibility = &#039;hidden&#039;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function hideall(object) {&lt;br /&gt;hide(&#039;myLayer1&#039;)&lt;br /&gt;hide(&#039;myLayer2&#039;)&lt;br /&gt;hide(&#039;myLayer3&#039;)&lt;br /&gt;hide(&#039;myLayer4&#039;)&lt;br /&gt;hide(&#039;myLayer5&#039;)&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//--&amp;gt;&amp;amp;lt;/script&amp;amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;style type=\&quot;text/css\&quot;&amp;gt;&amp;lt;!--&lt;br /&gt;.myStyle {position: absolute;top : 20; left: 80; visibility: hidden;}&lt;br /&gt;.mytable {position: absolute;top : 25; left: 10; visibility: visible;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; body {font-family: Verdana, Arial, Helvetica;font-size: 10px;color: #000000}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .content {font-family: Verdana, Arial, Helvetica;font-size: 10px;color: #000000}&lt;br /&gt;&lt;br /&gt;//--&amp;gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;span id=\&quot;mytable\&quot; class=\&quot;mytable\&quot;&amp;gt;&lt;br /&gt;&amp;lt;table width=\&quot;300\&quot; border=\&quot;0\&quot; cellspacing=\&quot;0\&quot; cellpadding=\&quot;0\&quot; align=\&quot;left\&quot;&amp;nbsp; bgcolor=\&quot;#FFFFFF\&quot;&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td bgcolor=\&quot;#EAEAEA\&quot; width=\&quot;60\&quot;&amp;gt;&amp;lt;a href=\&quot;javascript:;\&quot; OnClick=\&quot;hideall();show(&#039;myLayer1&#039;)\&quot; class=\&quot;content\&quot;&amp;gt;nav 1&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;a href=\&quot;javascript:;\&quot; OnClick=\&quot;hideall();show(&#039;myLayer2&#039;)\&quot;&amp;nbsp; class=\&quot;content\&quot;&amp;gt;nav 2&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;a href=\&quot;javascript:;\&quot; OnClick=\&quot;hideall();show(&#039;myLayer3&#039;)\&quot;&amp;nbsp; class=\&quot;content\&quot;&amp;gt;nav 3&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;a href=\&quot;javascript:;\&quot; OnClick=\&quot;hideall();show(&#039;myLayer4&#039;)\&quot; class=\&quot;content\&quot;&amp;gt;nav 4&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;a href=\&quot;javascript:;\&quot; OnClick=\&quot;hideall();show(&#039;myLayer5&#039;)\&quot;&amp;nbsp; class=\&quot;content\&quot;&amp;gt;nav 5&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td bgcolor=\&quot;#FFFFFF\&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/span&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;span id=\&quot;myLayer1\&quot; class=\&quot;myStyle\&quot;&amp;gt;&lt;br /&gt;&amp;lt;table bgcolor=\&quot;#FFFFFF\&quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=\&quot;content\&quot;&amp;gt;&lt;br /&gt;this is the content from link number 1&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 1&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 1&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 1&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 1&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 1&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 1&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 1&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 1&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 1&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/span&amp;gt;&lt;br /&gt;&amp;lt;span id=\&quot;myLayer2\&quot; class=\&quot;myStyle\&quot;&amp;gt;&lt;br /&gt;&amp;lt;table bgcolor=\&quot;#FFFFFF\&quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=\&quot;content\&quot;&amp;gt;&lt;br /&gt;this is the content from link number 2&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 2&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 2&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 2&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 2&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 2&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 2&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 2&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 2&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 2&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/span&amp;gt;&lt;br /&gt;&amp;lt;span id=\&quot;myLayer3\&quot; class=\&quot;myStyle\&quot;&amp;gt;&lt;br /&gt;&amp;lt;table bgcolor=\&quot;#FFFFFF\&quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=\&quot;content\&quot;&amp;gt;&lt;br /&gt;this is the content from link number 3&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 3&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 3&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 3&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 3&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 3&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 3&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 3&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 3&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 3&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/span&amp;gt;&lt;br /&gt;&amp;lt;span id=\&quot;myLayer4\&quot; class=\&quot;myStyle\&quot;&amp;gt;&lt;br /&gt;&amp;lt;table bgcolor=\&quot;#FFFFFF\&quot;&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&amp;lt;td class=\&quot;content\&quot;&amp;gt;&lt;br /&gt;this is the content from link number 4&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 4&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 4&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 4&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 4&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 4&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 4&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 4&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 4&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 4&amp;lt;br&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/span&amp;gt;&lt;br /&gt;&amp;lt;span id=\&quot;myLayer5\&quot; class=\&quot;myStyle\&quot;&amp;gt;&lt;br /&gt;&amp;lt;table bgcolor=\&quot;#FFFFFF\&quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=\&quot;content\&quot;&amp;gt;&lt;br /&gt;this is the content from link number 5&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 5&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 5&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 5&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 5&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 5&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 5&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 5&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 5&amp;lt;br&amp;gt;&lt;br /&gt;this is the content from link number 5&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/span&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Oct 2001 04:42:31 +0000</pubDate>
 <dc:creator>detox</dc:creator>
 <guid isPermaLink="false">comment 1091295 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
