<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Chevereto Forums - Third Tab]]></title>
		<link>http://chevereto.com/forums/topic449-third-tab.html</link>
		<description><![CDATA[The most recent posts in Third Tab.]]></description>
		<lastBuildDate>Tue, 11 Jan 2011 08:03:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Third Tab]]></title>
			<link>http://chevereto.com/forums/post3597.html#p3597</link>
			<description><![CDATA[<p>None of that code will work without the stylesheet for those classes.</p>]]></description>
			<author><![CDATA[null@example.com (piksulz)]]></author>
			<pubDate>Tue, 11 Jan 2011 08:03:39 +0000</pubDate>
			<guid>http://chevereto.com/forums/post3597.html#p3597</guid>
		</item>
		<item>
			<title><![CDATA[Re: Third Tab]]></title>
			<link>http://chevereto.com/forums/post3308.html#p3308</link>
			<description><![CDATA[<p>What i did was made my own custom jquery action for the tabs to make this process easier</p><div class="codebox"><pre><code>&lt;script type=&quot;text/javascript&quot;&gt;
  // &lt;![CDATA[
    $(document).ready(function() {

    //When page loads...
    $(&quot;.tab_content&quot;).hide(); //Hide all content
    $(&quot;ul.upload_options li:first&quot;).addClass(&quot;active&quot;).show(); //Activate first tab
    $(&quot;.tab_content:first&quot;).show(); //Show first tab content

    //On Click Event
    $(&quot;ul.upload_options li&quot;).click(function() {

        $(&quot;ul.upload_options li&quot;).removeClass(&quot;active&quot;); //Remove any &quot;active&quot; class
        $(this).addClass(&quot;active&quot;); //Add &quot;active&quot; class to selected tab
        $(&quot;.tab_content&quot;).hide(); //Hide all tab content

        var activeTab = $(this).find(&quot;a&quot;).attr(&quot;href&quot;); //Find the href attribute value to identify the active tab + content
        $(activeTab).fadeIn(); //Fade in the active ID content
        return false;
      });

    //Hide (Collapse) the toggle containers on load
    $(&quot;.toggle_container&quot;).hide(); 

    //Switch the &quot;Open&quot; and &quot;Close&quot; state per click then slide up/down (depending on open/close state)
    /*$(&quot;a.trigger&quot;).click(function(){
      $(this).toggleClass(&quot;active&quot;).next().slideToggle(&quot;fast&quot;);
      return false; //Prevent the browser jump to the link anchor
    });*/

    $(&quot;a.trigger&quot;).click(function(){
      var $next = $(this).next();

      //close and deactivate everything else
      $(&#039;a.trigger&#039;).not(this).removeClass(&#039;active&#039;);  //deactivate all .trigger buttons except current
      $(&#039;.toggle_container.active_toggle&#039;).not($next.get(0))
        .slideUp()
        .removeClass(&#039;active_toggle&#039;);  //close all active containers except the current and deactivate

      //now deal with the current item (toggle)
      $(this).toggleClass(&quot;active&quot;);
      $next.slideToggle(&quot;medium&quot;).toggleClass(&#039;active_toggle&#039;);

      return false; //Prevent the browser jump to the link anchor
    });
  // ]]&gt;
    &lt;/script&gt;</code></pre></div><p>Then changed </p><p>This <br /></p><div class="codebox"><pre><code>    &lt;div id=&quot;tab_container&quot;&lt;? if (isset($lang)) { echo &#039; class=&quot;&#039;.$lang.&#039;&quot;&#039;; } ?&gt;&gt;
        &lt;div class=&quot;btn_local&quot;&gt;&lt;a class=&quot;local&quot; id=&quot;linklocal&quot; style=&quot;display: none;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
        &lt;div class=&quot;btn_remoto&quot;&gt;&lt;a class=&quot;remota&quot; id=&quot;linkremota&quot;&gt;&lt;/a&gt;&lt;/div&gt;
    &lt;/div&gt;</code></pre></div><p>To this<br /></p><div class="codebox"><pre><code>&lt;ul class=&quot;upload_options&quot;&gt;
    &lt;li class=&quot;local&quot;&gt;&lt;a href=&quot;#local&quot;&gt;Local&lt;/a&gt;&lt;/li&gt;
    &lt;li class=&quot;remote&quot;&gt;&lt;a href=&quot;#remote&quot;&gt;Remote&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</code></pre></div><p>Now for the body of the feilds</p><p>Change </p><div class="codebox"><pre><code>    &lt;div id=&quot;contenedorupload&quot;&gt;
        &lt;div id=&quot;subir_local&quot;&gt;
            &lt;h2 id=&quot;chooselocal&quot;&gt;&lt;?php echo TXT_LOCAL;?&gt;&lt;/h2&gt;
            &lt;div class=&quot;inputs&quot;&gt;&lt;input name=&quot;fileup&quot; type=&quot;file&quot; size=&quot;60&quot; id=&quot;localUP&quot; onclick=&quot;javascript:document.getElementById(&#039;remotaUP&#039;).value = &#039;&#039;;&quot;/&gt;&lt;/div&gt;
        &lt;/div&gt;
        &lt;div id=&quot;subir_remota&quot; style=&quot;display: none;&quot;&gt;
            &lt;h2 id=&quot;chooseremota&quot;&gt;&lt;?php echo TXT_REMOTE;?&gt;&lt;/h2&gt;
            &lt;div class=&quot;inputs&quot;&gt;&lt;input name=&quot;remota&quot; size=&quot;60&quot; id=&quot;remotaUP&quot; onclick=&quot;javascript:document.getElementById(&#039;localUP&#039;).value = &#039;&#039;;&quot;/&gt;&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;</code></pre></div><p>To this</p><div class="codebox"><pre><code>&lt;div class=&quot;toggle_container pref&quot;&gt;
&lt;div id=&quot;local&quot; class=&quot;tab_content&quot;&gt;
            &lt;h2 id=&quot;chooselocal&quot;&gt;&lt;?php echo TXT_LOCAL;?&gt;&lt;/h2&gt;
            &lt;div class=&quot;inputs&quot;&gt;&lt;input name=&quot;fileup&quot; type=&quot;file&quot; size=&quot;60&quot; id=&quot;localUP&quot; onclick=&quot;javascript:document.getElementById(&#039;remotaUP&#039;).value = &#039;&#039;;&quot;/&gt;&lt;/div&gt;
        &lt;/div&gt;
&lt;div id=&quot;remote&quot; class=&quot;tab_content&quot;&gt;
            &lt;h2 id=&quot;chooseremota&quot;&gt;&lt;?php echo TXT_REMOTE;?&gt;&lt;/h2&gt;
            &lt;div class=&quot;inputs&quot;&gt;&lt;input name=&quot;remota&quot; size=&quot;60&quot; id=&quot;remotaUP&quot; onclick=&quot;javascript:document.getElementById(&#039;localUP&#039;).value = &#039;&#039;;&quot;/&gt;&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;</code></pre></div><br /><p>Note: keep in mind this is was done on a hevily customized script so this may not be perfect if you have any problems let me know.</p><p>From that it should be very simple to add a new tab by adding </p><div class="codebox"><pre><code>&lt;li class=&quot;custom&quot;&gt;&lt;a href=&quot;#custom&quot;&gt;customtab&lt;/a&gt;&lt;/li&gt;</code></pre></div><p>inside the &lt;ul class=&quot;upload_options&quot;&gt;</p><p>then </p><div class="codebox"><pre><code>&lt;div id=&quot;custom&quot; class=&quot;tab_content&quot;&gt;content here &lt;/div&gt;</code></pre></div><p>inside the &lt;div class=&quot;upload_options_container&quot;&gt;</p><p>Hope this helps out.</p>]]></description>
			<author><![CDATA[null@example.com (th3fallen)]]></author>
			<pubDate>Thu, 25 Nov 2010 01:05:59 +0000</pubDate>
			<guid>http://chevereto.com/forums/post3308.html#p3308</guid>
		</item>
		<item>
			<title><![CDATA[Re: Third Tab]]></title>
			<link>http://chevereto.com/forums/post2727.html#p2727</link>
			<description><![CDATA[<p>This is quite an old thread. I don&#039;t believe <em>macho01</em> still checks this forum.</p><p>His question was however: how to add an extra tab next to remote upload.</p>]]></description>
			<author><![CDATA[null@example.com (gamerlv)]]></author>
			<pubDate>Sat, 29 May 2010 16:16:26 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2727.html#p2727</guid>
		</item>
		<item>
			<title><![CDATA[Re: Third Tab]]></title>
			<link>http://chevereto.com/forums/post2725.html#p2725</link>
			<description><![CDATA[<p>What do you mean by 3rd tap?</p>]]></description>
			<author><![CDATA[null@example.com (Mr. Chinn)]]></author>
			<pubDate>Sat, 29 May 2010 15:48:03 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2725.html#p2725</guid>
		</item>
		<item>
			<title><![CDATA[Third Tab]]></title>
			<link>http://chevereto.com/forums/post2195.html#p2195</link>
			<description><![CDATA[<p>Hello everyone, it&#039;s some days that I&#039;m trying to add a third tab on the index of chevereto, but without result, can anyone explain me how to do that or help me in any way??<br />Thanks</p>]]></description>
			<author><![CDATA[null@example.com (macho01)]]></author>
			<pubDate>Thu, 28 Jan 2010 20:28:53 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2195.html#p2195</guid>
		</item>
	</channel>
</rss>

