<?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>「javascript 垂直輪播(跑馬燈、vertical carousel)」的迴響</title>
	<atom:link href="http://blog.hsin.tw/2008/javascript-vertical-carousel/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hsin.tw/2008/javascript-vertical-carousel/</link>
	<description></description>
	<lastBuildDate>Sun, 13 Jun 2010 05:16:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>由：hsin</title>
		<link>http://blog.hsin.tw/2008/javascript-vertical-carousel/comment-page-1/#comment-833</link>
		<dc:creator>hsin</dc:creator>
		<pubDate>Thu, 14 Jan 2010 02:41:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hsin.tw/?p=83#comment-833</guid>
		<description>這篇文章的東西要改變轉上轉下好像沒辦法 (或是我比較遜orz)
因為scrollTop的關係 換的時候可能會有跳動、不連續的畫面出現
可能要找其他的方法

至於換方向變成轉上的我已經加在練習頁上了
http://ex.hsin.tw/index.php?type=javascript&amp;act=06
在最下面
有小小更改一點東西
主要是先將scrollTop設為跟scrollHeight一樣
也就是跑到那個容器的最下面(捲軸拉到最下面的意思)
接著的動作就跟原本的差不多
而要把最後一筆加到第一筆
是使用insertBefore
字面上應該可以了解就是 插入到之前的意思 囉
用法是
容器.insertBefore(最後一個node , 第一個node);
這是例子
var s=document.getElementById(&#039;ann_box&#039;);
s.insertBefore(s.getElementsByTagName(&#039;div&#039;)[s.getElementsByTagName(&#039;div&#039;).length-1],s.getElementsByTagName(&#039;div&#039;)[0]);</description>
		<content:encoded><![CDATA[<p>這篇文章的東西要改變轉上轉下好像沒辦法 (或是我比較遜orz)<br />
因為scrollTop的關係 換的時候可能會有跳動、不連續的畫面出現<br />
可能要找其他的方法</p>
<p>至於換方向變成轉上的我已經加在練習頁上了<br />
<a href="http://ex.hsin.tw/index.php?type=javascript&amp;act=06" rel="nofollow">http://ex.hsin.tw/index.php?type=javascript&amp;act=06</a><br />
在最下面<br />
有小小更改一點東西<br />
主要是先將scrollTop設為跟scrollHeight一樣<br />
也就是跑到那個容器的最下面(捲軸拉到最下面的意思)<br />
接著的動作就跟原本的差不多<br />
而要把最後一筆加到第一筆<br />
是使用insertBefore<br />
字面上應該可以了解就是 插入到之前的意思 囉<br />
用法是<br />
容器.insertBefore(最後一個node , 第一個node);<br />
這是例子<br />
var s=document.getElementById(&#8216;ann_box&#8217;);<br />
s.insertBefore(s.getElementsByTagName(&#8216;div&#8217;)[s.getElementsByTagName('div').length-1],s.getElementsByTagName(&#8216;div&#8217;)[0]);</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Pelin</title>
		<link>http://blog.hsin.tw/2008/javascript-vertical-carousel/comment-page-1/#comment-825</link>
		<dc:creator>Pelin</dc:creator>
		<pubDate>Tue, 12 Jan 2010 09:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hsin.tw/?p=83#comment-825</guid>
		<description>請問一下，如果我想要利用按鈕讓資料轉上或轉下，該如何修改~~~
還有當我轉下時，第一筆資料會加到最後一筆，那如果我要轉上時，該如何把最後一筆資料加到第一筆呢???</description>
		<content:encoded><![CDATA[<p>請問一下，如果我想要利用按鈕讓資料轉上或轉下，該如何修改~~~<br />
還有當我轉下時，第一筆資料會加到最後一筆，那如果我要轉上時，該如何把最後一筆資料加到第一筆呢???</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：hsin</title>
		<link>http://blog.hsin.tw/2008/javascript-vertical-carousel/comment-page-1/#comment-393</link>
		<dc:creator>hsin</dc:creator>
		<pubDate>Wed, 12 Aug 2009 02:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hsin.tw/?p=83#comment-393</guid>
		<description>可以看一下範例頁面 
&lt;a href=&quot;http://ex.hsin.tw/exp06.php&quot; rel=&quot;nofollow&quot;&gt;http://ex.hsin.tw/exp06.php&lt;/a&gt;
我有加上 當多個的時候要怎麼修改
有兩種方式都可以用
一種是改變html 就是把原本的div高度調高 裡面放多個元素
或是改變js 判斷輪播一次要把幾個元素往後面擺
看一下範例的原始碼應該就可以瞭解囉</description>
		<content:encoded><![CDATA[<p>可以看一下範例頁面<br />
<a href="http://ex.hsin.tw/exp06.php" rel="nofollow">http://ex.hsin.tw/exp06.php</a><br />
我有加上 當多個的時候要怎麼修改<br />
有兩種方式都可以用<br />
一種是改變html 就是把原本的div高度調高 裡面放多個元素<br />
或是改變js 判斷輪播一次要把幾個元素往後面擺<br />
看一下範例的原始碼應該就可以瞭解囉</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：lai</title>
		<link>http://blog.hsin.tw/2008/javascript-vertical-carousel/comment-page-1/#comment-391</link>
		<dc:creator>lai</dc:creator>
		<pubDate>Tue, 11 Aug 2009 15:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hsin.tw/?p=83#comment-391</guid>
		<description>請問這個範例只有一筆一筆可以轉，假如我要一次有5筆資料可以輪流向上轉上去，要怎麼做到呢?謝謝</description>
		<content:encoded><![CDATA[<p>請問這個範例只有一筆一筆可以轉，假如我要一次有5筆資料可以輪流向上轉上去，要怎麼做到呢?謝謝</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：hsin</title>
		<link>http://blog.hsin.tw/2008/javascript-vertical-carousel/comment-page-1/#comment-177</link>
		<dc:creator>hsin</dc:creator>
		<pubDate>Mon, 15 Jun 2009 08:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hsin.tw/?p=83#comment-177</guid>
		<description>歐歐~可以幫得上忙我很高興~:D</description>
		<content:encoded><![CDATA[<p>歐歐~可以幫得上忙我很高興~:D</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：maomo</title>
		<link>http://blog.hsin.tw/2008/javascript-vertical-carousel/comment-page-1/#comment-175</link>
		<dc:creator>maomo</dc:creator>
		<pubDate>Mon, 15 Jun 2009 08:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hsin.tw/?p=83#comment-175</guid>
		<description>很實用的資訊，解決了我目前的問題
謝謝分享！</description>
		<content:encoded><![CDATA[<p>很實用的資訊，解決了我目前的問題<br />
謝謝分享！</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Life["Breathing"] &#187; javascript 水平捲動選單</title>
		<link>http://blog.hsin.tw/2008/javascript-vertical-carousel/comment-page-1/#comment-20</link>
		<dc:creator>Life["Breathing"] &#187; javascript 水平捲動選單</dc:creator>
		<pubDate>Sun, 28 Dec 2008 14:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hsin.tw/?p=83#comment-20</guid>
		<description>[...] 根據這一篇跟這一篇的原理  可以使用同樣的方法製作水平捲動選單 [...]</description>
		<content:encoded><![CDATA[<p>[...] 根據這一篇跟這一篇的原理  可以使用同樣的方法製作水平捲動選單 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Life["Breathing"] &#187; javascript 垂直捲動選單</title>
		<link>http://blog.hsin.tw/2008/javascript-vertical-carousel/comment-page-1/#comment-19</link>
		<dc:creator>Life["Breathing"] &#187; javascript 垂直捲動選單</dc:creator>
		<pubDate>Fri, 26 Dec 2008 16:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hsin.tw/?p=83#comment-19</guid>
		<description>[...] 根據前一篇的原理  可以使用同樣的方法製作捲動選單 [...]</description>
		<content:encoded><![CDATA[<p>[...] 根據前一篇的原理  可以使用同樣的方法製作捲動選單 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
