<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>html css, javascript</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/" />
    <link rel="self" type="application/atom+xml" href="http://www.0yen-coding.com/atom.xml" />
    <id>tag:www.0yen-coding.com,2009-05-10://1</id>
    <updated>2010-06-20T17:19:30Z</updated>
    <subtitle>htmlとcssとjavascript、時々phpのメモ。あ、あとflashも、ActionScriptも追加で。</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.25</generator>

<entry>
    <title>wp2.9.2試用。</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/06/wp292.html" />
    <id>tag:www.0yen-coding.com,2010://1.390</id>

    <published>2010-06-05T08:04:11Z</published>
    <updated>2010-06-20T17:19:30Z</updated>

    <summary> ...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="雑記" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
         
        <![CDATA[<p>mtよりも軽いのがいいかもしれない。しばらくwpを使ってみる。</p>


<ul>
	<li><a href="http://www.0yen-coding.com/d/">regelog</a></li>
</ul>]]>
    </content>
</entry>

<entry>
    <title>md5 はエムディーファイブと読む。</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/06/md5.html" />
    <id>tag:www.0yen-coding.com,2010://1.389</id>

    <published>2010-05-31T15:03:00Z</published>
    <updated>2010-05-31T15:11:05Z</updated>

    <summary> ...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="php" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
         
        <![CDATA[<p>フルスペルはこう。ってかなんで解読できないのかが想像出来ない。flashが勉強出来ない。</p><blockquote>MD5<br>Message Digest 5</blockquote>




<p>とか思ってたら、こんな記事が。</p>


<ul>
	<li><a href="http://wordpress.rauru-block.org/index.php/1512" target="_blank">Rauru Blog ? Blog Archive ? MD5破りにGoogleを活用</a></li>
</ul>]]>
    </content>
</entry>

<entry>
    <title>ライトボックス系jqueryライブラリ color box。</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/jquery-color-box.html" />
    <id>tag:www.0yen-coding.com,2010://1.388</id>

    <published>2010-05-31T14:32:29Z</published>
    <updated>2010-05-31T14:54:04Z</updated>

    <summary>略してcbox。（jsにもcboxと書いてある。）...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="javascript" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
        略してcbox。（jsにもcboxと書いてある。）
        <![CDATA[<p>なかなかの安定感。ライセンスはMIT。</p>

<ul>
	<li><a href="http://www.0yen-coding.com/colorbox/example1/" target="_blank">ColorBox Examples</a></li>
</ul>


<ul>
	<li>横スクロール時にie6以降でbody背景が切れるケース。</li>
	<li>ブラウザの全画面ボタンクリック時に画像位置が横にずれるケース。</li>
	<li>画像は常にドキュメントの中央。（これは仕様上不可能だけど。）</li>
</ul>]]>
    </content>
</entry>

