約 4,968,589 件
https://w.atwiki.jp/rxt_team/pages/4.html
!DOCTYPE HTML HTML HEAD TITLE 30秒 /TITLE /HEAD BODY div style="margin 0 auto;width 500px;" P Press W, A, S, D keys to move /P SECTION style="border-style solid; border-width 2px; width 500px;" CANVAS WIDTH="500" HEIGHT="500" ID="canvas_1" tabindex="0" Canvas tag not supported /CANVAS /SECTION div id = "ptx" x /div div id = "pty" y /div div id = "result" result /div /div SCRIPT var canvas = document.getElementById("canvas_1"); canvas.addEventListener( keydown , doKeyDown, true); canvas.addEventListener( keyup , doKeyUp, true); canvas_context = canvas.getContext("2d"); var seconds = 0; //记数时间 var handle; //事件柄 handle = setInterval("timer()",1000); canvas.focus(); var keybuf = {}; var x = 250.0; var y = 250.0; var bulletList = new Array(60); for (var i=0; i bulletList.length ; i++) { var tempBullet; if((tempBullet=createBullet())!=null ){ bulletList[i] = null; bulletList[i] =tempBullet; } } setInterval("reflash()", 1000 / 60); function reflash() { clearCanvas(); canvas_context.fillStyle = "orange"; //canvas_context.fillRect(x, y, 10, 10); canvas_context.beginPath(); canvas_context.arc(x,y,5,0,2*Math.PI,true); canvas_context.stroke(); canvas_context.fill(); // draw bullet doKeyEvent(); for (var i=0; i bulletList.length ; i++) { bulletList[i].move(); bulletList[i].draw(); } // hit bullet for (var k=0; k bulletList.length ; k++) { //if(Math.abs(x-bulletList[k].bx) 10.0 Math.abs(y-bulletList[k].by) 10.0){ if( Math.sqrt(Math.pow((x-bulletList[k].bx),2)+ Math.pow((y-bulletList[k].by),2)) 10 ) { if(seconds = 10){ alert("you lost" + "\n"+seconds+"\n"+"你弱爆了!!"); }else if (seconds 20 ){ alert("you lost" + "\n"+seconds+"\n"+"再接再厉!!"); }else if (seconds 30 ){ alert("you lost" + "\n"+seconds+"\n"+"你是男人!"); }else if (seconds 40 ){ alert("you lost" + "\n"+seconds+"\n"+"你是男人!"); }else if (seconds 50 ){ alert("you lost" + "\n"+seconds+"\n"+"你是男人!!"); }else if (seconds 60 ){ alert("you lost" + "\n"+seconds+"\n"+"你是男人!!!"); }else if (seconds = 70 ){ alert("you lost" + "\n"+seconds+"\n"+"春哥附体拉!"); } window.location.reload(); //document.getElementById("result").innerHTML = "you failed"; } } // bullet number for (var j=0; j bulletList.length ; j++) { if (bulletList[j].bx 0 || bulletList[j].bx 500 || bulletList[j].by 0 || bulletList[j].by 500) { var tempBullet; if((tempBullet=createBullet()) != null ) { bulletList[j] = null; bulletList[j] = tempBullet; } else{ i--; } } } document.getElementById("ptx").innerHTML = x; document.getElementById("pty").innerHTML = y; } function timer () { seconds ++; } function createBullet(){ var dir = Math.ceil(Math.random()*4); var s_x ; var s_y ; var s_cos ; var s_sin ; if(dir == 1){ s_x = Math.ceil(Math.random()*490); s_y = 0; s_cos = Math.random() * 2.0-1.0; s_sin = Math.sqrt(1-s_cos * s_cos); } else if (dir == 2){ s_x = 0; s_y = Math.ceil(Math.random()*490); s_sin = Math.random() * 2.0-1.0 ; s_cos = Math.sqrt(1-s_sin * s_sin); } else if (dir == 3){ s_x = Math.ceil(Math.random()*490) ; s_y = 490; s_cos = Math.random() * 2.0-1.0; s_sin = -Math.sqrt(1-s_cos * s_cos); } else if (dir == 4){ s_x = 490; s_y = Math.ceil(Math.random()*490); s_sin = Math.random() * 2.0-1.0 ; s_cos = -Math.sqrt(1-s_sin * s_sin); } else if (dir ==0 ){ return null; } return new bullet(s_x,s_y,s_cos,s_sin); } function doKeyUp(e) { var evt = e || window.event; keybuf[evt.keyCode] = false; //doKeyEvent(); } function doKeyPress(e) { doKeyEvent(); } function doKeyDown(e) { var evt = e || window.event; keybuf[evt.keyCode] = true; //doKeyEvent(); } function doKeyEvent() { var speed = 1.5 ; //THE w KEY if (keybuf[87] == true judge_frontier()) { y = y - speed; if (!judge_frontier()) { y = y + speed; } } //THE s KEY if (keybuf[83] == true judge_frontier()) { y = y + speed; if (!judge_frontier()) { y = y - speed; } } //THE a KEY if (keybuf[65] == true judge_frontier()) { x = x - speed; if (!judge_frontier()) { x = x + speed; } } //THE d KEY if (keybuf[68] == true judge_frontier()) { x = x + speed; if (!judge_frontier()) { x = x - speed; } } } function judge_frontier() { if (x 5 || x 475 || y 5 || y 475) { return false; } else { return true; } } function bullet(startx , starty, cos , sin) { this.bx = startx; this.by = starty; this.speed = 1.0; //this.startx = startx; //this.starty = starty; this.cos = cos; this.sin = sin; this.draw = function() { canvas_context.fillStyle = "brown"; //canvas_context.fillRect(this.bx, this.by, 10, 10); canvas_context.beginPath(); canvas_context.arc(this.bx, this.by,5,0,2*Math.PI,true); canvas_context.stroke(); canvas_context.fill(); } this.move = function() { this.bx = this.bx + this.speed * this.cos; this.by = this.by + this.speed * this.sin; } } function clearCanvas() { canvas.width = canvas.width; } /SCRIPT /BODY /HTML
https://w.atwiki.jp/iggakubugakusi-2/pages/58.html
ここでは、昨今の医学系・生物系の話題を掲載します。 なお、リンク切れの場合もあります。 編集する場合は、新規内容が上部に来るようにしてください。 2009年山口出題ナメクジウオ関連 http //www.bioportal.jp/ja/Column/2008/07/post_25.html http //www.nature.com/nature/journal/v453/n7198/full/nature06967.html Generation of Human Induced Pluripotent Stem Cells by Direct Delivery of Reprogramming Proteins http //download.cell.com/cell-stem-cell/pdf/PIIS1934590909002148.pdf Biomechanical Energy Harvesting Generating Electricity During Walking with Minimal User Effort http //www.sciencemag.org/cgi/content/abstract/319/5864/807 http //science-mag.aaas.org/cgi/content/figsonly/319/5864/807 Visualizing Spatiotemporal Dynamics of Multicellular Cell-Cycle Progression http //download.cell.com/pdfs/0092-8674/PIIS0092867408000548.pdf Complete Chemical Synthesis, Assembly, and Cloning of a Mycoplasma genitalium Genome http //www.sciencemag.org/cgi/content/abstract/1151721 Transgenic Inhibition of Synaptic Transmission Reveals Role of CA3 Output in Hippocampal Learning http //www.sciencemag.org/cgi/content/abstract/1151120 http //www.sciencemag.org/cgi/data/1151120/DC1/1?ck=nck 疾病遺伝子関連 ITPKC functional polymorphism associated with Kawasaki disease susceptibility and formation of coronary artery aneurysms http //www.nature.com/ng/journal/v40/n1/extref/ng.2007.59-S1.pdf 再生医療 足筋肉から培養の細胞シート、心臓に張り機能回復…阪大 http //www.yomiuri.co.jp/science/news/20071214i114.htm?from=main1 iPS細胞関連 Generation of induced pluripotent stem cells without Myc from mouse and human fibroblasts http //www.nature.com/nbt/journal/v26/n1/full/nbt1374.html Induction of Pluripotent Stem Cells from Adult Human Fibroblasts by Defined Factors http //images.cell.com/images/Edimages/Cell/IEPs/3661.pdf
https://w.atwiki.jp/testlink/pages/40.html
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""DTD/xhtml1-transitional.dtd" !-- Japanese Translated by Testing Engineer s Forum (TEF) in Japan, Working Group of TestLink Japanese Translation Project -- html xmlns="http //www.w3.org/1999/xhtml" lang="jp" head meta http-equiv="Content-Type" content="text/html; charset=UTF-8" / meta http-equiv="Content-language" content="jp" / meta name="author" content="Martin Havlat" / meta name="copyright" content="GNU" / meta name="robots" content="NOFOLLOW" / title TestLink Instructions /title style media="all" type="text/css" @import "../../{$smarty.const.TL_THEME_CSS_DIR}testlink.css"; /style script type="text/javascript" src="../../javascript/testlink_library.js" /script /head body div class="workBack" h1 テストケース実行 /h1 h2 目的 /h2 p テストケース実行をユーザに許可します。ユーザはテスト結果をビルドに対してのテストケースに割り当てることができます。フィルタ、設定(セッティング)についてのいろいろな情報については span class="help" onclick="javascript open_popup( ./execFilter.html );" ヘルプ /span を参照してください。 /p h2 やってみましょう! /h2 ol li テスト計画を実行するビルドを決定しなければなりません。 /li li プルダウンからビルドと、ナビゲーションシートの「更新」ボタンを選択してください。 /li li すべてのテストケース、テストスイートを参照するために「テストスイート」をクリックしてください。 /li li テストケースの結果と適切な備考、バグについての情報が表示されます。 /li /ol /div /body /html
https://w.atwiki.jp/semi-blog/pages/13.html
動作確認用のHTMLです。 kiji_updateまでを作成した上でこのHTMLを開いてください。 ※注意:アトスさんの物とはファイル名などが違うので、 混ぜるとえらいことになります。混ぜるな危険。 !DOCTYPE html public "-//W3C//DTD HTML 4.01 Transitional//EN" "http //www.w3.org/TR/html4/loose.dtd" html head meta HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=EUC-JP" title メニュー /title /head body h1 メニュー /h1 p a href="toukou.php" 新規投稿 /a /p p a href="kiji_ichiran.php" 一覧表示 /a /p /body /html
https://w.atwiki.jp/projecthikky/pages/81.html
今日の課題:Canvasの絵を画像ファイルに変換する コード https //paiza.io/projects/E7_CmG4Czd-PcL84lH9kFQ 実行結果 https //out.paiza.io/projects/E7_CmG4Czd-PcL84lH9kFQ/output.html !DOCTYPE html html head title HTML5の練習@ヒッキープログラミングスレ /title style type="text/css" body { background-color silver; } canvas { background-color white; } /style /head body h4 画像ファイルに変換する /h4 canvas id="mycanvas" width="200" height="200" /canvas span png img id="myimg" src="" / /span span jpeg img id="myjpg" src="" / /span span fail img id="myfail" src="" / /span script language="javascript" type="text/javascript" function mydraw() { var canvas = document.getElementById( mycanvas ); var ctx = canvas.getContext( 2d ); ctx.beginPath(); ctx.strokeStyle = red ; ctx.fillStyle = yellow ; ctx.moveTo(10, 60); ctx.lineTo(190, 60); ctx.lineTo(30, 180); ctx.lineTo(100, 10); ctx.lineTo(170, 180); ctx.closePath(); ctx.fill(); ctx.stroke(); try { var png_url = canvas.toDataURL(); document.getElementById( myimg ).src = png_url; } catch (e) { document.getElementById( myimg ).parentNode.appendChild( document.createTextNode( しっぱい ) ); } try { var jpeg_url = canvas.toDataURL( image/jpeg ); if (jpeg_url.match(/^data\ image\/png/)) { document.getElementById( myjpg ).parentNode.appendChild( document.createTextNode( 変換失敗png ) ); } document.getElementById( myjpg ).src = jpeg_url; } catch (e) { document.getElementById( myjpg ).parentNode.appendChild( document.createTextNode( しっぱい ) ); } try { var unko_url = canvas.toDataURL( image/unko ); if (unko_url.match(/^data\ image\/png/)) { document.getElementById( myfail ).parentNode.appendChild( document.createTextNode( 変換失敗png ) ); } document.getElementById( myfail ).src = unko_url; } catch (e) { document.getElementById( myfail ).parentNode.appendChild( document.createTextNode( しっぱい ) ); } } mydraw(); /script /body /html canvas.toDataURL() Canvasの絵を画像ファイル(PNG形式)に変換する、描写の無いとこは透明色になる canvas.toDataURL(m) mで指定した画像ファイル形式(MIMEで指定)に変換する、未対応だとPNG形式になる 変換したURLの冒頭がdata image/pngかどうかで判断できるらしい ブラウザがtoDataURL()に対応してないと例外を投げる(?)
https://w.atwiki.jp/testlink/pages/32.html
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd" !-- Japanese Translated by Testing Engineer s Forum (TEF) in Japan, Working Group of TestLink Japanese Translation Project -- html xmlns="http //www.w3.org/1999/xhtml" xml lang="jp" lang="jp" head meta http-equiv="Content-Type" content="text/html; charset=UTF-8" / meta http-equiv="Content-language" content="jp" / meta http-equiv="expires" content="-1" / meta http-equiv="pragma" content="no-cache" / meta name="author" content="Martin Havlat" / meta name="copyright" content="GNU" / meta name="robots" content="NOFOLLOW" / title TestLink Instructions /title style media="all" type="text/css" @import "../../{$smarty.const.TL_THEME_CSS_DIR}testlink.css"; /style /head body div class="workBack" h1 テストケースを要件に割り当てる /h1 h2 目的 /h2 p ここでの要点は、要件とテストケースの関連付けにあります。テスト設計者は0 nと0 nなどの関連付けを定義することができます。すなわち、要件は複数のテストケースに関連付けたり、関連付けないことが可能です。テストケースも複数の要件に関連付けたり、関連付けないことが可能です。 /p h2 やってみましょう! /h2 ol li 左ブロックのツリー構造からテストケースを選択してください。 要件仕様書リストのコンボボックスがワークエリアの上部に表示されます。 /li li 要件仕様を選択してください。 TestLink は自動でページの再読み込みを行います。 /li li ワークエリアの中央のブロックに選択した仕様書より、テストケースと関係付けられたすべての要件がリストされます。 下のブロックには現在のテストケースと関連付けられていないすべての要件の中から「使用可能な要件」がリストされます。 このテストケースを選択し、「割り当て」ボタンをクリックすることにより、テスト設計者は要件に印をつけることができます。 新規に割り当てされたテストケースは中央のブロックの「割り当てられた要件」に表示されます。 /li /ol /div /body /html
https://w.atwiki.jp/wicky/pages/5.html
HTML
https://w.atwiki.jp/pspt/pages/213.html
HTML CSS HTMLはウェブサイトの文章構造を担当し、CSSはウェブサイトの見た目(スタイル)を担当します。これらを十分に使いこなせれば有料ソフトウェアに頼ることなくウェブサイトを作成することができます。 HTML CSS 参考ホームページ作成のヒント 応用編 参考 ホームページ作成のヒント 1時間で作るホームページ HP作成の手引き Notepad++ お勧めのテキストエディタ FFFTP お勧めのFTPソフト bgMaker 背景画像作成ツール カラーコード表 カラーコード一覧 MetroUI ColorChart Windows8ライクのカラーチャート iOS 7 colors iOS7ライクのカラーチャート 応用編 ホームページ(HP)に,数式をTexLikeに書く方法 Mathjaxの紹介
https://w.atwiki.jp/vipkohaku2021/pages/115.html
404 この作品はまだ公開先が登録されていないようです 作者さんの手によって登録されるまで待ちましょう TOP
https://w.atwiki.jp/javadsge/pages/2589.html
html head script src="http //vuejs.org/js/vue.min.js" /script script src="sample.js" /script /head body onload="sample()" div id="demox" p {{mes}} /p input v-model="mes" /div /body /html function sample(){ var den = new Vue({ el #demox , data { mes js } }) }