<?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 - Topic: Hide/Remove parent page on mobile select menu</title>
		<link>http://www.kriesi.at/support/topic/hideremove-parent-page-on-mobile-select-menu</link>
		<description>Support Forum - Topic: Hide/Remove parent page on mobile select menu</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 22:28:07 +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/topic/hideremove-parent-page-on-mobile-select-menu" rel="self" type="application/rss+xml" />

		<item>
			<title>Nick on "Hide/Remove parent page on mobile select menu"</title>
			<link>http://www.kriesi.at/support/topic/hideremove-parent-page-on-mobile-select-menu#post-100242</link>
			<pubDate>Fri, 08 Mar 2013 18:42:10 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">100242@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Excellent! Glad you found a smooth way of doing it!&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Blackthorns on "Hide/Remove parent page on mobile select menu"</title>
			<link>http://www.kriesi.at/support/topic/hideremove-parent-page-on-mobile-select-menu#post-100019</link>
			<pubDate>Thu, 07 Mar 2013 14:11:07 +0000</pubDate>
			<dc:creator>Blackthorns</dc:creator>
			<guid isPermaLink="false">100019@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Thanks I will try your method but I already managed to make it work in this way :&#60;/p&#62;
&#60;p&#62;var i = 0;&#60;br /&#62;
$('.mobileMenu').find('option').each(function(){&#60;br /&#62;
if(i&#38;lt;20){	i++;}&#60;br /&#62;
else{i = 1;}&#60;br /&#62;
$(this).addClass('option-' + i);&#60;br /&#62;
});&#60;/p&#62;
&#60;p&#62;Then, in a js file I target the class I want to remove.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick on "Hide/Remove parent page on mobile select menu"</title>
			<link>http://www.kriesi.at/support/topic/hideremove-parent-page-on-mobile-select-menu#post-99959</link>
			<pubDate>Thu, 07 Mar 2013 03:27:26 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">99959@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Please try this block below in the same file overwriting the code from before... lines  2131-2139 .... just match the starting and ending line , still in same file with the starting and ending line below.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;//get url and text for option
if ( levelStr.length&#38;gt;0 ) {
   var link = $(this).find(&#38;#39;a:first-child&#38;#39;).attr(&#38;#39;href&#38;#39;);
   var text = levelStr+$(this).clone().children(&#38;#39;ul,ol&#38;#39;).remove().end().text();
   selectString+= &#38;#39;&#38;lt;option value=&#38;quot;&#38;#39;+link+&#38;#39;&#38;quot;&#38;gt;&#38;#39;+text+&#38;#39;&#38;lt;/option&#38;gt;&#38;#39;;
}
});
selectString+= &#38;#39;&#38;lt;/select&#38;gt;&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Blackthorns on "Hide/Remove parent page on mobile select menu"</title>
			<link>http://www.kriesi.at/support/topic/hideremove-parent-page-on-mobile-select-menu#post-99827</link>
			<pubDate>Wed, 06 Mar 2013 16:15:07 +0000</pubDate>
			<dc:creator>Blackthorns</dc:creator>
			<guid isPermaLink="false">99827@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Nick, it gives me an error : Uncaught TypeError: Object  has no method 'val'.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick on "Hide/Remove parent page on mobile select menu"</title>
			<link>http://www.kriesi.at/support/topic/hideremove-parent-page-on-mobile-select-menu#post-99766</link>
			<pubDate>Wed, 06 Mar 2013 09:32:02 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">99766@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I think its possible but never done it. Please open up /js/avia.js and look for line 2133 that looks like&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;var text = levelStr + $(this).clone().children(&#38;#39;ul, ol&#38;#39;).remove().end().text();&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and change it to something like this (levelStr is the indent)&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if ( levelStr.length &#38;gt; 0 ) {
   var text = levelStr + $(this).clone().children(&#38;#39;ul, ol&#38;#39;).remove().end().text();
} else {
   var text = &#38;#39; &#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Blackthorns on "Hide/Remove parent page on mobile select menu"</title>
			<link>http://www.kriesi.at/support/topic/hideremove-parent-page-on-mobile-select-menu#post-99588</link>
			<pubDate>Tue, 05 Mar 2013 12:15:55 +0000</pubDate>
			<dc:creator>Blackthorns</dc:creator>
			<guid isPermaLink="false">99588@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I'd like to know if it is possible to remove the parent links who have children in the select menu.&#60;br /&#62;
I have no link on some parent items so displaying them would be useless.&#60;/p&#62;
&#60;p&#62;Or perhaps, I could just display another menu item on mobiles only ?&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
