<?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: Fix: avia_smoothscroll doesn&#039;t work with named anchors with periods</title>
		<link>http://www.kriesi.at/support/topic/fix-avia_smoothscroll-doesnt-support-named-anchors-with-periods</link>
		<description>Support Forum - Topic: Fix: avia_smoothscroll doesn&#039;t work with named anchors with periods</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 07:21:17 +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/fix-avia_smoothscroll-doesnt-support-named-anchors-with-periods" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Fix: avia_smoothscroll doesn&#039;t work with named anchors with periods"</title>
			<link>http://www.kriesi.at/support/topic/fix-avia_smoothscroll-doesnt-support-named-anchors-with-periods#post-23397</link>
			<pubDate>Mon, 25 Jul 2011 05:24:29 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">23397@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
thanks - I'll report it to Kriesi for upcoming updates.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>davestewart on "Fix: avia_smoothscroll doesn&#039;t work with named anchors with periods"</title>
			<link>http://www.kriesi.at/support/topic/fix-avia_smoothscroll-doesnt-support-named-anchors-with-periods#post-23387</link>
			<pubDate>Sun, 24 Jul 2011 12:29:37 +0000</pubDate>
			<dc:creator>davestewart</dc:creator>
			<guid isPermaLink="false">23387@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I've been trying to work out why I'm getting smooth scrolling on some of my page links, but not others, but after a bit of debugging, it became clear.&#60;/p&#62;
&#60;p&#62;avia_smoothscroll uses jQuery to return an array of named anchors using $(hash), but it appears that jQuery won't return named anchors with periods in them, which is strange as it appears to be part of the spec: &#60;a href=&#34;http://www.w3.org/TR/html4/types.html#h-6.2&#34; rel=&#34;nofollow&#34;&#62;http://www.w3.org/TR/html4/types.html#h-6.2&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Anyway, changing the following line...&#60;/p&#62;
&#60;p&#62;&#60;code&#62;var container = $(this.hash);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;... to this...&#60;/p&#62;
&#60;p&#62;&#60;code&#62;var container = jQuery(&#38;#39;a[name=&#38;quot;&#38;#39; + this.hash.substr(1) + &#38;#39;&#38;quot;]&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;... fixes the issue.&#60;/p&#62;
&#60;p&#62;This page demos links with periods and the altered code:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.xjsfl.com/support/api/file/filesystem#File&#34; rel=&#34;nofollow&#34;&#62;http://www.xjsfl.com/support/api/file/filesystem#File&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
