<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Tag: mega menus - Recent Posts</title>
		<link>http://www.kriesi.at/support/tags/mega-menus</link>
		<description>Support Forum - Tag: mega menus - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Tue, 18 Jun 2013 07:54:43 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/tags/mega-menus" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Correct position of mega menus"</title>
			<link>http://www.kriesi.at/support/topic/correct-position-of-mega-menus#post-116850</link>
			<pubDate>Fri, 07 Jun 2013 05:40:36 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">116850@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Yes but this is a technical limitation. Kriesi uses javascript to calculate the position and when the browser loads the website it doesn't execute all javascript functions immediately but it must load the js files first and then executes the code. During this time the browser may not know the right menu position and it will just float it to the right.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ganjou on "Correct position of mega menus"</title>
			<link>http://www.kriesi.at/support/topic/correct-position-of-mega-menus#post-116556</link>
			<pubDate>Thu, 06 Jun 2013 06:55:24 +0000</pubDate>
			<dc:creator>ganjou</dc:creator>
			<guid isPermaLink="false">116556@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;It is right that during loading the page on IE the mega menu goes right and after comes back to the center.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ganjou on "Correct position of mega menus"</title>
			<link>http://www.kriesi.at/support/topic/correct-position-of-mega-menus#post-116555</link>
			<pubDate>Thu, 06 Jun 2013 06:52:54 +0000</pubDate>
			<dc:creator>ganjou</dc:creator>
			<guid isPermaLink="false">116555@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Well I met this problem using a cache plugin after minifying CSS and JS files...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Correct position of mega menus"</title>
			<link>http://www.kriesi.at/support/topic/correct-position-of-mega-menus#post-114426</link>
			<pubDate>Tue, 28 May 2013 11:56:21 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">114426@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Nicolas,&#60;/p&#62;
&#60;p&#62;What version of Abundance are you using? The mega menu position should be correct in all browsers by default so there could be a plugin conflicting with the position or something else going on.&#60;/p&#62;
&#60;p&#62;If we can take a look at your live site, we can inspect things live and see whats going on.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abw on "Correct position of mega menus"</title>
			<link>http://www.kriesi.at/support/topic/correct-position-of-mega-menus#post-114228</link>
			<pubDate>Mon, 27 May 2013 18:02:57 +0000</pubDate>
			<dc:creator>abw</dc:creator>
			<guid isPermaLink="false">114228@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;It seems to me that the calculation of the position of the megas menus is not correct.&#60;/p&#62;
&#60;p&#62;avias.js, line 220 :&#60;/p&#62;
&#60;p&#62;&#60;code&#62;else if(pos.left + megaDiv.width() &#38;gt; parentContainerWidth)&#60;br /&#62;
					{&#60;br /&#62;
						megaDiv.css({left: (megaDiv.width() - pos.left) * -1 });&#60;br /&#62;
					}&#60;/code&#62;&#60;br /&#62;
must be&#60;br /&#62;
&#60;code&#62;else if(pos.left + megaDiv.width() &#38;gt; parentContainerWidth)&#60;br /&#62;
					{&#60;br /&#62;
						megaDiv.css({left: parentContainerWidth - megaDiv.width() - pos.left });&#60;br /&#62;
					}&#60;/code&#62;&#60;br /&#62;
else the mega menu can be outside the parent container.&#60;/p&#62;
&#60;p&#62;With the change&#60;br /&#62;
&#60;img src=&#34;http://imageshack.us/a/img801/5416/withb.jpg&#34;&#62;&#60;/p&#62;
&#60;p&#62;Without the change&#60;br /&#62;
&#60;img src=&#34;http://imageshack.us/a/img23/2357/withouth.jpg&#34;&#62;&#60;/p&#62;
&#60;p&#62;With Chrome and Internet Explorer left position (pos.left) are false.&#60;br /&#62;
Example : Firefox, pos.left : 130 px, Chrome, pos.left : 139 px, so position of mega menus are wrong.&#60;/p&#62;
&#60;p&#62;Anyone know why these browsers do not give me the right values​​?&#60;/p&#62;
&#60;p&#62;Nicolas.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick on "Mega menu on click, rather than hover"</title>
			<link>http://www.kriesi.at/support/topic/mega-menu-on-click-rather-than-hover#post-72180</link>
			<pubDate>Tue, 21 Aug 2012 21:37:47 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">72180@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Unfortunately t's not as simple as changing hover to click, since hover is still needed as well in the click menu to determine when to close the child menu.&#60;/p&#62;
