<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/main.xsl"?>
<b:blog xmlns="http://www.w3.org/1999/xhtml" xmlns:b="http://blog.othree.net"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://blog.othree.net http://blog.othree.net/blooog.xsd">
	<b:blogTitle>O3noBLOG</b:blogTitle>
	<b:blogDescription></b:blogDescription>
	<b:entries>
		<b:entriesMeta>
			<b:listType>s</b:listType>
			<b:listData listID="000272" baseName="resizable-textarea">可自己調整大小的textarea</b:listData>

			<b:previous>
				<b:mTitle>PC壞了一週</b:mTitle>
				<b:mDate>2005/10/15</b:mDate>
				<b:mBase>pc-broken</b:mBase>
			</b:previous>


			<b:next>
				<b:mTitle>1080p</b:mTitle>
				<b:mDate>2005/10/17</b:mDate>
				<b:mBase>1080p</b:mBase>
			</b:next>

		</b:entriesMeta>
		<b:entry entryID="000272" baseName="resizable-textarea">
			<b:author>
				<b:authorName>othree</b:authorName>
				<b:authorEmail>othree@gmail.com</b:authorEmail>
				<b:authorUrl></b:authorUrl>
			</b:author>
			<b:datetime>
				<b:date>2005-10-15</b:date>
				<b:time>15:42:11</b:time>
			</b:datetime>
			<b:category>web</b:category>

			<b:CommentsAccepted>1</b:CommentsAccepted>



			<b:PingsAccepted>1</b:PingsAccepted>


			<b:title>可自己調整大小的textarea</b:title>
			<b:content>
				<b:summary>一開始是有朋友希望他的發表迴響的textarea能大一些，我後來想一想決定用javascript作動態效果，一開始是先判斷有沒有輸入enter，有的話就修改rows屬性值，後來改成計算內文總共有幾個斷行，後來hlb大大告說wordpress.com裡面有可以用滑鼠自己調整的功能，還讓我進去玩了一下，本來想順便看看程式碼的部分，不過實在太多javascript了，然後我就決定自己寫一個，那時（一週前）就寫出簡單可以用的版本了，不過還不算完成，我覺得還有些東西可以改改，這兩天有空的話會再改一改，然後才正式放出吧。...</b:summary>
				<b:mainContent><p>一開始是有朋友希望他的發表迴響的textarea能大一些，我後來想一想決定用javascript作動態效果，一開始是先判斷有沒有輸入<strong>enter</strong>，有的話就修改rows屬性值，後來改成計算內文總共有幾個斷行，後來<a href="http://hlb.yichi.org/blog/">hlb</a>大大告說<a href="http://wordpress.com/">wordpress.com</a>裡面有可以用滑鼠自己調整的功能，還讓我進去玩了一下，本來想順便看看程式碼的部分，不過實在太多javascript了，然後我就決定自己寫一個，那時（一週前）就寫出簡單<a href="/log/2005/10/15/resizable_textarea/example.html">可以用的版本</a>了，不過還不算完成，我覺得還有些東西可以改改，這兩天有空的話會再改一改，然後才正式放出吧。</p></b:mainContent>
				<b:extendContent></b:extendContent>
			</b:content>
			<b:comments commentCount="4">

				<b:comment commentID="000882" entryID="000272">
					<b:author>
						<b:authorName>hedger</b:authorName>
						<b:authorEmail>hedgerwang@gmail.com</b:authorEmail>
						<b:authorUrl>http://www.hedgerwow.com</b:authorUrl>
					</b:author>
					<b:datetime>
						<b:date>2005-10-16</b:date>
						<b:time>00:19:11</b:time>
					</b:datetime>
					<b:content>
						<b:mainContent><p>寫的真不錯喔～</p></b:mainContent>
					</b:content>
				</b:comment>

				<b:comment commentID="000883" entryID="000272">
					<b:author>
						<b:authorName>OOO</b:authorName>
						<b:authorEmail></b:authorEmail>
						<b:authorUrl>http://blog.othree.net</b:authorUrl>
					</b:author>
					<b:datetime>
						<b:date>2005-10-16</b:date>
						<b:time>18:50:34</b:time>
					</b:datetime>
					<b:content>
						<b:mainContent><p>謝謝，不過還有些可以改進的地方，像是一個網頁可能會有兩個或以上的textarea需要調大小，還有是否要把整個script包成一個物件等等^^b。</p></b:mainContent>
					</b:content>
				</b:comment>

				<b:comment commentID="028238" entryID="000272">
					<b:author>
						<b:authorName>ohlala</b:authorName>
						<b:authorEmail>beavischang@gmail.com</b:authorEmail>
						<b:authorUrl></b:authorUrl>
					</b:author>
					<b:datetime>
						<b:date>2007-08-27</b:date>
						<b:time>13:54:37</b:time>
					</b:datetime>
					<b:content>
						<b:mainContent><p>您好，請教wordpress.com在哪邊可以看到用滑鼠控制的地方呢?<br />
感謝~~~</p></b:mainContent>
					</b:content>
				</b:comment>

				<b:comment commentID="028301" entryID="000272">
					<b:author>
						<b:authorName>OOO</b:authorName>
						<b:authorEmail>othree@gmail.com</b:authorEmail>
						<b:authorUrl>http://blog.othree.net</b:authorUrl>
					</b:author>
					<b:datetime>
						<b:date>2007-08-28</b:date>
						<b:time>15:28:41</b:time>
					</b:datetime>
					<b:content>
						<b:mainContent><p>應該就在文字區的右下角吧，或許後來版本更新有變動我就不清楚了。</p></b:mainContent>
					</b:content>
				</b:comment>

			</b:comments>
			<b:trackbacks trackbackCount="0" trackbackURL="http://othree.net/mt/mt-tb.cgi/271">

			</b:trackbacks>
		</b:entry>
	</b:entries>
</b:blog>