Home > Projects | JavaScript > Selection.js

Selection.js

  • 2008-10-03 (金) 11:22
  • hatena button
  • hatena count
  • save this page del.icio.us

Introduction

選択文字列を取得、置換する JavaScript Library です。

このライブラリの特徴は以下の通りです。

  • 選択文字列が取得できる。
  • キャレット位置の保存タイミングを任意に設定できる。
  • 選択文字列を任意の文字列で置換できる。
  • 選択文字列の両端に任意の文字列を挿入することができる。
  • prototype.js ベース(1.6 以降)。
  • クロスブラウザ (IE6 以降, Firefox2 以降, Safari2 以降, Opera9 以降, Google Chrome0.2以降)

アーカイブに一緒に入っている simple_editor.js も selection.js と同様のライセンスです。

Demo

http://imishin.com/demo/selection_js/sample/usage.html

Download

こちらからダウンロードして下さい。

参考

Home > Projects | JavaScript > Selection.js

Calendar
« 2010 年 9月 »
M T W T F S S
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
ページ
ブログパーツ

Return to page top