&#60;p&#62;Here is a link (&#60;a href=&#34;http://stackoverflow.com/questions/7312414/superfish-jquery-menu-open-on-click-rather-than-hover&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/questions/7312414/superfish-jquery-menu-open-on-click-rather-than-hover&#60;/a&#62;) of the process of changing a (not this one) mega menu from hover to click. You can compare the code to see that the end result is fairly different and looks very labor intensive.&#60;/p&#62;
&#60;p&#62;Of course you can always pay a few dollars to buy a ready made menu which does what you want in 20 different ways. Here is two cool ones for $15 and $4 that have clicks, sliders and rattles, and there are many more: (&#60;a href=&#34;http://codecanyon.net/item/ubermenu-wordpress-mega-menu-plugin/154703&#34; rel=&#34;nofollow&#34;&#62;http://codecanyon.net/item/ubermenu-wordpress-mega-menu-plugin/154703&#60;/a&#62;) (&#60;a href=&#34;http://codecanyon.net/item/mega-menu-complete-set/152825&#34; rel=&#34;nofollow&#34;&#62;http://codecanyon.net/item/mega-menu-complete-set/152825&#60;/a&#62;) &#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Deaner666 on "Mega menu on click, rather than hover"</title>
			<link>http://www.kriesi.at/support/topic/mega-menu-on-click-rather-than-hover#post-72178</link>
			<pubDate>Tue, 21 Aug 2012 21:26:53 +0000</pubDate>
			<dc:creator>Deaner666</dc:creator>
			<guid isPermaLink="false">72178@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;OK, I want the moon on a stick now ;-)&#60;/p&#62;
&#60;p&#62;For tablet / smartphone users, I need to be able to click outside the mega menus / dropdowns when they're open to make them go away ('cos there's no mouseleave event). Any ideas?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Deaner666 on "Mega menu on click, rather than hover"</title>
			<link>http://www.kriesi.at/support/topic/mega-menu-on-click-rather-than-hover#post-72175</link>
			<pubDate>Tue, 21 Aug 2012 21:14:11 +0000</pubDate>
			<dc:creator>Deaner666</dc:creator>
			<guid isPermaLink="false">72175@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Further tweak... I changed &#34;options.delay&#34; to &#34;0&#34; for the mouseup event on mega menus. It felt odd to have a slight delay after clicking the link before the mega menu faded into place. You can see the final product here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.amanotech.dreamhosters.com&#34; rel=&#34;nofollow&#34;&#62;http://www.amanotech.dreamhosters.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;(It's heavily customised, but it is Abundance, honest!)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Deaner666 on "Mega menu on click, rather than hover"</title>
			<link>http://www.kriesi.at/support/topic/mega-menu-on-click-rather-than-hover#post-72171</link>
			<pubDate>Tue, 21 Aug 2012 21:08:00 +0000</pubDate>
			<dc:creator>Deaner666</dc:creator>
			<guid isPermaLink="false">72171@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Cool. I think I solved it. I did this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//bind event for mega menu