<entry>
    <title>マインスイーパーmac版</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/mac-5.html" />
    <id>tag:www.0yen-coding.com,2010://1.387</id>

    <published>2010-05-30T17:08:27Z</published>
    <updated>2010-05-30T17:10:43Z</updated>

    <summary>java製。...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="雑記" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
        java製。
        <![CDATA[
<p>無性にやりたくなった。</p>
<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://www.0yen-coding.com/assets_c/2010/05/mine-123.html" onclick="window.open('http://www.0yen-coding.com/assets_c/2010/05/mine-123.html','popup','width=366,height=461,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.0yen-coding.com/assets_c/2010/05/mine-thumb-500x629-123.png" width="" height="" alt="mine.png" class="mt-image-none" style="" /></a></span>]]>
    </content>
</entry>

<entry>
    <title>クリックしたタグのid名とclass名を取得。</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/idclass.html" />
    <id>tag:www.0yen-coding.com,2010://1.386</id>

    <published>2010-05-29T16:51:53Z</published>
    <updated>2010-05-29T17:05:23Z</updated>

    <summary> ...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="javascript" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
         
        <![CDATA[<p>なぜか今まで知らなかった。これは便利。</p>
<blockquote><pre class="prettyprint">
document.getElementById('hoge').onclick = function(e){ alert(
	'id:'+ e.target.id +'\nclass:'+ e.target.className
) }

</pre></blockquote>]]>
    </content>
</entry>

<entry>
    <title>音楽作成ソフト。</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/post-36.html" />
    <id>tag:www.0yen-coding.com,2010://1.385</id>

    <published>2010-05-29T16:40:49Z</published>
    <updated>2010-05-29T16:43:06Z</updated>

    <summary> ...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="雑記" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
         
        <![CDATA[<script type="text/javascript" src="http://ext.nicovideo.jp/thumb_watch/sm10805698"></script><noscript><a href="http://www.nicovideo.jp/watch/sm10805698">【ニコニコ動画】一晩でマインスイーパを神ゲーにしてやった</a></noscript>]]>
    </content>
</entry>

<entry>
    <title>今日の反省。jsメモ。</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/js-9.html" />
    <id>tag:www.0yen-coding.com,2010://1.384</id>

    <published>2010-05-27T16:49:06Z</published>
    <updated>2010-05-27T16:59:40Z</updated>

    <summary> ...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="雑記" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
         
        <![CDATA[<p>帰宅すると気持ちがフラットになる。そして、新しいものが見える。以下メモ。</p>


<ul>
	<li>ie6の存在のでかさを再実感。</li>
	<li>jsとかでブラウザの最大化ボタンのイベントって取得出来ないの？</li>
	<li>jqueryプラグインの仕組み。構造。</li>
	<li>ページネーション。</li>
	<li>light boxの実装とか。</li>
	<li>windowサイズ。</li>
</ul>]]>
    </content>
</entry>

<entry>
    <title>{メモ} ついったーを自ブログに表示するメモ。</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/post-35.html" />
    <id>tag:www.0yen-coding.com,2010://1.383</id>

    <published>2010-05-27T16:25:49Z</published>
    <updated>2010-05-27T16:43:47Z</updated>

    <summary> ...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="雑記" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
         
        <![CDATA[<p>てすと。</p>

<p style="padding:10px 0;"><a href="http://www.twitter.com/regepan"><img src="http://twitter-badges.s3.amazonaws.com/ja_follow_me-c.png" alt="regepanをフォローしましょう"/></a>
</p>
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 6,
  interval: 6000,
  width: 'auto',
  height: 300,
  theme: {
    shell: {
      background: '#333333',
      color: '#ffffff'
    },
    tweets: {
      background: '#000000',
      color: '#ffffff',
      links: '#4aed05'
    }
  },
  features: {
    scrollbar: false,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: 'all'
  }
}).render().setUser('regepan').start();
</script>




<div style="padding:10px 0 0 0;">
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 6,
  interval: 6000,
  width: 'auto',
  height: 300,
  theme: {
    shell: {
      background: '#333333',
      color: '#ffffff'
    },
    tweets: {
      background: '#000000',
      color: '#ffffff',
      links: '#4aed05'
    }
  },
  features: {
    scrollbar: false,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: true,
    avatars: true,
    behavior: 'default'
  }
}).render().setUser('regepan').start();
</script>
</div>]]>
    </content>
</entry>

<entry>
    <title>フードアクションニッポン。</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/post-34.html" />
    <id>tag:www.0yen-coding.com,2010://1.382</id>

    <published>2010-05-26T16:02:39Z</published>
    <updated>2010-05-26T16:03:54Z</updated>

    <summary></summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="BookMarks" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
        
        <![CDATA[<p>なつかしいなー。そろそろ一年立つ。</p>
<ul>
	<li><a href="http://syokuryo.jp/index.html" target="_blank">FOOD ACTION NIPPON（フードアクションニッポン）</a></li>
</ul>]]>
    </content>
</entry>

<entry>
    <title>{as3} new Point();</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/as3-new-point.html" />
    <id>tag:www.0yen-coding.com,2010://1.381</id>

    <published>2010-05-26T15:30:33Z</published>
    <updated>2010-05-26T15:59:25Z</updated>

    <summary> ...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="AS3" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="point" label="Point()" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
         
        <![CDATA[<blockquote>
<pre class="prettyprint">
var p = new Point();
trace(p);//(x=0, y=0)

var q = new Point(10,10);
trace(q);//(x=10, y=10)
</pre>
</blockquote>

<h2>こちらがとても詳しい。</h2>
<ul>
	<li><a href="http://d.hatena.ne.jp/itsuki_kosen/20090930/1254243776" target="_blank">AS3:Pointクラスについて - いつきの技的日記</a></li>
</ul>


<p>as3は簡単にtrace()できて楽だなー。</p>







<h2>perlinNoise()はmacのfanがすぐうなる。</h2>



<div style="text-align:center;width:465px;"><iframe title="flash on 2010-5-27 - wonderfl build flash online" scrolling="no" src="http://wonderfl.net/blogparts/cK3A" width="465" height="490" style="border:1px black solid;"></iframe><a href="http://wonderfl.net/c/cK3A" title="flash on 2010-5-27 - wonderfl build flash online">flash on 2010-5-27 - wonderfl build flash online</a></div>]]>
    </content>
