<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>2009-03-30</title>
		<link>http://www.wikidot.com/forum/t-142938/2009-03-30</link>
		<description>Posts in the discussion thread &quot;2009-03-30&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Tue, 14 Feb 2012 02:38:51 +0000</lastBuildDate>
		
					<item>
				<guid>http://www.wikidot.com/forum/t-142938#post-700187</guid>
				<title>Re: 2009-03-30</title>
				<link>http://www.wikidot.com/forum/t-142938/2009-03-30#post-700187</link>
				<description></description>
				<pubDate>Mon, 15 Feb 2010 13:23:23 +0000</pubDate>
				<wikidot:authorName>activeside</wikidot:authorName>				<wikidot:authorUserId>217553</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>It's very easy. The top-bar navigation generate a class .current-link in the selected list element:</p> <div class="code"> <pre> <code>&lt;a href="/menuitem" class="current-link"&gt;Menuitem&lt;/a&gt;</code> </pre></div> <p>All you have to do is to call the .current-link class in the CSS and style it as you want.</p> <p>For instance :</p> <div class="code"> <pre> <code>#top-bar li .current-link { background-color:red; }</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/forum/t-142938#post-533360</guid>
				<title>Re: 2009-03-30</title>
				<link>http://www.wikidot.com/forum/t-142938/2009-03-30#post-533360</link>
				<description></description>
				<pubDate>Tue, 14 Jul 2009 07:11:08 +0000</pubDate>
								<wikidot:authorUserId>332378</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Did anyone ever get this to work? I would like to employ the same technique on my wiki but there is not enough information in these posts for me to understand how you are doing it. I too want to have my side-bar indicate the page I am on by giving the &lt;li&gt; link a different bullet.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/forum/t-142938#post-438435</guid>
				<title>Re: 2009-03-30</title>
				<link>http://www.wikidot.com/forum/t-142938/2009-03-30#post-438435</link>
				<description></description>
				<pubDate>Fri, 03 Apr 2009 06:02:18 +0000</pubDate>
				<wikidot:authorName>James Kanjo</wikidot:authorName>				<wikidot:authorUserId>35113</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I tried these codes in my CSS:</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-identifier">.current-link</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-reserved">display:</span><span class="hl-code"> </span><span class="hl-string">none</span><span class="hl-code">; </span><span class="hl-brackets">}</span><span class="hl-code"> </span><span class="hl-identifier">.mark-current-link</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-reserved">display:</span><span class="hl-code"> </span><span class="hl-string">none</span><span class="hl-code">; </span><span class="hl-brackets">}</span> </pre></div> </div> <p>Neither have an affect on the navigational elements.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/forum/t-142938#post-438092</guid>
				<title>Re: 2009-03-30</title>
				<link>http://www.wikidot.com/forum/t-142938/2009-03-30#post-438092</link>
				<description></description>
				<pubDate>Thu, 02 Apr 2009 20:05:28 +0000</pubDate>
				<wikidot:authorName>James Kanjo</wikidot:authorName>				<wikidot:authorUserId>35113</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>When you say use a div block: <tt>[[div class="mark-current-link"]]...[[/div]]</tt></p> <p>Do you mean like this:</p> <div class="code"> <pre> <code>[[div class="mark-current-link"]] Blah blah [[[same-page]]] blah blah [[[different-page]]] [[/div]]</code> </pre></div> <p>And only the same page link will be affected, or will all links be affected?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/forum/t-142938#post-434729</guid>
				<title>Re: mark-current-link</title>
				<link>http://www.wikidot.com/forum/t-142938/2009-03-30#post-434729</link>
				<description></description>
				<pubDate>Mon, 30 Mar 2009 22:19:21 +0000</pubDate>
				<wikidot:authorName>Ed Johnson</wikidot:authorName>				<wikidot:authorUserId>38854</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm having trouble getting this to work. The [[div class=...]] method works fine, but I can't seem to get it to change the look of my menu items on the top bar menu.</p> <p>Can you point us to a specific example of this?</p> <p>Thanks,<br /> -Ed</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.wikidot.com/forum/t-142938#post-433914</guid>
				<title>2009-03-30</title>
				<link>http://www.wikidot.com/forum/t-142938/2009-03-30#post-433914</link>
				<description></description>
				<pubDate>Mon, 30 Mar 2009 11:34:57 +0000</pubDate>
				<wikidot:authorName>Gabrys</wikidot:authorName>				<wikidot:authorUserId>2462</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <ul> <li>Added "current-link" CSS class to links in the top bar that point to the current page <ul> <li>This allows you to give them different look (when using custom CSS)</li> <li>If you want to use the mechanism outside of top bar, surround the links that need to be affected with <tt>[[div class="mark-current-link"]]...[[/div]]</tt></li> </ul> </li> </ul> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
