<?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: kohana - Recent Posts</title>
		<link>http://www.kriesi.at/support/tags/kohana</link>
		<description>Support Forum - Tag: kohana - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 18:06:45 +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/kohana" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "MegaMenu - highilghting selected path using classes"</title>
			<link>http://www.kriesi.at/support/topic/megamenu-highilghting-selected-path-using-classes#post-22825</link>
			<pubDate>Fri, 15 Jul 2011 04:57:47 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">22825@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks - I'll report it to Kriesi. Maybe he wants to adjust this line for upcoming themes or updates.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>davestewart on "MegaMenu - highilghting selected path using classes"</title>
			<link>http://www.kriesi.at/support/topic/megamenu-highilghting-selected-path-using-classes#post-22804</link>
			<pubDate>Thu, 14 Jul 2011 21:44:22 +0000</pubDate>
			<dc:creator>davestewart</dc:creator>
			<guid isPermaLink="false">22804@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Just found something I really don't like in avia.js!&#60;/p&#62;
&#60;p&#62;function megaDivShow(i)&#60;br /&#62;
{&#60;br /&#62;
,,,&#60;br /&#62;
    megaItems.filter(':eq('+i+')').find(&#34;&#38;gt;a&#34;).stop().animate({paddingBottom:10},200);&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;Animating the padding bottom actually makes my install look buggy, as it protrudes over the div below, making look like the below div's border is too thin.&#60;/p&#62;
&#60;p&#62;I set the paddingBottom to 0, and it looks great.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Dave
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "MegaMenu - highilghting selected path using classes"</title>
			<link>http://www.kriesi.at/support/topic/megamenu-highilghting-selected-path-using-classes#post-22578</link>
			<pubDate>Tue, 12 Jul 2011 16:26:18 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">22578@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;It's a wordpress standard feature since WP3.0 - that's why hacks, etc. should be based on hooks because plugins, etc. can also interact with the menu function.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>davestewart on "MegaMenu - highilghting selected path using classes"</title>
			<link>http://www.kriesi.at/support/topic/megamenu-highilghting-selected-path-using-classes#post-22576</link>
			<pubDate>Tue, 12 Jul 2011 16:04:18 +0000</pubDate>
			<dc:creator>davestewart</dc:creator>
			<guid isPermaLink="false">22576@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;That's a nice tip, thanks.&#60;/p&#62;
&#60;p&#62;I think what I'm probably going to do is add a jQuery script to walk the menu system on each page load, and run some kind of comparison function on the href compared to the window.location - that way I can filter out such things as &#34;/category&#34;, so that anything matching &#34;/support&#34; will be highlighted as the current path.&#60;/p&#62;
&#60;p&#62;I've not tested it yet, but it should be quite doable.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Dave&#60;/p&#62;
&#60;p&#62;BTW - is the Menu management page with all the drag and drop a Wordpress or a theme thing? It's really awesome.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "MegaMenu - highilghting selected path using classes"</title>
			<link>http://www.kriesi.at/support/topic/megamenu-highilghting-selected-path-using-classes#post-22537</link>
			<pubDate>Tue, 12 Jul 2011 05:27:18 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">22537@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
glad that you got it to work :) - btw you can add custom classes to menu items by using the class option field which can be activated for the menu editor.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>davestewart on "MegaMenu - highilghting selected path using classes"</title>
			<link>http://www.kriesi.at/support/topic/megamenu-highilghting-selected-path-using-classes#post-22499</link>
			<pubDate>Mon, 11 Jul 2011 13:00:14 +0000</pubDate>
			<dc:creator>davestewart</dc:creator>
			<guid isPermaLink="false">22499@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;OK, I solved it with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.current_page_ancestor
.current-menu-item&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I'm loving the theme, and I think the mega menu works great straight out of the box, but I think the markup / css could do with just a bit of a tidy-up / tweak, to differentiate items and blocks. At the moment, they are almost identical:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;menu-item menu-item-type-taxonomy menu-item-object-category avia_mega_menu_columns_5 (block)
menu-item menu-item-type-taxonomy menu-item-object-category (item)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Perhaps...&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;block / item
column / row
branch / leaf&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;... there's a tonne you could use. I know because I built a PHP 5 OO menu system for the Kohana framework! Might want pinch some ideas:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://kohana.keyframesandcode.com/docs/modules/nav/styling/menu-types.php&#34; rel=&#34;nofollow&#34;&#62;http://kohana.keyframesandcode.com/docs/modules/nav/styling/menu-types.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Dave
&#60;/p&#62;</description>
		</item>
		<item>
			<title>davestewart on "MegaMenu - highilghting selected path using classes"</title>
			<link>http://www.kriesi.at/support/topic/megamenu-highilghting-selected-path-using-classes#post-22497</link>
			<pubDate>Mon, 11 Jul 2011 12:14:50 +0000</pubDate>
			<dc:creator>davestewart</dc:creator>
			<guid isPermaLink="false">22497@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;HI there,&#60;/p&#62;
&#60;p&#62;I see the mega menus are liberally populated with classes, I presume so I can style my menus appropriately. I've having some difficulty with using the following selectors though:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;li.menu-item.current-menu-item
li.menu-item.current-menu-ancestor&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I'm trying to style the menus so the current items are differently styled, but because li elements are used for both items and blocks, this is difficult.&#60;/p&#62;
&#60;p&#62;The elements have the following classes:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// top menu item
menu-item
menu-item-type-post_type
menu-item-object-page
current-menu-ancestor
current_page_ancestor

// mega menu column
menu-item
menu-item-type-taxonomy
menu-item-object-category
current-category-ancestor
current-menu-ancestor
current-menu-parent
current-category-parent
avia_mega_menu_columns_5

//mega menu item
menu-item
menu-item-type-taxonomy
menu-item-object-category
current-menu-item&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The problem here is the mega menu column. Because it is also an ancestor, the whole column is being highlighted, when I only want the menu items to be highlighted.&#60;/p&#62;
&#60;p&#62;I don't see enough granulation between the columns and the items right now to do this. I don't want to use  a :not(.current-category-parent) selectors as :not() is not widely supported.&#60;/p&#62;
&#60;p&#62;Can you help?&#60;br /&#62;
Thanks,&#60;br /&#62;
Dave
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
