2011-09-06から1日間の記事一覧

2011年09月06日のツイート

window.twttr = (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {}; if (d.getElementById(id)) return t; js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.paren…

Stackサンプルコード

リンクリストを利用したStackデータ構造操作のサンプルコードstack.html <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Stack Sample</title> <script type="text/javascript" src="./Stack.js"></script> </head> <body> </body></html>

Stackサンプルコード

コード改善 画面に固有の処理と汎用的に使用できるStack処理に分離。 画面固有の処理はhtmlのheadに書いてしまう。stack.html <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Stack Sample</title> </meta></head></html>