タグ

javascriptに関するtckzのブックマーク (9)

  • Ext 2.2 - API Documentation

    Introduction The documentation for the ExtReact product diverges somewhat from the documentation of other Sencha products. The sections below describe documentation for all products except where indicated as unique to ExtReact. Terms, Icons, and Labels Many classes have shortcut names used when creating (instantiating) a class with a configuration object. The shortcut name is referred to as an ali

    tckz
    tckz 2008/09/03
    extjs ext.js のリファンレス
  • JavaScriptでファイルの書き込みをUTF-8で行う(htaまたは、wsh用) - jiroの日記

    Windowsデフォルトの機能だけで、ファイルの読み書きを行いたい場合にはhtaやwshを使う必要があります。一般的に知られているのはFileSystemObjectというActiveXObjectを生成して、そのオブジェクトを通してファイルの読み書きを行うのですが、これが自由度が少なく、Shift_JISでしか扱ってくれません。 ADODB.Streamなら他のエンコーディングも扱える いろいろググって見るとADODB.Streamというのが使えるらしい。じゃあ簡単だと思いやっつけで書いてみたら書き出せた。 と思っていたらBOMに悩まされる なんかエディタの挙動が違うなぁと思っていたら、なんかUTF-8(BOM)とか書いてあります。何じゃこれってことで調べてみるとUTF-8の場合、ファイルの最初に3バイトにByte Order Markというものがついていて、それが悪さをしているらしい。

    JavaScriptでファイルの書き込みをUTF-8で行う(htaまたは、wsh用) - jiroの日記
    tckz
    tckz 2008/05/15
    ADODB.Streamでエンコード変換、のBOMを取り除く話
  • ADODB.Stream を使ったファイルの読み書き - by AOK

    AOK's JavaScript Library IE6.0 (Win2000/XP) で動作確認しています。 /* StreamTypeEnum Values */ var adTypeBinary = 1; var adTypeText = 2; /* LineSeparatorEnum Values */ var adLF = 10; var adCR = 13; var adCRLF = -1; /* StreamWriteEnum Values */ var adWriteChar = 0; var adWriteLine = 1; /* SaveOptionsEnum Values */ var adSaveCreateNotExist = 1; var adSaveCreateOverWrite = 2; /* StreamReadEnum Values */ var ad

    tckz
    tckz 2008/05/15
    ADODB.Streamでjavascript内でエンコード変換(win限定) / そんな手が・・
  • ESCキーの入力を検出するJavaScriptがあれば教えてください。…

    ESCキーの入力を検出するJavaScriptがあれば教えてください。 要するに実現したいのは、IEでテキストエリアに入力中に(IME確定後の)ESCで入力内容がクリアされてしまいますが、これを防ぎたいのです。ようは半角/全角キーの押し間違え防止対策です。(ESCはreset扱いのようですので) ちなみにformタグでonResetイベントを発行しその中でconfirmすれば最悪カーソルのあるカレントの入力フィールド以外のクリアを(ワンクッションおくことで)防ぐことができますが、カレントのエリアは残念ながら消えてしまいます。 IME状態で消えてしまうのは仕方ないとしてIME確定後にカレントのフィールドも消さない方法があればそちらでも結構です。 IE使わないでFireFoxにしろとか、エディタに下書きしてからペーストすればとか、何か他のソフトをインストールさせて防ぐとか、常にctrl+Aとc

    tckz
    tckz 2007/11/13
    javascriptのonkeyup等でESCキーはkeyCode == 27
  • Home — scriptaculous — GitHub

    This repository is private. All pages are served over SSL and all pushing and pulling is done over SSH. No one may fork, clone, or view it unless they are added as a member. Every repository with this icon () is private. This repository is public. Anyone may fork, clone, or view it. Every repository with this icon () is public.

    tckz
    tckz 2007/10/18
    Sortable初期化の説明。ドラッグ中にウィンドウ全体を追随してスクロールさせるには、{ scroll: window }を指定。
  • Site Temporarily Unavailable

    We apologize for the inconvenience. Please contact the webmaster/ tech support immediately to have them rectify this. error id: "bad_httpd_conf"

    tckz
    tckz 2007/07/25
    flashを使ったファイルアップロードI/F。複数ファイルが選べてプログレス表示あり。カスタマイズいろいろ。
  • script.aculo.us リファレンス

    script.aculo.usはAjaxライブラリの1つです。現在のバージョンは1.8.3です (2010.8.21時点)。このバージョン1.8.3はprototype.jsのバージョン1.6.1以降で動作します。 version 1.6.4 リファレンス version 1.6.5 リファレンス version 1.7.0β1 リファレンス version 1.7.0 リファレンス version 1.7.1β1 リファレンス version 1.7.1β2 リファレンス version 1.7.1β3 リファレンス version 1.8 pre1 リファレンス version 1.8.0 リファレンス version 1.8.1 リファレンス version 1.8.2 リファレンス version 1.8.3 リファレンス

  • prototype.js リファレンス

    prototype.jsはAjaxライブラリの1つです。現在のバージョンは1.6.0です(2007/11/8)。prototype.jsについて、より詳細に知りたい方はprototype.jsの開発者メモを参照してください。また、英文ドキュメントであれば正式なリファレンスもprototype.jsのサイトで用意されています。 version 1.4.0 リファレンス version 1.5_rc0 リファレンス version 1.5_rc1 リファレンス version 1.5_rc2 リファレンス version 1.5.0 リファレンス version 1.5.1_rc1 リファレンス version 1.5.1_rc2 リファレンス version 1.5.1_rc3 リファレンス version 1.5.1 リファレンス version 1.5.1.1 リファレンス versio

  • Handling Keyboard Shortcuts in JavaScript

    Despite the many JavaScript libraries that are available today, I cannot find one that makes it easy to add keyboard shortcuts(or accelerators) to your javascript app. This is because keyboard shortcuts where only used in JavaScript games - no serious web application used keyboard shortcuts to navigate around its interface. But Google apps like Google Reader and Gmail changed that. So, I have crea

    tckz
    tckz 2007/04/20
    キーボードショートカット。使い方シンプル
  • 1