<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1037539" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1037539</link>
    <description></description>
    <language>en</language>
          <item>
    <title>can someone help</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/tab-menu#comment-1215505</link>
    <description> &lt;p&gt;Can someone help. It is really doing me in now. All i want to do is display the hidden table from the id that is passed in the function and hide all the other ids that have been displayed in the past.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;module_variable=&amp;#039;&amp;#039;;&lt;br /&gt;&lt;br /&gt;function module(get) {&lt;br /&gt;	if(document.getElementById) {&lt;br /&gt;		if (typeof(get) ===&amp;#039;string&amp;#039;) {&lt;br /&gt;			get=document.getElementById(obj);&lt;br /&gt;		}&lt;br /&gt;		if(module_variable == get) alert(get);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function show(id) {&lt;br /&gt;	&lt;br /&gt;	var get=document.getElementById(id);&lt;br /&gt;	if(get.style.display==&amp;#039;none&amp;#039;){&lt;br /&gt;		get.style.display=&amp;#039;&amp;#039;;&lt;br /&gt;	}&lt;br /&gt;	module(get);&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;here im trying to create a separate function that works out the last id so that i can close it before opening the next. Naturly it doesnt work.  However at the moment im just trying to alert something.&lt;/p&gt;
&lt;p&gt;Help im going mad!&lt;/p&gt;
 </description>
     <pubDate>Tue, 20 Feb 2007 13:58:33 +0000</pubDate>
 <dc:creator>benf</dc:creator>
 <guid isPermaLink="false">comment 1215505 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Menu IDs into an array</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/tab-menu#comment-1215413</link>
    <description> &lt;p&gt;I like the sound of putting all the menu ids in to an array, seeing as when they are created they are from an array in the first place. Perhaps creating a new array from the current array, suppose it would make it an multi dimmensional array:  $menu[itemID][ID] perhaps i could loop through picking out the array item that referes to the ID that has been clicked on?&lt;/p&gt;
&lt;p&gt;Does this make sense.&lt;/p&gt;
 </description>
     <pubDate>Sun, 18 Feb 2007 17:44:00 +0000</pubDate>
 <dc:creator>benf</dc:creator>
 <guid isPermaLink="false">comment 1215413 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/tab-menu#comment-1215403</link>
    <description> &lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;well theres a couple ways you can do it...&lt;/p&gt;
&lt;p&gt;1. You can create an array holding the IDs of your menus and have the &quot;show&quot; function close them all except for the selected ID.&lt;/p&gt;
&lt;p&gt;2. You can send the &quot;TOTAL&quot; number of menus along with the ID and have the show function count out the other menus and close them all(or make sure they are all closed)&lt;/p&gt;
&lt;p&gt;3. You can place all the menus into a &quot;CONTAINER&quot; and then run through the menus as if they where Nodes and check it they are open, if open close them.&lt;/p&gt;
&lt;p&gt;Depending on how you can to go I can provide example code for any option, which do you think will work best for your menu system? &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, 18 Feb 2007 15:19:04 +0000</pubDate>
 <dc:creator>ACJavascripts</dc:creator>
 <guid isPermaLink="false">comment 1215403 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
