<?xml version="1.0" encoding="utf-8"?>

























	
	



	
	
	

	
		
		
		

		
		
			
			
			
			
		
	
	
	
	
	
	


<rss version="2.0">	
	<channel>
		<title>Radiant Core: menu tag</title>
		<link>http://www.radiantcore.com/</link>
		<description>All of the Radiant Core posts tagged with menu.</description>
		<language>en-ca</language>
		<copyright>Copyright 2006, Radiant Core Inc. All rights reserved.</copyright>
		<managingEditor>webmaster@radiantcore.com</managingEditor>
		<webMaster>webmaster@radiantcore.com</webMaster>
		
			
			
			
			
			
			
			
			

			
				
			
			<item>
				<title><![CDATA[Fixing an IE 7 bug in mm_menu.js navigation]]></title>
				<author>Martin Kuplens-Ewart &lt;info@radiantcore.com&gt;</author>
				<link>http://www.radiantcore.com/blog/archives/16/02/2007/ie7mmmenu</link>
				<guid isPermaLink="true">http://www.radiantcore.com/blog/archives/16/02/2007/ie7mmmenu</guid>
				<comments>http://www.radiantcore.com/blog/archives/16/02/2007/ie7mmmenu#comments</comments>
				<description><![CDATA[We're proud (even stubborn) hand-coders, so we don't often get the opportunity to delve into the JavaScript libraries deployed by using applications such as Dreamweaver.<br /><br />Recently, however, we were contacted with an IE7 bug: a navigation system that was using the mm_menu.js library appeared to be only showing the first word of each option.<br /><br />At 800 lines of dense JavaScript, this was not going to be fun to debug. Fortune, however, smiled upon us in the form of an invidual named Hiroto, who posted the following <a href="http://www.cre8asiteforums.com/forums/lofiversion/index.php/t42213.html">on the Cre8asite Forums</a>:<br /><br /><blockquote>function writeMenus(container) {<br />&nbsp;&nbsp;&nbsp;&nbsp;.... some code here ....<br />&nbsp;&nbsp;&nbsp;&nbsp;menu.menuItemHeight = menu.menuItemHeight || defaultHeight;<br />&nbsp;&nbsp;&nbsp;&nbsp;var itemProps = ''; <span style="font-weight: bold;">&lt;= CHANGE THIS LINE TO =&gt;</span> var itemProps = 'white-space:nowrap;';<br />&nbsp;&nbsp;&nbsp;&nbsp;if( menu.fontFamily != '' ) itemProps += 'font-family:' + menu.fontFmaily+';';<br />&nbsp;&nbsp;&nbsp;&nbsp; .... some code here .... <br />}<br /></blockquote><br />You should find this spot around line 163 of mm_menu.js. The change worked a charm. Thanks Hiroto!<br /><br />]]></description>
				<category>HTML/CSS</category>
				<pubDate>Fri, 16 Feb 2007 13:15:00 GMT</pubDate>
			</item>
		
	</channel>
</rss>