<?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>Alexandru Dinulescu&#039;s Thoughts&#187; mooTOOLs</title>
	<atom:link href="http://alexdweb.com/blog/tag/mootools/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexdweb.com/blog</link>
	<description>This blog is about everything/anything related to XHTML/CSS and of course my favourite js library, jQuery.</description>
	<lastBuildDate>Thu, 09 Dec 2010 12:04:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MenuMatic BUG</title>
		<link>http://alexdweb.com/blog/2010/02/04/menumatic-bug/</link>
		<comments>http://alexdweb.com/blog/2010/02/04/menumatic-bug/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 20:35:03 +0000</pubDate>
		<dc:creator>Dinulescu Alexandru Adrian</dc:creator>
				<category><![CDATA[IE6 Bugs]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[IE Bugs]]></category>
		<category><![CDATA[menuMatic]]></category>
		<category><![CDATA[mooTOOLs]]></category>

		<guid isPermaLink="false">http://alexdweb.com/blog/?p=295</guid>
		<description><![CDATA[Hello This issue only happens with menuMatic and with vertical set menus. Basically in all IE browsers the sub-nav-menu didnt show up correctly. And another thing, when you have link tags inside li tags, you need to float the li tags in IE else you get a hidden spacer there (vertical lists only). and the [...]]]></description>
			<content:encoded><![CDATA[<p> Hello </p>
<p> This issue only happens with menuMatic and with vertical set menus. Basically in all IE browsers the sub-nav-menu didnt show up correctly. </p>
<p> And another thing, when you have link tags inside li tags, you need to float the li tags in IE else you get a hidden spacer there (vertical lists only). and the menu looks very odd. This is old IE6 issue, seems like both IE7 and only IE8 fixed it. Fuck that shit. </p>
<p><span id="more-295"></span></p>
<p> When in doubt, float it then clear it. This triggers hasLayout behavior and stuff gets fixed by itself. With that issue done i had another issue when the menu looked out of place. In order to fix that you need to open the menuMatic source file and look for fixHasLayoutBug: false, and change it to true. </p>
<p> On the developers site it works with it set to false, i really have absolutely no ideea why it gets triggered in my projects (2 out of 2 projects) and not there and to be honest i really cant be arsed to look into it. The CSS on both sites regarding to the menu matic is quite identical. I would have switched to something based on jQuery but unfortunately there isnt anything like that currently on the market., or from what i could find. Going with the noConlict() thing really annoys the hell out of me </p>
<p> In sum if it looks borked in IE then a) float the links b) float the li tags and c) set fixhaslayoutbug: true, in the menuMatic.js file. And if you still have issues in IE8 because thats where I had the main issues, then you need to do the following. Look where your vertical navigation menu is placed and make a new CSS and load it only for IE8. in that css go to  #subMenusContainer and at the top: property modify it so it looks just right. If needed you can also play with the .smOW class at the margin property in the same CSS below are a few images with the before and after </p>
<p> In my example I set the #subMenusContainer top: property to 222px and the .smOW margin-left to about 20ish px </p>
<div id="attachment_298" class="wp-caption alignleft" style="width: 240px"><a href="http://alexdweb.com/blog/wp-content/uploads/2010/02/ie8Before.jpg"><img src="http://alexdweb.com/blog/wp-content/uploads/2010/02/ie8Before-230x299.jpg" alt="IE8 Before" title="ie8Before" width="230" height="299" class="size-medium wp-image-298" /></a><p class="wp-caption-text">IE8 Before</p></div>
<div id="attachment_296" class="wp-caption alignleft" style="width: 240px"><a href="http://alexdweb.com/blog/wp-content/uploads/2010/02/ie7BeforeHasLayout.jpg"><img src="http://alexdweb.com/blog/wp-content/uploads/2010/02/ie7BeforeHasLayout-230x300.jpg" alt="" title="ie7BeforeHasLayout" width="230" height="300" class="size-medium wp-image-296" /></a><p class="wp-caption-text">IE7 Before Has Layout</p></div>
]]></content:encoded>
			<wfw:commentRss>http://alexdweb.com/blog/2010/02/04/menumatic-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

