ohbuchi:default

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
ohbuchi:default [2014/07/19 17:40] – 作成 kazohbuchi:default [2014/11/11 22:27] kaz
行 1: 行 1:
 +====== 大渕 謙太朗 (おおぶち けんたろう) ======
 +明治大学 理工学部 情報科学科 第3学年\\
 +数理最適化研究室 所属
  
 +{{:ohbuchi:ohbuchi.jpg?200x200|大渕 謙太朗}}
 +
 +<html>
 +<button type="button" id="ohbuchi"><span class="rainbow">ネオ大渕カウンター</span>: <strong id="ohbuchi_ctr">0</strong></button>
 +<script type="text/javascript">/*<![CDATA[*/
 +jQuery(function()
 +{
 +  jQuery.get ( "/co/nnect/ohbuchi_ctr2.php", (function(ctr)
 +  {
 +    jQuery("#ohbuchi_ctr").text ( parseInt ( ctr ) );
 +    jQuery("#ohbuchi").live ( "click", (function()
 +    {
 +      jQuery.get ( "/co/nnect/ohbuchi_ctr2.php", { refresh: true }, (function(res)
 +      {
 +        jQuery("#ohbuchi_ctr").text ( parseInt ( res ) );
 +      }) );
 +    }) );
 +  }) );
 +  
 +  jQuery(".rainbow").each (function()
 +  {
 +    var procedure;
 +    var target = this;
 +    var clock = Math.floor ( Math.random ( ) * 360 );
 +    var text = jQuery(this).text ( );
 +    var i;
 +
 +    jQuery(target).empty ( );
 +    for ( i = 0; i < text.length; ++i )
 +      jQuery(target).append ( "<span>" + text[ i ] + "</span>" );
 +
 +    procedure = (function()
 +    {
 +      var children = jQuery(target).children ( );
 +      for ( i = 0; i < children.length; ++i )
 +        jQuery(children.get(i)).css ( "color", "hsl(" + ( ( clock + i * 60 ) % 360 ) + ",50%,50%)" );
 +      clock = ( clock + 30 ) % 360;
 +      setTimeout ( procedure, 100 );
 +    });
 +    procedure ( );
 +  });
 +});
 +/*]]>*/</script>
 +</html>