</entry>

<entry>
    <title>brainf*ck</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/brainfck.html" />
    <id>tag:www.0yen-coding.com,2010://1.380</id>

    <published>2010-05-26T15:03:19Z</published>
    <updated>2010-05-26T15:05:00Z</updated>

    <summary> ...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="雑記" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
         
        <![CDATA[<ul>
	<li><a href="http://www.kmonos.net/alang/etc/brainfuck.php" target="_blank">Brainf*ck</a>

<ul>
	<li><a href="http://d.hatena.ne.jp/nishiohirokazu/20080212/1202760771" target="_blank">初心者向けの言語探してないでコードを書けばいいと思う - 西尾泰和のはてなダイアリー</a></li>
</ul>

</li>
</ul>]]>
    </content>
</entry>

<entry>
    <title>{js} replace(/あ/,&apos;&apos;)で文字列置換、正規表現置換もできる。</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/js-replace.html" />
    <id>tag:www.0yen-coding.com,2010://1.379</id>

    <published>2010-05-24T15:46:10Z</published>
    <updated>2010-05-25T16:05:11Z</updated>

    <summary> ...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="javascript" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
         
        <![CDATA[<p>何回やっても覚えないのでまとめる。</p>


<p>「あ」が最初のひとつだけ消える。</p>
<blockquote>
<pre class="prettyprint">
var str = 'あああ';
str = str.replace(/あ/,'');

document.write(str);//ああ
</pre>

</blockquote>




<p>「g」を添えると全部消える。</p>
<blockquote>
<pre class="prettyprint">
var str = 'あああ';
str = str.replace(/あ/g,'');

document.write(str);
</pre>
</blockquote>


<p>replace()は正規表現も使える。</p>
<blockquote>
<pre class="prettyprint">
var str = '&lt;a href="http://www.0yen-coding.com/"&gt;リンク&lt;/a&gt;';
str = str.replace(/".*?"/g,'"hoge.com"');

alert(str);//&lt;a href="hoge.com"&gt;リンク&lt;/a&gt;
</pre>
</blockquote>



<h2>ここ2,3日分のメモ。</h2>
<ul>

	<li>・shift_jisのjqueryファイルをutf-8にemeditorで変換。→shift_jisのままという現象。</li>
	<li>・ie6で透過pngを沢山使えるけどいろんなタグが挿入されるのが（おそらく）原因でマウスオーバーの時、透過pngにcss(margin-top:-48px;)を適用させると透過pngが消える現象に出会う。<br>
<a href="http://www.dillerdesign.com/experiment/DD_belatedPNG/" target="_blank">DD_belatedPNG: Medicine for your IE6/PNG headache!</a></li>
	<li>・Yahoo SEO対策でtext-indent:-9999px;を使いまくっても、「text-indent:-9999px;はSEO的にダメ」って言われたときにダメージがでかい。</li>
	<li>・ビットシフト演算子（>>）がいまいち理解できないのに、昨日のas3の写経でまたぶつかった。</li>
	<li>・リツイートボタンってたくさん（種類）あるんだなって気づいた。</li>
	<li><del>・cssのマイナスマージンがなかなか便利。</del>あまり使うべきではない。</li>
</ul>]]>
    </content>
</entry>

<entry>
    <title>初wonderfl。</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/wonderfl.html" />
    <id>tag:www.0yen-coding.com,2010://1.378</id>

    <published>2010-05-23T15:49:48Z</published>
    <updated>2010-05-24T15:09:17Z</updated>

    <summary> ...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="AS3" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
         
        <![CDATA[<p>adobe flashよりも軽かったりしてw、超高機能なエディタでびつくり。これから使わせていただくかも。</p>

<div style="text-align:center;width:465px;"><iframe title="lineTo, moveTo - wonderfl build flash online" scrolling="no" src="http://wonderfl.net/blogparts/fc0B" width="465" height="490" style="border:1px black solid;"></iframe><a href="http://wonderfl.net/c/fc0B" title="lineTo, moveTo - wonderfl build flash online">lineTo, moveTo - wonderfl build flash online</a></div>




<script type="text/javascript">
tweetmeme_url = 'http://www.0yen-coding.com/';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>]]>
    </content>