megaItems.each(function(i){

	$(this).mouseup(

		function()
		{
			delayCheck[i] = true;
			setTimeout(function(){megaDivShow(i); },options.delay);
		}
	);

	$(this).mouseleave(
		function()
		{
			delayCheck[i] = false;
			setTimeout(function(){megaDivHide(i); },options.delay);
		}
	);
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Seems to work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Deaner666 on "Mega menu on click, rather than hover"</title>
			<link>http://www.kriesi.at/support/topic/mega-menu-on-click-rather-than-hover#post-72169</link>
			<pubDate>Tue, 21 Aug 2012 20:54:12 +0000</pubDate>
			<dc:creator>Deaner666</dc:creator>
			<guid isPermaLink="false">72169@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Right. I've made some progress. The file to change is:&#60;/p&#62;
&#60;p&#62;/abundance/js/avia.js&#60;/p&#62;
&#60;p&#62;Dropdowns work great, I made a small change to the dropdown function starting at line 282:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// bind events for dropdown menu
dropdownItems.find(&#38;#39;li&#38;#39;).andSelf().each(function()
{
	var currentItem = $(this),
		sublist = currentItem.find(&#38;#39;ul:first&#38;#39;),
		showList = false;

	if(sublist.length)
	{
		sublist.css({display:&#38;#39;block&#38;#39;, opacity:0, visibility:&#38;#39;hidden&#38;#39;});
		var currentLink = currentItem.find(&#38;#39;&#38;gt;a&#38;#39;);

		currentLink.bind(&#38;#39;mouseup&#38;#39;, function() //currentLink.bind(&#38;#39;mouseenter&#38;#39;, function() &#38;lt;--CHANGED BY DAVE
		{
			sublist.stop().css({visibility:&#38;#39;visible&#38;#39;}).animate({opacity:1});
		});

		currentItem.bind(&#38;#39;mouseleave&#38;#39;, function()
		{
			sublist.stop().animate({opacity:0}, function()
			{
				sublist.css({visibility:&#38;#39;hidden&#38;#39;});
			});
		});

	}

});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So you click a nav link to get the dropdown menu and it automatically closes when you move the mouse away from it.&#60;/p&#62;
&#60;p&#62;The mega menus I haven't sorted completely yet. I've changed the function starting on line 262 to the following:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//bind event for mega menu
megaItems.each(function(i){

	$(this).toggle( //$(this).hover( &#38;lt;--CHANGED BY DAVE

		function()
		{
			delayCheck[i] = true;
			setTimeout(function(){megaDivShow(i); },options.delay);
		},

		function()
		{
			delayCheck[i] = false;
			setTimeout(function(){megaDivHide(i); },options.delay);
		}
	);
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Trouble is, using toggle, you have to click the nav link again to get rid of the menu, rather than it disappearing automatically. My jQuery skills aren't strong enough to quickly see how to rewrite this function to work the same as dropdowns. Any ideas?&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Dave
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Mya on "Mega menu on click, rather than hover"</title>
			<link>http://www.kriesi.at/support/topic/mega-menu-on-click-rather-than-hover#post-72163</link>
			<pubDate>Tue, 21 Aug 2012 20:39:14 +0000</pubDate>
			<dc:creator>Mya</dc:creator>
			<guid isPermaLink="false">72163@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Dave,&#60;/p&#62;
&#60;p&#62;I'm not sure either so let me tag the rest of the team to see if they know.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Mya
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Deaner666 on "Mega menu on click, rather than hover"</title>
			<link>http://www.kriesi.at/support/topic/mega-menu-on-click-rather-than-hover#post-72159</link>
			<pubDate>Tue, 21 Aug 2012 20:25:58 +0000</pubDate>
			<dc:creator>Deaner666</dc:creator>
			<guid isPermaLink="false">72159@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi there, just wondering if anyone can help with this query?&#60;/p&#62;
&#60;p&#62;I want the dropdown menus / mega menus to open when a nav link is clicked, rather than on hover. Can someone point to where in the JS I need to do this? I've scanned through /abundance/framework/js/avia_mega_menu.js but can't see the event handler for this.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Dave
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Using Buttons in Mega Menus"</title>
			<link>http://www.kriesi.at/support/topic/using-buttons-in-mega-menus#post-57232</link>
			<pubDate>Wed, 23 May 2012 16:14:37 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">57232@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi snowtone,&#60;/p&#62;
&#60;p&#62;As far as I know the mega menu text boxes do not support shortcode. You could try copying the html the shortcode creates and pasting that into the box. &#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>snowtone on "Using Buttons in Mega Menus"</title>
			<link>http://www.kriesi.at/support/topic/using-buttons-in-mega-menus#post-56555</link>
			<pubDate>Fri, 18 May 2012 13:54:20 +0000</pubDate>
			<dc:creator>snowtone</dc:creator>
			<guid isPermaLink="false">56555@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>snowtone on "Using Buttons in Mega Menus"</title>
			<link>http://www.kriesi.at/support/topic/using-buttons-in-mega-menus#post-56440</link>
			<pubDate>Thu, 17 May 2012 17:07:52 +0000</pubDate>
			<dc:creator>snowtone</dc:creator>
			<guid isPermaLink="false">56440@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I'm having a spot of trouble adding buttons to mega menus.  I am placing the button shortcode in the Description field of a Custom Link menu item with the &#34;Use the description to create a Text Block&#34; checkbox ticked.&#60;/p&#62;
&#60;p&#62;The button shrinks down and the styling is removed.  Is there a better way to accomplish this?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
