<?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>fragmente &#187; YAML</title>
	<atom:link href="http://blog.team-noir.net/category/yaml/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.team-noir.net</link>
	<description>team noir blog</description>
	<lastBuildDate>Thu, 19 Jan 2012 15:04:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>How to use position-absolute and z-index with Internet Explorer 7 and nested containers</title>
		<link>http://blog.team-noir.net/2010/05/how-to-use-position-absolute-and-z-index-with-internet-explorer-7-and-nested-containers/</link>
		<comments>http://blog.team-noir.net/2010/05/how-to-use-position-absolute-and-z-index-with-internet-explorer-7-and-nested-containers/#comments</comments>
		<pubDate>Thu, 27 May 2010 11:43:19 +0000</pubDate>
		<dc:creator>karrock</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[YAML]]></category>
		<category><![CDATA[ie7]]></category>

		<guid isPermaLink="false">http://blog.team-noir.net/?p=376</guid>
		<description><![CDATA[When you have a div-container which has the attribute position-absolute and you put a 2nd div-container inside (which has also a position-absolute attribute) it can happens that Internet Explorer 7 does not interpret this correct. I had the problem, that the 2nd div-container (which is a fold-out CSS-menu) is larger than the sorrounding div. In [...]
Related posts:<ol>
<li><a href='http://blog.team-noir.net/2009/02/overflow-auto-internet-explorer-6-bug/' rel='bookmark' title='overflow:auto &#8211; Internet Explorer 6 Bug'>overflow:auto &#8211; Internet Explorer 6 Bug</a></li>
<li><a href='http://blog.team-noir.net/2010/03/how-to-code-a-jquery-slider-menu/' rel='bookmark' title='How to code a jQuery slider menu'>How to code a jQuery slider menu</a></li>
<li><a href='http://blog.team-noir.net/2009/02/how-to-center-a-yaml-layout/' rel='bookmark' title='How to &#8230; center a YAML Layout'>How to &#8230; center a YAML Layout</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When you have a div-container which has the attribute position-absolute and you put a 2nd div-container inside (which has also a position-absolute attribute) it can happens that Internet Explorer 7 does not interpret this correct.</p>
<p>I had the problem, that the 2nd div-container (which is a fold-out CSS-menu) is larger than the sorrounding div. In IE 7 the CSS-menu lays, in the part outside the sorrounding container, behind those elements. But for a menu you aspect to be the first element in the hierarchy.</p>
<p>Those layer positions can be set using z-index in CSS. The higher the index, the higher the position of the element to users-view. So I set the z-index to a high value but in IE 7 nothing happened.</p>
<p><span id="more-376"></span></p>
<p>After trying a while I worked out a very easy solution. If you use for an element the position-absolute attribute it will be set out of the normal element-flow of the website and be positioned absolute to the given position. But IE 7 inherits the value from the parent-element (here the sorrounding div-container) which had no z-index.</p>
<p>So my <em>solution</em> is to give both, the surrounding and the inner div-container a z-index. The surrounding container gets (in my case) a higher z-index than the surrounding one and the problem is fixed! <img src='http://blog.team-noir.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The surrounding element is the YAML #topnav-element and the inner one is a div-container with list-items which are styled as a JS-free fully CSS-menu.</p>
<pre>#topnav {
  overflow:visible;
  z-index:5;
  position:absolute;
  [...]
}

#inner_container {
  position:absolute;
  z-index:2;
  [...]
}</pre>
<p>Related posts:<ol>
<li><a href='http://blog.team-noir.net/2009/02/overflow-auto-internet-explorer-6-bug/' rel='bookmark' title='overflow:auto &#8211; Internet Explorer 6 Bug'>overflow:auto &#8211; Internet Explorer 6 Bug</a></li>
<li><a href='http://blog.team-noir.net/2010/03/how-to-code-a-jquery-slider-menu/' rel='bookmark' title='How to code a jQuery slider menu'>How to code a jQuery slider menu</a></li>
<li><a href='http://blog.team-noir.net/2009/02/how-to-center-a-yaml-layout/' rel='bookmark' title='How to &#8230; center a YAML Layout'>How to &#8230; center a YAML Layout</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.team-noir.net/2010/05/how-to-use-position-absolute-and-z-index-with-internet-explorer-7-and-nested-containers/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to code a jQuery slider menu</title>
		<link>http://blog.team-noir.net/2010/03/how-to-code-a-jquery-slider-menu/</link>
		<comments>http://blog.team-noir.net/2010/03/how-to-code-a-jquery-slider-menu/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 13:25:54 +0000</pubDate>
		<dc:creator>blumentritt</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[YAML]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://blog.team-noir.net/?p=339</guid>
		<description><![CDATA[How to &#8230; I show you a nice jQuery snippet for a smoothy slider menu. This was my first jQuery experience &#8211; if you find some tuning options, tell me please! Here you can see my script in Action: http://www.gyn-endoskopie.de/ /** * @author team noir GbR * simple slide-out Menu * www.gyn-endoskopie.de * Version 1.5 [...]
Related posts:<ol>
<li><a href='http://blog.team-noir.net/2009/02/how-to-integrate-a-yaml-menu-to-typo3/' rel='bookmark' title='How to &#8230; integrate  a YAML Menu to TYPO3'>How to &#8230; integrate  a YAML Menu to TYPO3</a></li>
<li><a href='http://blog.team-noir.net/2010/05/how-to-use-position-absolute-and-z-index-with-internet-explorer-7-and-nested-containers/' rel='bookmark' title='How to use position-absolute and z-index with Internet Explorer 7 and nested containers'>How to use position-absolute and z-index with Internet Explorer 7 and nested containers</a></li>
<li><a href='http://blog.team-noir.net/2010/03/how-to-build-a-yaml-fullscreen-layout/' rel='bookmark' title='How to build a YAML fullscreen layout'>How to build a YAML fullscreen layout</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>How to &#8230;</strong></p>
<p>I show you a nice jQuery snippet for a smoothy slider menu.</p>
<p>This was my first <a href="http://jquery.com/">jQuery</a> experience &#8211; if you find some tuning options, tell me please!</p>
<p>Here you can see my script in Action: <a title="Dr med Söder" href="http://www.gyn-endoskopie.de/">http://www.gyn-endoskopie.de/</a></p>
<p><span id="more-339"></span></p>
<pre>/**
 * @author team noir GbR
 * simple slide-out Menu
 * www.gyn-endoskopie.de
 * Version 1.5 - 11.01.2010
 */
$(document).ready(function() {
 //on first loading, hide the submenu
 $(".subul li").hide();
 //show active sub element, after paging
 $(".active").parent().parent(".subul").css('margin-top', -4).children("li").show(".subul li");

 //Actionhandling
 //click on menu
 $(".slide").click(function(){

 //only one submenu is allowed to show
 $(".angeklickt li").slideUp("fast");
 $(".angeklickt").removeClass("angeklickt");
 //close other open submenus
 $(".active").parent().parent(".subul").children("li").slideUp(".subul li");

 //mark heading ul
 $(this).next("ul").addClass('angeklickt');

 //show marked submenu
 if ($(".angeklickt li").is(":hidden")) {
 $(".angeklickt li").slideDown("slow");
 $("ul.angeklickt").css('margin-top', -4);
 return false;
 }
 //close/slide submenu
 else {
 $(".angeklickt li").slideUp("slow");
 $("ul.angeklickt").css('margin-top', 0);
 $(this).next("ul").removeClass("angeklickt");
 return false;
 }
 });

});
</pre>
<p>this is the menu source code:</p>
<pre>&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#"&gt;Startseite&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;Zur Person&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#l"&gt;Operationen&lt;/a&gt;
 &lt;ul class="subul&gt;
   &lt;li&gt;&lt;a href="#" title="Operationsspektrum"&gt;Operationsspektrum&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="#" title="OP-Aufklärung"&gt;OP-Aufklärung&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="#" title="OP-Patienteninfos"&gt;OP-Patienteninfos&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="#" title="Anmeldung"&gt;Anmeldung&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#" title="Novasure/Goldnetz"&gt;Novasure/Goldnetz&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#" title="Tagesklinik"&gt;Tagesklinik&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;Kontakt&lt;/a&gt;
 &lt;ul class="subul&gt;
   &lt;li&gt;&lt;a href="#" title="Schreiben Sie uns"&gt;Schreiben Sie uns&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="#" title="Anfahrt mit dem Auto"&gt;Anfahrt mit dem Auto&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="#" title="Wegbeschreibung"&gt;Wegbeschreibung&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</pre>
<p>System information:</p>
<ul>
<li>TYPO3 4 CMS</li>
<li>YAML 3.1</li>
<li>CSS 2/3</li>
<li>XHTML 1.0</li>
<li><a title="Dr med Söder" href="http://www.gyn-endoskopie.de/">http://www.gyn-endoskopie.de/</a></li>
</ul>
<p><a href="http://blog.team-noir.net/wp-content/uploads/2010/03/slider_menu.png"><img class="alignnone size-full wp-image-347" title="slider_menu" src="http://blog.team-noir.net/wp-content/uploads/2010/03/slider_menu.png" alt="" width="214" height="357" /></a></p>
<p>greetz!</p>
<p>Related posts:<ol>
<li><a href='http://blog.team-noir.net/2009/02/how-to-integrate-a-yaml-menu-to-typo3/' rel='bookmark' title='How to &#8230; integrate  a YAML Menu to TYPO3'>How to &#8230; integrate  a YAML Menu to TYPO3</a></li>
<li><a href='http://blog.team-noir.net/2010/05/how-to-use-position-absolute-and-z-index-with-internet-explorer-7-and-nested-containers/' rel='bookmark' title='How to use position-absolute and z-index with Internet Explorer 7 and nested containers'>How to use position-absolute and z-index with Internet Explorer 7 and nested containers</a></li>
<li><a href='http://blog.team-noir.net/2010/03/how-to-build-a-yaml-fullscreen-layout/' rel='bookmark' title='How to build a YAML fullscreen layout'>How to build a YAML fullscreen layout</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.team-noir.net/2010/03/how-to-code-a-jquery-slider-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to build a YAML fullscreen layout</title>
		<link>http://blog.team-noir.net/2010/03/how-to-build-a-yaml-fullscreen-layout/</link>
		<comments>http://blog.team-noir.net/2010/03/how-to-build-a-yaml-fullscreen-layout/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 12:45:15 +0000</pubDate>
		<dc:creator>blumentritt</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[YAML]]></category>
		<category><![CDATA[fullscreen]]></category>
		<category><![CDATA[layout]]></category>

		<guid isPermaLink="false">http://blog.team-noir.net/?p=323</guid>
		<description><![CDATA[How to &#8230; Yaml provides a nice solution for column layout, center layout and fullscreen layout. The last team-noir project was a fullscreen-design for our customer. I show you how easy it is to code such a template: Dirk Jesse wrote a very good documentation: Variations of the Markup As demonstrated, the two CSS classes  [...]
Related posts:<ol>
<li><a href='http://blog.team-noir.net/2009/02/how-to-center-a-yaml-layout/' rel='bookmark' title='How to &#8230; center a YAML Layout'>How to &#8230; center a YAML Layout</a></li>
<li><a href='http://blog.team-noir.net/2009/04/using-yaml-and-be-fully-variable/' rel='bookmark' title='Using YAML and be fully variable'>Using YAML and be fully variable</a></li>
<li><a href='http://blog.team-noir.net/2010/07/css-center-background-image-in-firefox-co/' rel='bookmark' title='CSS: center background image in Firefox &amp; Co.'>CSS: center background image in Firefox &#038; Co.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>How to &#8230;</strong></p>
<p>Yaml provides a nice solution for column layout, center layout and fullscreen layout.</p>
<p>The <a title="Dr med Söder" href="http://www.gyn-endoskopie.de/">last team-noir project</a> was a fullscreen-design for our customer. I show you how easy it is to code such a template:</p>
<p><span id="more-323"></span></p>
<p><a href="http://blog.team-noir.net/wp-content/uploads/2010/03/fullscreen.png" target="_blank"><img class="alignnone size-full wp-image-325" title="fullscreen" src="http://blog.team-noir.net/wp-content/uploads/2010/03/fullscreen.png" alt="" width="270" height="458" /></a></p>
<p>Dirk Jesse wrote a very good <a href="http://www.yaml.de/en/documentation/basics/xhtml-source-code.html">documentation</a>:</p>
<blockquote>
<h3>Variations of the Markup</h3>
<p>As demonstrated, the two CSS classes  .page_margins and .page control the basic appearance of the layout, by setting the total width as well as margins, borders, or backgrounds if necessary.</p>
<p>In the source code described above, the outermost DIV container  .page_margins surrounds all the other elements of the webpage. This results in a layout which in its simplest form is a rectangular box against the background of the &lt;body&gt; element.  This effect is not always desirable.</p></blockquote>
<p>So the main ascpect is to order your source by:</p>
<pre><code>&lt;div id="header / col1 / ..."&gt;
    &lt;div class="page_margins"&gt;
      &lt;div class="page"&gt;
         ...
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt; </code></pre>
<p>modify the <em>basemod.css</em>:</p>
<pre>/* (en) Centering layout in old IE-versions */
 body { text-align:center; }
 .page_margins { text-align:left; margin:0 auto; }

 /* (en) Layout:width, background, borders */
 .page_margins { <strong>width: 100%</strong>; background: transparent; }
</pre>
<p>Example on <a href="http://www.yaml.de/fileadmin/examples/07_layouts_advanced_2/fullpage_3col.html">Yaml.de</a>, and <a href="http://www.yaml.de/fileadmin/examples/07_layouts_advanced_2/fullpage_grids.html">here<br />
</a></p>
<p>So as you can see &#8211; really easy coding -&gt; thank&#8217;s to <a href="http://www.highresolution.info/">Dirk Jesse</a>!</p>
<p>Related posts:<ol>
<li><a href='http://blog.team-noir.net/2009/02/how-to-center-a-yaml-layout/' rel='bookmark' title='How to &#8230; center a YAML Layout'>How to &#8230; center a YAML Layout</a></li>
<li><a href='http://blog.team-noir.net/2009/04/using-yaml-and-be-fully-variable/' rel='bookmark' title='Using YAML and be fully variable'>Using YAML and be fully variable</a></li>
<li><a href='http://blog.team-noir.net/2010/07/css-center-background-image-in-firefox-co/' rel='bookmark' title='CSS: center background image in Firefox &amp; Co.'>CSS: center background image in Firefox &#038; Co.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.team-noir.net/2010/03/how-to-build-a-yaml-fullscreen-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using YAML and be fully variable</title>
		<link>http://blog.team-noir.net/2009/04/using-yaml-and-be-fully-variable/</link>
		<comments>http://blog.team-noir.net/2009/04/using-yaml-and-be-fully-variable/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 21:53:57 +0000</pubDate>
		<dc:creator>karrock</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[YAML]]></category>

		<guid isPermaLink="false">http://blog.team-noir.net/?p=98</guid>
		<description><![CDATA[I´m using YAML now for a while on our projects, also at work and for my own website. YAML is build as a core version which has many hacks (maybe for IE) and is made as an 3-column layout. On top of this there are some files which overwrites the other CSS classes and IDs [...]
Related posts:<ol>
<li><a href='http://blog.team-noir.net/2010/03/how-to-build-a-yaml-fullscreen-layout/' rel='bookmark' title='How to build a YAML fullscreen layout'>How to build a YAML fullscreen layout</a></li>
<li><a href='http://blog.team-noir.net/2009/02/how-to-center-a-yaml-layout/' rel='bookmark' title='How to &#8230; center a YAML Layout'>How to &#8230; center a YAML Layout</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I´m using <a title="Yet Another Multicolumn Layout" href="http://www.yaml.de" target="_self">YAML</a> now for a while on our projects, also at work and for my own website. YAML is build as a core version which has many hacks (maybe for IE) and is made as an 3-column layout. On top of this there are some files which overwrites the other CSS classes and IDs and this is your special layout. Maybe when you use the <a title="YAML-Javascript online Builder" href="http://builder.yaml.de/" target="_self">YAML-Builder</a> you have a finished layout where the classes in the css-directory overwrites the core classes.</p>
<p>For example you want to have a 2-column layout instead of a 3-column one the files in the css-directory set this layout. But when you make your own website you have to overwrite also some settings in the css-directory because you want to change the YAML-layout a bit. Layout, sizing or colours. There are two ways to do this.</p>
<p><span id="more-98"></span></p>
<ol>
<li>You edit the files in the css-directory</li>
<li>You make a 2nd css-file especially for your website and include it as the last one in your html-file(s) (must be included before the IE7-hack will be included)</li>
</ol>
<p>The first solution is good and easy but I prefer the 2nd one and now I will explain on a little example (from a project at my work I do at the moment).<br />
I made a 2-column-layout with YAML for a little project at work. The template and layout is growing and will be finished in the next days. Now a collegue comes to me and we discuss the style and discuss about other internal websites and the corporate design. Now we decided to change to a 3-column layout, because it´s closer to the style-guide. I used the 2nd method and now I have the possibility to change the full YAML-core-layout and the overwriting files (in the css-directory) to get an 3-column layout without losing my special settings and layout-configurations for our design. If I used the first method I would have to backup the files in the css-directory, make with YAML-Builder a new 3-column layout and redo the changes from the backuped files again in the new one. This would be more complex.<br />
The downside is, that you have a extra file and you have to include this extra css-file in every html-file you make.</p>
<p>Related posts:<ol>
<li><a href='http://blog.team-noir.net/2010/03/how-to-build-a-yaml-fullscreen-layout/' rel='bookmark' title='How to build a YAML fullscreen layout'>How to build a YAML fullscreen layout</a></li>
<li><a href='http://blog.team-noir.net/2009/02/how-to-center-a-yaml-layout/' rel='bookmark' title='How to &#8230; center a YAML Layout'>How to &#8230; center a YAML Layout</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.team-noir.net/2009/04/using-yaml-and-be-fully-variable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to &#8230; center a YAML Layout</title>
		<link>http://blog.team-noir.net/2009/02/how-to-center-a-yaml-layout/</link>
		<comments>http://blog.team-noir.net/2009/02/how-to-center-a-yaml-layout/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 13:55:36 +0000</pubDate>
		<dc:creator>blumentritt</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[YAML]]></category>
		<category><![CDATA[align]]></category>
		<category><![CDATA[center]]></category>

		<guid isPermaLink="false">http://blog.team-noir.net/?p=42</guid>
		<description><![CDATA[How to Some Layouts must be centered in your browser display. You can use several ways &#8211; i will present here my &#8220;best practice&#8221; We use the CSS Framework from Dirk Jesse -&#62;YAML . The author includes a horizontal alignment with the following code: [basemod.css] /* Layout Alignment &#124; Layout-Ausrichtung */ #page_margins { margin: 0 [...]
Related posts:<ol>
<li><a href='http://blog.team-noir.net/2010/03/how-to-build-a-yaml-fullscreen-layout/' rel='bookmark' title='How to build a YAML fullscreen layout'>How to build a YAML fullscreen layout</a></li>
<li><a href='http://blog.team-noir.net/2009/04/using-yaml-and-be-fully-variable/' rel='bookmark' title='Using YAML and be fully variable'>Using YAML and be fully variable</a></li>
<li><a href='http://blog.team-noir.net/2010/07/css-center-background-image-in-firefox-co/' rel='bookmark' title='CSS: center background image in Firefox &amp; Co.'>CSS: center background image in Firefox &#038; Co.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>How to</strong></p>
<p>Some Layouts must be centered in your browser display. You can use several ways &#8211; i will present here my &#8220;best practice&#8221;</p>
<p>We use the CSS Framework from Dirk Jesse -&gt;<a title="visit the project" href="http://www.yaml.de" target="_blank">YAML</a> . The author includes a horizontal alignment with the following code:<br />
<span id="more-42"></span></p>
<pre>[basemod.css]
/* Layout Alignment | Layout-Ausrichtung */
#page_margins { margin: 0 auto; }</pre>
<p>So, if you need also a vertical alignment, you can use my solution:</p>
<pre><span style="color: #003300;">[basemod.css]
</span>#page_margins {
<span style="color: #003300;">position: absolute;
</span><span style="color: #003300;">width: 1000px;</span><span style="color: #003300;">
height: 500px;</span><span style="color: #003300;">
left: 50%;</span><span style="color: #003300;">top:50%;</span><span style="color: #003300;">
margin-top: -250px;   /* enter half of height: */</span><span style="color: #003300;">
margin-left: -500px;  /* enter half of width:  */
}</span></pre>
<p>With this CSS code you can easily center your YAML Layout in front of your display.</p>
<p>If you search for more options, have a look <a title="some other css center options" href="http://www.thestyleworks.de/tut-art/centerblock.shtml" target="_blank">here</a> (german language).</p>
<p>Any questions?</p>
<p>Greetz, Martin</p>
<p>Related posts:<ol>
<li><a href='http://blog.team-noir.net/2010/03/how-to-build-a-yaml-fullscreen-layout/' rel='bookmark' title='How to build a YAML fullscreen layout'>How to build a YAML fullscreen layout</a></li>
<li><a href='http://blog.team-noir.net/2009/04/using-yaml-and-be-fully-variable/' rel='bookmark' title='Using YAML and be fully variable'>Using YAML and be fully variable</a></li>
<li><a href='http://blog.team-noir.net/2010/07/css-center-background-image-in-firefox-co/' rel='bookmark' title='CSS: center background image in Firefox &amp; Co.'>CSS: center background image in Firefox &#038; Co.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.team-noir.net/2009/02/how-to-center-a-yaml-layout/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to &#8230; integrate  a YAML Menu to TYPO3</title>
		<link>http://blog.team-noir.net/2009/02/how-to-integrate-a-yaml-menu-to-typo3/</link>
		<comments>http://blog.team-noir.net/2009/02/how-to-integrate-a-yaml-menu-to-typo3/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 09:05:36 +0000</pubDate>
		<dc:creator>blumentritt</dc:creator>
				<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[YAML]]></category>
		<category><![CDATA[HMENU]]></category>
		<category><![CDATA[Menu]]></category>

		<guid isPermaLink="false">http://blog.team-noir.net/?p=32</guid>
		<description><![CDATA[How to If you want to use YAML with TYPO3 you will need some code snipptes for the HMENU in TypoScript. I have made my own structure, let&#8217;s  have a look &#8230; First tell TYPO3 where the Menu should be appear, you can do this with ###MARKERS### in your template or use TemplaVoila (lib.menu). Then [...]
Related posts:<ol>
<li><a href='http://blog.team-noir.net/2010/03/how-to-code-a-jquery-slider-menu/' rel='bookmark' title='How to code a jQuery slider menu'>How to code a jQuery slider menu</a></li>
<li><a href='http://blog.team-noir.net/2010/08/mixed-typoscript-snippets-vol-1/' rel='bookmark' title='mixed TypoScript Snippets Vol. 1'>mixed TypoScript Snippets Vol. 1</a></li>
<li><a href='http://blog.team-noir.net/2010/04/how-to-delete-csc-default-and-id-tag-in-typo3-4-3/' rel='bookmark' title='How to delete csc-default and id tag in TYPO3 4.3'>How to delete csc-default and id tag in TYPO3 4.3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>How to<br />
</strong></p>
<p>If you want to use YAML with TYPO3 you will need some code snipptes for the HMENU in TypoScript. I have made my own structure, let&#8217;s  have a look &#8230;</p>
<p>First tell TYPO3 where the Menu should be appear, you can do this with ###MARKERS### in your template or use TemplaVoila (lib.menu).</p>
<p><span id="more-32"></span></p>
<p>Then you have do build the HMENU Object:</p>
<pre><span style="color: #003300;"><span class="part keyword2">lib</span><span class="part ts-operator">.</span><span class="part keyword3">menu</span><span class="part whitespace"> </span><span class="part ts-operator">=</span><span class="part ts-value"> HMENU</span>
<span class="part keyword2">lib</span><span class="part ts-operator">.</span><span class="part keyword3">menu</span><span class="part whitespace"> </span><span class="part ts-operator curly-bracket-open">{</span>
<span class="part whitespace"> </span><span class="part atom">1</span><span class="part whitespace"> </span><span class="part ts-operator">=</span><span class="part ts-value"> TMENU</span>
<span class="part whitespace"> </span><span class="part reserved">entryLevel</span><span class="part whitespace"> </span><span class="part ts-operator">=</span><span class="part ts-value"> 0</span>
<span class="part whitespace"> </span><span class="part whitespace"> </span><span class="part reserved">wrap</span><span class="part whitespace"> </span><span class="part ts-operator">=</span><span class="part ts-value"> &lt;ul class="vlist"&gt;|&lt;/ul&gt;</span><span class="part whitespace"> </span><span class="part atom">
1</span><span class="part whitespace"> </span><span class="part ts-operator curly-bracket-open">{</span><span class="part whitespace">
</span><span class="part reserved"> #delete blurtag
noBlur</span><span class="part whitespace"> </span><span class="part ts-operator">=</span><span class="part ts-value"> 1
</span> #expand menu?
<span class="part whitespace"> </span><span class="part reserved">expAll</span><span class="part whitespace"> </span><span class="part ts-operator">=</span><span class="part ts-value"> 1 </span>
<span class="part whitespace"> </span><span class="part keyword3">NO</span><span class="part whitespace"> </span><span class="part ts-operator">=</span><span class="part ts-value"> 1</span>
<span class="part whitespace"> </span><span class="part keyword3">NO</span><span class="part ts-operator">.</span><span class="part reserved">wrapItemAndSub</span><span class="part whitespace"> </span><span class="part ts-operator">=</span><span class="part ts-value"> &lt;li&gt;|&lt;/li&gt;</span>
<span class="part whitespace"> </span><span class="part keyword3">NO</span><span class="part ts-operator">.</span><span class="part reserved">ATagTitle</span><span class="part ts-operator">.</span><span class="part reserved">field</span><span class="part whitespace"> </span><span class="part ts-operator">=</span><span class="part ts-value"> title</span>
<span class="part whitespace"> </span><span class="part keyword3">CUR</span><span class="part whitespace"> </span><span class="part ts-operator">=</span><span class="part ts-value"> 1</span>
<span class="part whitespace"> </span><span class="part keyword3">CUR</span><span class="part whitespace"> </span><span class="part ts-operator curly-bracket-open">{</span>
<span class="part whitespace"> </span><span class="part reserved">wrapItemAndSub</span><span class="part whitespace"> </span><span class="part ts-operator">=</span><span class="part ts-value"> &lt;li&gt;|&lt;/li&gt;</span>
<span class="part whitespace"> </span><span class="part reserved">ATagParams</span><span class="part ts-operator">=</span><span class="part ts-value"> class="active"</span>
<span class="part whitespace"> </span><span class="part ts-operator curly-bracket-close">}</span>
<span class="part whitespace"> </span><span class="part ts-operator curly-bracket-close">}</span>
<span class="part whitespace"> </span><span class="part atom">2</span><span class="part whitespace"> </span><span class="part ts-operator">&lt;</span><span class="part ts-value"> .1</span>
<span class="part whitespace"> </span><span class="part atom">2</span><span class="part ts-operator">.</span><span class="part reserved">wrap</span><span class="part whitespace"> </span><span class="part ts-operator">=</span><span class="part ts-value"> &lt;ul&gt;|&lt;/ul&gt;
</span># 3,4, ... expand for more levels
<span class="part ts-operator curly-bracket-close">}</span></span></pre>
<p><span class="part ts-operator curly-bracket-close">Now TYPO3 will generate a nice Menu and you can style it with CSS.<br />
If you like my idea &#8211; leave a comment.</span></p>
<p><span class="part ts-operator curly-bracket-close">Greetz<br />
Martin<br />
</span></p>
<p>Related posts:<ol>
<li><a href='http://blog.team-noir.net/2010/03/how-to-code-a-jquery-slider-menu/' rel='bookmark' title='How to code a jQuery slider menu'>How to code a jQuery slider menu</a></li>
<li><a href='http://blog.team-noir.net/2010/08/mixed-typoscript-snippets-vol-1/' rel='bookmark' title='mixed TypoScript Snippets Vol. 1'>mixed TypoScript Snippets Vol. 1</a></li>
<li><a href='http://blog.team-noir.net/2010/04/how-to-delete-csc-default-and-id-tag-in-typo3-4-3/' rel='bookmark' title='How to delete csc-default and id tag in TYPO3 4.3'>How to delete csc-default and id tag in TYPO3 4.3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.team-noir.net/2009/02/how-to-integrate-a-yaml-menu-to-typo3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

