<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ajax Updates &#187; tabs-container</title>
	<atom:link href="http://www.ajaxupdates.com/tag/tabs-container/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxupdates.com</link>
	<description>Latest Ajax Scripts, Examples, News and other Ajax related stuff</description>
	<lastBuildDate>Fri, 12 Feb 2010 12:46:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tab Container Themes</title>
		<link>http://www.ajaxupdates.com/tab-container-themes/</link>
		<comments>http://www.ajaxupdates.com/tab-container-themes/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 14:33:44 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Ajax Tabs]]></category>
		<category><![CDATA[ajax scripts]]></category>
		<category><![CDATA[ajax themes]]></category>
		<category><![CDATA[container themes]]></category>
		<category><![CDATA[tab container]]></category>
		<category><![CDATA[tab container style]]></category>
		<category><![CDATA[tabs-container]]></category>
		<category><![CDATA[theme tabs]]></category>
		<category><![CDATA[toolkit tab container]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=2031</guid>
		<description><![CDATA[After working on a YUI TabView theme for the AjaxControlToolkit&#8217;s TabContainer control, I thought it might be fun to create a few more TabContainer themes for some of the other tab-style controls that I have seen floating around the web.  I was especially curious in seeing what it would take to include images in [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/tabs-with-moo-tools-plugin/' rel='bookmark' title='Permanent Link: Tabs with Moo tools plugin'>Tabs with Moo tools plugin</a> <small>This is MooTabs! Using a slightly modified CSS file and...</small></li>
<li><a href='http://www.ajaxupdates.com/decoy-fix-for-ie-duplicate-characters-bug/' rel='bookmark' title='Permanent Link: Decoy Fix for IE Duplicate Characters Bug'>Decoy Fix for IE Duplicate Characters Bug</a> <small>Among the countless IE annoyances, the duplicate character bug is...</small></li>
<li><a href='http://www.ajaxupdates.com/creating-a-draggable-sitemap-with-jquery/' rel='bookmark' title='Permanent Link: Creating A Draggable Sitemap With JQuery'>Creating A Draggable Sitemap With JQuery</a> <small>There are a handful of javascript libraries and plugins available...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After working on a <a href="http://mattberseth.com/blog/2007/09/creating_a_yui_tabview_style_t.html">YUI TabView theme</a> for the <a href="http://www.asp.net/ajax/ajaxcontroltoolkit/">AjaxControlToolkit&#8217;s</a> <a href="http://www.asp.net/ajax/ajaxcontroltoolkit/samples/Tabs/Tabs.aspx">TabContainer</a> control, I thought it might be fun to create a few more TabContainer themes for some of the other tab-style controls that I have seen floating around the web.  I was especially curious in seeing what it would take to include images in each of the tab panel header&#8217;s.     </p>
<p><img src="http://mattberseth.com/WindowsLiveWriter/MoreSampleTabContainerSkins_12B5A/image%7B0%7D%5B7%5D.png" alt="" width="444" height="64" /> </p>
<p>Below are the controls I was targeting, where on the Internet I found them, and a short description of what it took to create the corresponding theme.  If you are not familiar with how theming the TabContainer works, I recommend reading the</p>
<p>Notes:</p>
<p>   1. To use this theme, include a link to the CSS file and set the CssClass of the TabContainer control to &#8216;ajax__tab_technorati-theme&#8217;.<br />
   2. Make sure you copy the images to your machine and update the path&#8217;s in the stylesheet if you change the path.  The images for this theme can be found in the download in the img/technorati directory<br />
   3. I tested in both IE7 and FF and did not encounter any issues</p>
<p>Windows Live Gallery Tab Theme</p>
<p>I do not particularly care for the Windows Live Gallery style tab, but I thought it might make for an interesting example because the tab headers all contain images.  I thought this might be a difficult scenario to support, but because the TabContainer allows for defining a template to use for the tab headers, it was no problem at all.</p>
<p>Here is the sample markup for the &#8216;Sidebar gadget&#8217; tab panel.  Notice, the HeaderTemplate provides us with the flexibility of defining the image and header text that should be used for the &#8216;Sidebar gadgets&#8217; tab.</p>
<pre class="brush: html">&lt;ajaxtoolkit :TabPanel runat=&quot;server&quot;&gt;
    &lt;headertemplate&gt;
        &lt;div&gt;
            &lt;img src=&quot;img/msngallery/sidebar.png&quot;/&gt;
            &lt;div&gt;Sidebar gadgets&lt;/div&gt;
        &lt;/div&gt;
    &lt;/headertemplate&gt;
    &lt;contenttemplate&gt;
    &lt;/contenttemplate&gt;
&lt;/ajaxtoolkit&gt;
</pre>
<p><strong><br />
YUI Tab Theme</strong></p>
<p>I blogged about the YUI theme before, but incase you missed it I figured I would mention it again here.</p>
<p>Notes:</p>
<p>   1. To use this theme, include a link to the CSS file and set the CssClass of the TabContainer control to &#8216;ajax__tab_yuitabview-theme&#8217;.<br />
   2. Make sure you copy the images to your machine and update the path&#8217;s in the stylesheet if you change the path.  The images for this theme can be found in the download in the img/yui directory<br />
   3. I tested in both IE7, IE6 and FF and did not encounter any issues.</p>
<p><strong>Windows Internet Explorer Tab Theme</strong></p>
<p>The last theme I created is based on the tab control that can be found on the Windows Internet Explorer home page. </p>
<p>Notes:</p>
<p>   1. To use this theme, include a link to the CSS file and set the CssClass of the TabContainer control to &#8216;ajax__tab_ie-theme&#8217;.<br />
   2. Make sure you copy the images to your machine and update the path&#8217;s in the stylesheet if you change the path.  The images for this theme can be found in the download in the img/ie directory<br />
   3. I tested in both IE7 and FF.  There appears to be a small issue with the alignment of the first tab in FF.  I am working on resolving this.<br />
Notes:</p>
<p>   1. To use this theme, include a link to the CSS file and set the CssClass of the TabContainer control to &#8216;ajax__tab_msngallery-theme&#8217;.<br />
   2. Make sure you copy the images to your machine and update the path&#8217;s in the stylesheet if you change the path.  The images for this theme can be found in the download in the img/msngallery directory<br />
   3. I tested in both IE7 and FF and did not encounter any issues</p>
<p><strong>CSS Stylesheet:</strong></p>
<pre class="brush: css">body
{
    font-family:verdana,tahoma,helvetica;
}

/* ajax__tab_xp-theme theme */
.ajax__tab_xp-theme .ajax__tab_header
{
    font-family:verdana,tahoma,helvetica;
    font-size:11px;
    background:url(img/xp/tab-line.gif) repeat-x bottom;
}
.ajax__tab_xp-theme .ajax__tab_header .ajax__tab_outer
{
    padding-right:4px;
    background:url(img/xp/tab-right.gif) no-repeat right;
    height:21px;
}
.ajax__tab_xp-theme .ajax__tab_header .ajax__tab_inner
{
    padding-left:3px;
    background:url(img/xp/tab-left.gif) no-repeat;
}
.ajax__tab_xp-theme .ajax__tab_header .ajax__tab_tab
{
    height:13px;
    padding:4px;
    margin:0;
    background:url(img/xp/tab.gif) repeat-x;
}
.ajax__tab_xp-theme .ajax__tab_hover .ajax__tab_outer
{
    background:url(img/xp/tab-hover-right.gif) no-repeat right;
}
.ajax__tab_xp-theme .ajax__tab_hover .ajax__tab_inner
{
    background:url(img/xp/tab-hover-left.gif) no-repeat;
}
.ajax__tab_xp-theme .ajax__tab_hover .ajax__tab_tab
{
    background:url(img/xp/tab-hover.gif) repeat-x;
}
.ajax__tab_xp-theme .ajax__tab_active .ajax__tab_outer
{
    background:url(img/xp/tab-active-right.gif) no-repeat right;
}
.ajax__tab_xp-theme .ajax__tab_active .ajax__tab_inner
{
    background:url(img/xp/tab-active-left.gif) no-repeat;
}
.ajax__tab_xp-theme .ajax__tab_active .ajax__tab_tab
{
    background:url(img/xp/tab-active.gif) repeat-x;
}
.ajax__tab_xp-theme .ajax__tab_body
{
    font-family:verdana,tahoma,helvetica;
    font-size:10pt;
    border:1px solid #999999;
    border-top:0;
    padding:8px;
    background-color:#ffffff;
}

/* ajax__tab_yuitabview-theme theme (img/yui/sprite.png) */
.ajax__tab_yuitabview-theme .ajax__tab_header
{
    font-family:arial,helvetica,clean,sans-serif;
    font-size:small;
    border-bottom:solid 5px #2647a0;
}
.ajax__tab_yuitabview-theme .ajax__tab_header .ajax__tab_outer
{
    background:url(img/yui/sprite.png) #d8d8d8 repeat-x;
    margin:0px 0.16em 0px 0px;
    padding:1px 0px 1px 0px;
    vertical-align:bottom;
    border:solid 1px #a3a3a3;
    border-bottom-width:0px;
}
.ajax__tab_yuitabview-theme .ajax__tab_header .ajax__tab_tab
{
    color:#000;
    padding:0.35em 0.75em;
    margin-right:0.01em;
}
.ajax__tab_yuitabview-theme .ajax__tab_hover .ajax__tab_outer
{
    background: url(img/yui/sprite.png) #bfdaff repeat-x left -1300px;
}
.ajax__tab_yuitabview-theme .ajax__tab_active .ajax__tab_tab
{
    color:#fff;
}
.ajax__tab_yuitabview-theme .ajax__tab_active .ajax__tab_outer
{
    background:url(img/yui/sprite.png) #2647a0 repeat-x left -1400px;
}
.ajax__tab_yuitabview-theme .ajax__tab_body
{
    font-family:verdana,tahoma,helvetica;
    font-size:10pt;
    padding:0.25em 0.5em;
    background-color:#edf5ff;
    border:solid 1px #808080;
    border-top-width:0px;
}

/* ajax__tab_technorati-theme theme */
.ajax__tab_technorati-theme .ajax__tab_header
{
    font-family:&quot;Helvetica Neue&quot;, Arial, Sans-Serif;
    background:url(img/technorati/tab-line.png) repeat-x bottom;
    font-size:12px;
    display:block;
}
.ajax__tab_technorati-theme .ajax__tab_header .ajax__tab_outer
{
    background:url(img/technorati/tab.png) no-repeat left top;
    border-color:#222;
    color:#222;
    padding-left:10px;
    margin-right:3px;
}
.ajax__tab_technorati-theme .ajax__tab_header .ajax__tab_inner
{
    background:url(img/technorati/tab.png) no-repeat right top;
    border-color:#666;
    color:#666;
    padding:3px 10px 2px 0px;
}
.ajax__tab_technorati-theme .ajax__tab_hover .ajax__tab_inner
{
    color:#000000;
}
.ajax__tab_technorati-theme .ajax__tab_active .ajax__tab_outer
{
    background:url(img/technorati/tab.png) no-repeat 0pt -40px;
    border-bottom-color:#ffffff;
}
.ajax__tab_technorati-theme .ajax__tab_active .ajax__tab_inner
{
    background:url(img/technorati/tab.png) no-repeat right -40px;
    color:#000000;
    border-color:#333
}
.ajax__tab_technorati-theme .ajax__tab_body
{
    font-family:verdana,tahoma,helvetica;
    font-size:10pt;
    padding:8px;
    background-color:#ffffff;
    border:solid 1px #d7d7d7;
    border-top-width:0;
}

/* ajax__tab_msngallery-theme theme */
.ajax__tab_msngallery-theme .ajax__tab_header
{
    background:url(img/msngallery/tab-line.png) repeat-x bottom;
    font-size:12px;
    display:block;
}
.ajax__tab_msngallery-theme .ajax__tab_header .ajax__tab_outer
{
    border:solid 1px #D7DCE1;
    padding:1px 1px 0px 1px;
    border-bottom:solid 2px #A8D4D9;
    background-color:#edf2fb;
}
.ajax__tab_msngallery-theme .ajax__tab_header .ajax__tab_tab
{
    padding:6px 10px 6px 10px;
    color:#444444;
    width:117px;
    display:block;
    text-align:center;
}
.ajax__tab_msngallery-theme .ajax__tab_header .ajax__tab_tab img
{
    height:24px;
    width:24px;
}
.ajax__tab_msngallery-theme .ajax__tab_header .ajax__tab_tab div
{
    font-family:Verdana, Arial, Sans-Serif;
    font-weight:bold;
    white-space:nowrap;
    line-height:145%;
    font-size:92%;
}
.ajax__tab_msngallery-theme .ajax__tab_active .ajax__tab_outer
{
    padding:0px 0px 0px 0px;
    border:solid 2px #A8D4D9;
    border-bottom-color:#ffffff;
    background-color:#ffffff;
}
.ajax__tab_msngallery-theme .ajax__tab_body
{
    font-family:verdana,tahoma,helvetica;
    font-size:10pt;
    padding:8px;
    background-color:#ffffff;
    border:solid 2px #A8D4D9;
    border-top-width:0;
}

/* ajax__tab_ie-theme theme */
.ajax__tab_ie-theme .ajax__tab_header
{
    padding-left:5px;
}
.ajax__tab_ie-theme .ajax__tab_header .ajax__tab_tab
{
    margin-right:0px;
    background:url(img/ie/tab_unselected.gif);
    width:116px;
    padding:9px 0px 3px 0px;
    text-align:center;
    color:#006699;
    font-family:verdana;
    font-size:13px;
    display:block;
}
.ajax__tab_ie-theme .ajax__tab_active .ajax__tab_tab
{
    padding:6px 0px 3px 0px;
    background:url(img/ie/tab_selected.gif);
}
.ajax__tab_ie-theme .ajax__tab_body
{
    background:url(img/ie/ie_tabbacker_720x296.jpg) no-repeat;
    font-size:13px;
    font-family:verdana;
    height:296px;
    width:716px;
}
.ajax__tab_ie-theme .ajax__tab_body div
{
     padding:8px;
}
</pre>
<p>Demo: <a href="http://mattberseth2.com/tab_theme_II/">http://mattberseth2.com/tab_theme_II/</a><br />
Download: <a href="http://mattberseth2.com/downloads/tab_theme_II.zip">http://mattberseth2.com/downloads/tab_theme_II.zip</a><br />
Source: <a href="http://mattberseth.com/blog/2007/09/more_sample_ajaxcontroltoolkit.html">http://mattberseth.com/blog/2007/09/more_sample_ajaxcontroltoolkit.html</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Ftab-container-themes%2F', 'Tab+Container+Themes')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Ftab-container-themes%2F', title: '+Tab+Container+Themes+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/tabs-with-moo-tools-plugin/' rel='bookmark' title='Permanent Link: Tabs with Moo tools plugin'>Tabs with Moo tools plugin</a> <small>This is MooTabs! Using a slightly modified CSS file and...</small></li>
<li><a href='http://www.ajaxupdates.com/decoy-fix-for-ie-duplicate-characters-bug/' rel='bookmark' title='Permanent Link: Decoy Fix for IE Duplicate Characters Bug'>Decoy Fix for IE Duplicate Characters Bug</a> <small>Among the countless IE annoyances, the duplicate character bug is...</small></li>
<li><a href='http://www.ajaxupdates.com/creating-a-draggable-sitemap-with-jquery/' rel='bookmark' title='Permanent Link: Creating A Draggable Sitemap With JQuery'>Creating A Draggable Sitemap With JQuery</a> <small>There are a handful of javascript libraries and plugins available...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/tab-container-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->