次期HTMLの標準規格として提案されるべく策定が進められている「HTML 5 Working Draft」だが、同規約にはWebアプリケーションの可能を引き上げる可能性を持った要素「The Canvas Element」が含まれている。The Canvas Element(以下、Canvas)はJavaScriptから直接2Dイメージを描画するための2Dビットマップサーフェス要素。もともとは「Web Applications 1.0 - Working Draft」において規定されてきた要素だが、HTML 5において検討されるようになったことから、将来的にHTML標準の要素になる可能性が出てきた。 Canvasを使うとFlashやJavaを使わなくともWebページにイメージ描画が実現できる。まだ標準仕様になっているわけではないが、すでにFlog.RayTracer Canvas、Color
The simplest draw editor to your forms Next is a example of how to use it, how it works and what is the result. With this we hope you'll understand the entire picture.お絵かきキャンバスを提供するJavaScriptライブラリ「InputDraw」。 次のようにキャンバスの上にドラッグ&ドロップでお絵かき機能を実装できます。 必要なJavaScriptライブラリを読み込んで、キャンバスの幅/高さ、背景画像を指定して初期化するだけ。 お絵かき結果はSVGで取得することが可能です。 この機能を使ってお絵かき掲示板的なものを作ったりできそうですね。
イメージ切り抜きのためのインタフェースを提供するJavaScriptライブラリで、prototype.jsやscript.aculo.usを使っています。 写真上をマウスカーソルでドラッグすると枠が破線で作成され、囲んだ領域の座標とサイズを取得し、トリミングすることができます。カーソルキーによる移動にも対応しているので微調整も可能、実にすごい。 詳細は以下の通り。 ダウンロードは以下から。 DEfusion.org.uk >> JavaScript Image Cropper UI, using Prototype & script.aculo.us デモは以下から。実際にドラッグして切り抜きを体験できます。 DEfusion.org.uk >> Demo >> Prototype JavaScript Image Cropper UI 操作感覚が通常のアプリケーションとほとんど差異がない
WEB上で動作するJavaScriptで書かれたviエディタ WEB上で動作するJavaScriptで書かれたviエディタ。 エディタフィールドにカーソルを合わせるとviエディタが起動します。 まさにviそのままの操作で文字列の編集が可能になります。 プログラマ向けのサイトなんかでこういう仕組みを採用すると受けがよさそうですね。 vi.css, vi.js のようにソースが分離されているようで、実装も簡単そうです。 ソースを解析するのも楽しそうですね。 ブラウザで動作するEmacsもあります。
Edit Area Here is EditArea, a free javascript editor for source code. (That is no way a WYSIWYG editor). This editor is designed to edit souce code files in a textarea. The main goal is to allow text formatting, search and replace and syntax highlight (for small text).ブラウザ上で動作するソースコードエディタ『Edit Area』。 エディタ自体はJavaScriptによって実装されていて、編集対象の言語はPHP, CSS, JavaScript, Pythonに対応しています。 ブラウザ上でWYSIWYGにHTMLを編集でき
quickedit by ZEROBASE'+b.innerHTML.replace(/&/g,'&').replace(//g,'>').replace(/"/g,'"')+'');var t=x.getElementById('t');t.onchange=t.onkeyup=function(){b.innerHTML=t.value;};}())">[HTML編集] このリンクをブラウザのブックマークバーにドラッグ&ドロップするなどにより登録してください。 使い方 編集したいページで上記ブックマークレットを実行します。ためしに上記リンクをクリックしてみてください。 テキストエリア内にHTMLが表示されますので、それを編集してください。変更が即座に反映され、もとのウィンドウが書き換わります。 書き換えているのは、ブラウザのメモリ上のHTMLです。サーバには何の影響もありません。 便利
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く