<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: iScroll 3.5 adds scrollToElement()</title>
	<atom:link href="http://cubiq.org/iscroll-3-5-adds-scrolltoelement/feed" rel="self" type="application/rss+xml" />
	<link>http://cubiq.org/iscroll-3-5-adds-scrolltoelement</link>
	<description>Web and mobile development</description>
	<lastBuildDate>Thu, 17 May 2012 03:17:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: LOLMAN</title>
		<link>http://cubiq.org/iscroll-3-5-adds-scrolltoelement/comment-page-1#comment-25435</link>
		<dc:creator>LOLMAN</dc:creator>
		<pubDate>Fri, 18 Nov 2011 13:23:52 +0000</pubDate>
		<guid isPermaLink="false">http://cubiq.org/?p=94#comment-25435</guid>
		<description>Omg do you rly thinkg Sencha Touch is soo great? You should give yourself another Name, l33tboy..</description>
		<content:encoded><![CDATA[<p>Omg do you rly thinkg Sencha Touch is soo great? You should give yourself another Name, l33tboy..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colleen Liley</title>
		<link>http://cubiq.org/iscroll-3-5-adds-scrolltoelement/comment-page-1#comment-23177</link>
		<dc:creator>Colleen Liley</dc:creator>
		<pubDate>Mon, 03 Jan 2011 15:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://cubiq.org/?p=94#comment-23177</guid>
		<description>You said that &quot;Currently iScroll doesn’t check for location hash nor hash changes (eg: index.html#id). This can be easily implemented and I’m evaluating if this feature should be included in the default script.&quot;

Could you provide a quick example of how to achieve this please?</description>
		<content:encoded><![CDATA[<p>You said that &#8220;Currently iScroll doesn’t check for location hash nor hash changes (eg: index.html#id). This can be easily implemented and I’m evaluating if this feature should be included in the default script.&#8221;</p>
<p>Could you provide a quick example of how to achieve this please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://cubiq.org/iscroll-3-5-adds-scrolltoelement/comment-page-1#comment-14221</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 11 Nov 2010 07:43:43 +0000</pubDate>
		<guid isPermaLink="false">http://cubiq.org/?p=94#comment-14221</guid>
		<description>Hi Matteo,

I&#039;m having a new issue with select inputs (unrelated to those already solved on this thread)

When clicking on a select input that is *towards the bottom* of the scrollable area, and the native iPhone UI appears on the bottom, the content within the wrapper is shifted up. When you close the select options, you can only view the area from the bottom of the content minus the mask height-- you can&#039;t scroll up past the bottom-most visible area. I tried calling the refresh() method on the change event of the select input but that doesn&#039;t seem to work.

I&#039;ve only tested this on iOS4. Let me know if you have any insight as to why this may be happening, or if you need a more descriptive bug report.</description>
		<content:encoded><![CDATA[<p>Hi Matteo,</p>
<p>I&#8217;m having a new issue with select inputs (unrelated to those already solved on this thread)</p>
<p>When clicking on a select input that is *towards the bottom* of the scrollable area, and the native iPhone UI appears on the bottom, the content within the wrapper is shifted up. When you close the select options, you can only view the area from the bottom of the content minus the mask height&#8211; you can&#8217;t scroll up past the bottom-most visible area. I tried calling the refresh() method on the change event of the select input but that doesn&#8217;t seem to work.</p>
<p>I&#8217;ve only tested this on iOS4. Let me know if you have any insight as to why this may be happening, or if you need a more descriptive bug report.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matteo Spinelli</title>
		<link>http://cubiq.org/iscroll-3-5-adds-scrolltoelement/comment-page-1#comment-6459</link>
		<dc:creator>Matteo Spinelli</dc:creator>
		<pubDate>Mon, 23 Aug 2010 07:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://cubiq.org/?p=94#comment-6459</guid>
		<description>this is weird. I&#039;ll check it out.</description>
		<content:encoded><![CDATA[<p>this is weird. I&#8217;ll check it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ellsass</title>
		<link>http://cubiq.org/iscroll-3-5-adds-scrolltoelement/comment-page-1#comment-6443</link>
		<dc:creator>Ellsass</dc:creator>
		<pubDate>Mon, 23 Aug 2010 02:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://cubiq.org/?p=94#comment-6443</guid>
		<description>It seems to work just fine for classes (div.myClass) but not IDs (div#myId). If it makes a difference, the IDs I&#039;m trying are 10-digit numbers. I am converting them to strings before calling scrollToElement() just to be safe. 

My work-around has been to add the class &quot;jumpTo&quot; to document.getElementById(myId) and then call scrollToElement(&#039;div.jumpTo&#039;), which seems unnecessary, but it works.</description>
		<content:encoded><![CDATA[<p>It seems to work just fine for classes (div.myClass) but not IDs (div#myId). If it makes a difference, the IDs I&#8217;m trying are 10-digit numbers. I am converting them to strings before calling scrollToElement() just to be safe. </p>
<p>My work-around has been to add the class &#8220;jumpTo&#8221; to document.getElementById(myId) and then call scrollToElement(&#8216;div.jumpTo&#8217;), which seems unnecessary, but it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matteo Spinelli</title>
		<link>http://cubiq.org/iscroll-3-5-adds-scrolltoelement/comment-page-1#comment-5572</link>
		<dc:creator>Matteo Spinelli</dc:creator>
		<pubDate>Thu, 12 Aug 2010 09:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://cubiq.org/?p=94#comment-5572</guid>
		<description>If hash is the id of the element you want to scroll to... all you have to do is to watch for hash changes and scrollToElement(hash). iOS and Android&gt;=2.1 support hashChange event, for the others you have to set a timeInterval.</description>
		<content:encoded><![CDATA[<p>If hash is the id of the element you want to scroll to&#8230; all you have to do is to watch for hash changes and scrollToElement(hash). iOS and Android>=2.1 support hashChange event, for the others you have to set a timeInterval.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blobb</title>
		<link>http://cubiq.org/iscroll-3-5-adds-scrolltoelement/comment-page-1#comment-5568</link>
		<dc:creator>blobb</dc:creator>
		<pubDate>Thu, 12 Aug 2010 08:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://cubiq.org/?p=94#comment-5568</guid>
		<description>this is what i did on the window onload function (using jquery):

$(&#039;#wrapper&#039;).find(&#039;select, input:checkbox&#039;).each(function(i) {
        $(this).bind(&#039;touchstart&#039;, function(e) {
            e.stopPropagation();
        });
});

That way i don&#039;t need to mess with the iscroller script.
I did have to move the e.preventDefault() from touchStart() to touchMove(), but that&#039;s for another problem.</description>
		<content:encoded><![CDATA[<p>this is what i did on the window onload function (using jquery):</p>
<p>$(&#8216;#wrapper&#8217;).find(&#8216;select, input:checkbox&#8217;).each(function(i) {<br />
        $(this).bind(&#8216;touchstart&#8217;, function(e) {<br />
            e.stopPropagation();<br />
        });<br />
});</p>
<p>That way i don&#8217;t need to mess with the iscroller script.<br />
I did have to move the e.preventDefault() from touchStart() to touchMove(), but that&#8217;s for another problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blobb</title>
		<link>http://cubiq.org/iscroll-3-5-adds-scrolltoelement/comment-page-1#comment-5561</link>
		<dc:creator>blobb</dc:creator>
		<pubDate>Thu, 12 Aug 2010 06:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://cubiq.org/?p=94#comment-5561</guid>
		<description>Hi Matteo,

Great script!
You mentioned something about how iscroll is not currently checking for location hash and that it&#039;s  simple implementation. Would you mind letting me know how to implement the location hash for iscroll?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Matteo,</p>
<p>Great script!<br />
You mentioned something about how iscroll is not currently checking for location hash and that it&#8217;s  simple implementation. Would you mind letting me know how to implement the location hash for iscroll?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: towser</title>
		<link>http://cubiq.org/iscroll-3-5-adds-scrolltoelement/comment-page-1#comment-5378</link>
		<dc:creator>towser</dc:creator>
		<pubDate>Tue, 10 Aug 2010 06:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://cubiq.org/?p=94#comment-5378</guid>
		<description>a workaround I made to make the &quot;select&quot; field working  is the following :

in the touchStart function just replace :
------
 e.preventDefault();
 e.stopPropagation();
------
by
------
if (e.target.nodeName != &quot;SELECT&quot;) {
            e.preventDefault();
            e.stopPropagation();
}
------

for me it works fine.

Hope this helps</description>
		<content:encoded><![CDATA[<p>a workaround I made to make the &#8220;select&#8221; field working  is the following :</p>
<p>in the touchStart function just replace :<br />
&#8212;&#8212;<br />
 e.preventDefault();<br />
 e.stopPropagation();<br />
&#8212;&#8212;<br />
by<br />
&#8212;&#8212;<br />
if (e.target.nodeName != &#8220;SELECT&#8221;) {<br />
            e.preventDefault();<br />
            e.stopPropagation();<br />
}<br />
&#8212;&#8212;</p>
<p>for me it works fine.</p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Freeed</title>
		<link>http://cubiq.org/iscroll-3-5-adds-scrolltoelement/comment-page-1#comment-5113</link>
		<dc:creator>Freeed</dc:creator>
		<pubDate>Thu, 05 Aug 2010 14:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://cubiq.org/?p=94#comment-5113</guid>
		<description>It works!! Thxs a lot!

I use 4 iScroll objects in my app, some of them need to allow copy/paste and some other not.
Moving the e.preventDefault() in the touchMove method create some problems with iscroll objects where copy/paste aren&#039;t allowed.
So my final solution is a new iscroll option, which can do the e.preventDefault in the touchStart method by default, and in the touchMove method if the option is set!

If it can help! This works.</description>
		<content:encoded><![CDATA[<p>It works!! Thxs a lot!</p>
<p>I use 4 iScroll objects in my app, some of them need to allow copy/paste and some other not.<br />
Moving the e.preventDefault() in the touchMove method create some problems with iscroll objects where copy/paste aren&#8217;t allowed.<br />
So my final solution is a new iscroll option, which can do the e.preventDefault in the touchStart method by default, and in the touchMove method if the option is set!</p>
<p>If it can help! This works.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

