<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tech Any*Any &#187; Bookmarklet</title>
	<atom:link href="http://tech.any2.net/category/bookmarklet/feed" rel="self" type="application/rss+xml" />
	<link>http://tech.any2.net</link>
	<description>Mac や Web のあんなこと、こんなこと。</description>
	<lastBuildDate>Tue, 22 Nov 2011 09:12:45 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>サイズプロパティ</title>
		<link>http://tech.any2.net/item/85.html</link>
		<comments>http://tech.any2.net/item/85.html#comments</comments>
		<pubDate>Sun, 06 Mar 2005 12:51:51 +0000</pubDate>
		<dc:creator>yo2</dc:creator>
				<category><![CDATA[Bookmarklet]]></category>

		<guid isPermaLink="false">http://tech.any2.net/item/85.html</guid>
		<description><![CDATA[ドラッグしている範囲のサイズを表示します。]]></description>
			<content:encoded><![CDATA[<p>ドラッグしている範囲のサイズを表示します。 <a href="javascript:f=false;p=document.body.appendChild(document.createElement('div'));p.style.position='absolute';p.style.backgroundColor='#ffff99';p.style.color='black';p.style.fontSize='8pt';p.style.display='none';p.style.zIndex=999;r=document.body.appendChild(document.createElement('div'));r.style.position='absolute';r.style.border='1px%20dashed%20#0000ff';r.style.fontSize='0pt';r.style.display='none';r.style.zIndex=998;document.body.onmousedown=function%20(e){if(f){f=false;p.style.display='none';r.style.width=0;r.style.height=0;r.style.display='none';}else{f=true;x=e.pageX;y=e.pageY;p.style.display='block';r.style.display='block';}};document.body.onmousemove=function%20(e){if(f){w=Math.abs(e.pageX-x);h=Math.abs(e.pageY-y);p.innerHTML='W:'+w+'%20H:'+h;p.style.left=e.pageX+12;p.style.top=e.pageY+12;if(e.pageX>x){r.style.left=x;}else{r.style.left=e.pageX;}if(e.pageY>y){r.style.top=y;}else{r.style.top=e.pageY;}r.style.width=w;r.style.height=h;}};void(0);&#8221;>[サンプル]</a></p>
<p><code>javascript:<br />
f=false;<br />
p=document.body.appendChild(document.createElement('div'));<br />
p.style.position='absolute';<br />
p.style.backgroundColor='#ffff99';<br />
p.style.color='black';<br />
p.style.fontSize='8pt';<br />
p.style.display='none';<br />
p.style.zIndex=999;<br />
r=document.body.appendChild(document.createElement('div'));<br />
r.style.position='absolute';<br />
r.style.border='1px%20dashed%20#0000ff';<br />
r.style.fontSize='0pt';<br />
r.style.display='none';<br />
r.style.zIndex=998;<br />
document.body.onmousedown=function%20(e){<br />
if(f){<br />
f=false;<br />
p.style.display='none';<br />
r.style.width=0;<br />
r.style.height=0;<br />
r.style.display='none';<br />
}else{<br />
f=true;<br />
x=e.pageX;<br />
y=e.pageY;<br />
p.style.display='block';<br />
r.style.display='block';<br />
}<br />
};<br />
document.body.onmousemove=function%20(e){<br />
if(f){<br />
w=Math.abs(e.pageX-x);<br />
h=Math.abs(e.pageY-y);<br />
p.innerHTML='W:'+w+'%20H:'+h;<br />
p.style.left=e.pageX+12;<br />
p.style.top=e.pageY+12;<br />
if(e.pageX>x){<br />
r.style.left=x;<br />
}else{<br />
r.style.left=e.pageX;<br />
}<br />
if(e.pageY>y){<br />
r.style.top=y;<br />
}else{<br />
r.style.top=e.pageY;<br />
}<br />
r.style.width=w;<br />
r.style.height=h;<br />
}<br />
};<br />
void(0);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.any2.net/item/85.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>座標プロパティ</title>
		<link>http://tech.any2.net/item/84.html</link>
		<comments>http://tech.any2.net/item/84.html#comments</comments>
		<pubDate>Sun, 06 Mar 2005 09:59:41 +0000</pubDate>
		<dc:creator>yo2</dc:creator>
				<category><![CDATA[Bookmarklet]]></category>

		<guid isPermaLink="false">http://tech.any2.net/item/84.html</guid>
		<description><![CDATA[マウスカーソルの座標を表示します。 [サンプル] javascript: f=true; p=document.body.appendChild(document.createElement('div')); p.style.position='absolute'; p.style.backgroundColor='#ffff99'; p.style.color='black'; p.style.fontSize='8pt'; p.style.display='block'; p.style.zIndex=999; document.body.onmousedown=function%20(e){ if(f){p.style.display='none';f=false;}else{ p.style.left=e.pageX+12; p.style.top=e.pageY+12; p.style.display='block'; f=true;} }; document.body.onmousemove=function%20(e){ if(f){ p.innerHTML='X:'+e.pageX+'%20Y:'+e.pageY; p.style.left=e.pageX+12; p.style.top=e.pageY+12; } }; void(0);]]></description>
			<content:encoded><![CDATA[<p>マウスカーソルの座標を表示します。 <a href="javascript:f=true;p=document.body.appendChild(document.createElement('div'));p.style.position='absolute';p.style.backgroundColor='#ffff99';p.style.color='black';p.style.fontSize='8pt';p.style.display='block';p.style.zIndex=999;document.body.onmousedown=function%20(e){if(f){p.style.display='none';f=false;}else{p.style.display='block';p.style.left=e.x+12;p.style.top=e.y+12;f=true;}};document.body.onmousemove=function%20(e){if(f){p.innerHTML='X:'+e.x+'%20Y:'+e.y;p.style.left=e.x+12;p.style.top=e.y+12;}};void(0);">[サンプル]</a></p>
<p><code>javascript:<br />
f=true;<br />
p=document.body.appendChild(document.createElement('div'));<br />
p.style.position='absolute';<br />
p.style.backgroundColor='#ffff99';<br />
p.style.color='black';<br />
p.style.fontSize='8pt';<br />
p.style.display='block';<br />
p.style.zIndex=999;<br />
document.body.onmousedown=function%20(e){<br />
if(f){p.style.display='none';f=false;}else{<br />
p.style.left=e.pageX+12;<br />
p.style.top=e.pageY+12;<br />
p.style.display='block';<br />
f=true;}<br />
};<br />
document.body.onmousemove=function%20(e){<br />
if(f){<br />
p.innerHTML='X:'+e.pageX+'%20Y:'+e.pageY;<br />
p.style.left=e.pageX+12;<br />
p.style.top=e.pageY+12;<br />
}<br />
};<br />
void(0);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.any2.net/item/84.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>イメージプロパティ</title>
		<link>http://tech.any2.net/item/83.html</link>
		<comments>http://tech.any2.net/item/83.html#comments</comments>
		<pubDate>Sat, 05 Mar 2005 15:11:39 +0000</pubDate>
		<dc:creator>yo2</dc:creator>
				<category><![CDATA[Bookmarklet]]></category>

		<guid isPermaLink="false">http://tech.any2.net/item/83.html</guid>
		<description><![CDATA[マウスカーソルの下のイメージのサイズを表示します。 [サンプル] javascript: p=document.body.appendChild(document.createElement('div')); p.style.position='absolute'; p.style.backgroundColor='#ffff99'; p.style.color='black'; p.style.fontSize='8pt'; p.style.zIndex=999; document.body.onmousemove=function%20(e){ if(e.target.tagName=='IMG'){ p.innerHTML=e.target.width+'%20x%20'+e.target.height }else{ p.innerHTML='' } p.style.left=e.pageX+12; p.style.top=e.pageY+12; }; void(0);]]></description>
			<content:encoded><![CDATA[<p>マウスカーソルの下のイメージのサイズを表示します。 <a href="javascript:p=document.body.appendChild(document.createElement('div'));p.style.position='absolute';p.style.backgroundColor='#ffff99';p.style.color='black';p.style.fontSize='8pt';p.style.zIndex=999;document.body.onmousemove=function%20(e){if(e.target.tagName=='IMG'){p.innerHTML=e.target.width+'%20x%20'+e.target.height}else{p.innerHTML=''}p.style.left=e.pageX+12;p.style.top=e.pageY+12;};void(0);">[サンプル]</a></p>
<p><code>javascript:<br />
p=document.body.appendChild(document.createElement('div'));<br />
p.style.position='absolute';<br />
p.style.backgroundColor='#ffff99';<br />
p.style.color='black';<br />
p.style.fontSize='8pt';<br />
p.style.zIndex=999;<br />
document.body.onmousemove=function%20(e){<br />
if(e.target.tagName=='IMG'){<br />
p.innerHTML=e.target.width+'%20x%20'+e.target.height<br />
}else{<br />
p.innerHTML=''<br />
}<br />
p.style.left=e.pageX+12;<br />
p.style.top=e.pageY+12;<br />
};<br />
void(0);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.any2.net/item/83.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ウィンドウサイズ</title>
		<link>http://tech.any2.net/item/76.html</link>
		<comments>http://tech.any2.net/item/76.html#comments</comments>
		<pubDate>Thu, 24 Feb 2005 15:30:02 +0000</pubDate>
		<dc:creator>yo2</dc:creator>
				<category><![CDATA[Bookmarklet]]></category>

		<guid isPermaLink="false">http://tech.any2.net/item/76.html</guid>
		<description><![CDATA[ウィンドウを指定したサイズ (800 x 600 pixel / SVGA) に変更します。 [サンプル] javascript:void(window.resizeTo(800,600))]]></description>
			<content:encoded><![CDATA[<p>ウィンドウを指定したサイズ (<span style="color: #ff0000">800</span> x <span style="color: #ff0000">600</span> pixel / SVGA) に変更します。 <a href="javascript:void(window.resizeTo(800,600))">[サンプル]</a></p>
<p class="code">javascript:void(window.resizeTo(<span style="color: #ff0000">800</span>,<span style="color: #ff0000">600</span>))</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.any2.net/item/76.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