</entry>

<entry>
    <title>今日から写経。その前に復習。</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/post-33.html" />
    <id>tag:www.0yen-coding.com,2010://1.377</id>

    <published>2010-05-23T03:11:06Z</published>
    <updated>2010-05-23T13:16:22Z</updated>

    <summary> ...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="AS3" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
         
        <![CDATA[<p>昨日でやっと一区切りついた。<br>
今週、来週はお経を写経weekにすると朝の会議で決まった。as3だけに絞るべきか。jsも書きたい。jsもすごく気になる。アルゴリズムとか、ゲームアルゴリズムとかデザインパターンの本も読みたい。
C＃も気になってる。気になってるといえば、昨日とある先生にflashと名のつく本を全部読めといわれたのが気になってる。最初は適当かと思ったが後から考えれば読んだ方がいいに決まっていると思えてきた。先生は全部読んだのだろうか。見るだけなら時間かければできる。読んでコードを理解するのはもっと時間がかかる。どういう意味だろうと深読み中。amazonで検索するとパソコンカテゴリのflashというキーワードに700件以上ひっかかった。2週間でできそうなのは本の表紙くらいなら全部見れそうだ。</p>



<h2>復習</h2>
<p>この書き方がおもしろかった。こういう配列の作り方があるんだと。</p>
<blockquote>
<pre class="prettyprint">
var arr = new Array();

function hoge(a){
	arr.push(a);
}

hoge('りんご');
hoge('林檎');
hoge('ringo');

trace(arr);//りんご,林檎,ringo
</pre></blockquote>




<p>この書き方も実際にいじれたのはよかった。Object()、Array()、変数の違いがまだぼんやりしてる。</p>
<blockquote>
<pre class="prettyprint">
var obj = new Object();

obj.a = 'りんご';
obj.b = 'ringo';
obj.c = '林檎';

trace(obj.a);//りんご
trace(obj.b);//ringo
trace(obj.c);//林檎
</pre></blockquote>




<p>テキストフィールドとテキストフォーマットの関係、問題点など。システムフォントだとalphaがかからない。改行と行間の問題。</p>
<blockquote>
<pre class="prettyprint">
var txt = new TextField();
var format:TextFormat = new TextFormat();

addChild(txt);
txt.defaultTextFormat = format;

format.size = 50;

/*
txt.text = 'regepan';
txt.x = 10;
txt.y = 10;
txt.textColor = 0xff0000;
txt.autoSize = TextFieldAutoSize.LEFT;//自動整形。
txt.wordWrap = true;//自動改行
txt.border = true;
txt.multiline = true;
txt.width = 50;
*/
</pre></blockquote>




]]>
    </content>
</entry>

<entry>
    <title>twitterで求人。</title>
    <link rel="alternate" type="text/html" href="http://www.0yen-coding.com/2010/05/twitter.html" />
    <id>tag:www.0yen-coding.com,2010://1.376</id>

    <published>2010-05-22T16:07:41Z</published>
    <updated>2010-05-23T03:10:18Z</updated>

    <summary> ...</summary>
    <author>
        <name>reggae</name>
        <uri>http://www.0yen-coding.com/mt-cp.cgi?__mode=view&amp;blog_id=1&amp;id=1</uri>
    </author>
    
        <category term="便利ツール" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="twitter" label="twitter" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.0yen-coding.com/">
         
        <![CDATA[<p>twitter上で求人募集することでブランドイメージが下がるとかを懸念するのは当然あるとおもう。やって問題ある人と問題ない人が確かにいるとおもう。</p>

<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://www.0yen-coding.com/assets_c/2010/05/twiiter01-120.html" onclick="window.open('http://www.0yen-coding.com/assets_c/2010/05/twiiter01-120.html','popup','width=602,height=370,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.0yen-coding.com/assets_c/2010/05/twiiter01-thumb-500x307-120.png" width="" height="" alt="twiiter01.png" class="mt-image-none" style="" /></a></span>



<p>ある程度業界の人間を特定することは、つぶやきの内容から判断できる。この場合金銭的なコストはゼロっていうのがすごい。すごい世の中。</p>]]>
    </content>
</entry>

</feed>
