タグ

2011年2月7日のブックマーク (6件)

  • Datepicker | jQuery UI

    The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.

  • stanlemon.net : jgrowl

    jGrowl is a jQuery plugin that raises unobtrusive messages within the browser, similar to the way that OS X's Growl Framework works. Example Usage and Samples: // Sample 1 $.jGrowl("Hello world!"); // Sample 2 $.jGrowl("Stick this!", { sticky: true }); // Sample 3 $.jGrowl("A message with a header", { header: 'Important' }); // Sample 4 $.jGrowl("A message that will live a little longer.", { life:

  • 超カッコいい確認ダイアログをjQueryで実装するチュートリアル:phpspot開発日誌

    How to Create a jQuery Confirm Dialog Replacement | Tutorialzine 超カッコいい確認ダイアログをjQueryで実装するチュートリアル 普通、ダイアログというと javascript の confirm とか、その他 jquery プラグインを使って実装されるものが多いですが、これまで見たなかでもかなりのカッコよさのダイアログ実装チュートリアルです。 サンプルのダウンロードも可能。 一見全て画像のようにも見えますが、CSS3を使って綺麗にデザインされています。 ここら辺もこだわりたいという方は参考にしてみるとよさそう。 関連エントリ 効果音付きでアニメーションするクールなダイアログ実装jQueryプラグイン「Float Dialog」 その場でポップアップするクールな確認ダイアログ実装用jQueryプラグイン「jConfirmAc

  • jQuery plugin: ‘autoResize’ - James Padolsey

    I remember googling for something of this nature a while ago but all I found were countless attempts using the cols and/or rows attribute of the textarea, thus making it pretty useless if you weren’t using a fixed-width font. Inspired by Jason Frame’s method, I’ve created an animating ‘autoResize’ jQuery plugin. Although it was inspired by his plugin it has a few slight differences, most notably t

  • PHP5、PHPエラーを例外(Exception)へ変換 - goungoun技術系雑記帳

    ネタ元は↓こちら。 【Alex@Net】try/catch構文を用いてPHPコアで注意や警告を扱う方法 - PHPプロ!ニュース: http://www.phppro.jp/news/185 PHP5で例外(Exception)が使えるようになった。 PHPエラー(NOTICEとか)を例外へ変換することで、PHPに関する全てのエラーを 例外として扱うことができる。 ネタ元では、PHPエラーが発生したファイル名、行番号を Exception へ変換する処理が無いので、これを実装することを考えてみた。 流れは次の通り。 PHPエラー ↓ PHPエラーハンドラへ ↓ PHPエラーを MyException に変換して throw 以下参照しました。 PHP: 例外(exceptions) - Manual: http://jp.php.net/manual/ja/language.excepti

  • PHPの例外処理 - CODE NAME: TUNE34

    私が普段使用しているモジュールの中で素で例外を投げてくれるのはデータアクセス抽象化レイヤの「PDO(PDOException)」だけなのが寂しいですが、ライブラリを自作する時に例外処理の拡張をどうしようかなと考えた事をメモします。 PHPの例外処理に関しては第28回PHP勉強会のd:id:yandodさんの発表資料「PHP5再入門「例外処理の正しい利用について」 - yandod's blog」が丁寧で分りやすく参考にさせて頂きました。(発表聞きたかったなぁ) また、PHPマニュアルに例外の拡張に関して詳しく内容が書いてありますので併せて参考にしました。 例外を拡張する 組み込みの Exception クラスを拡張することで、例外クラスをユーザーが 定義することが可能です。以下のメンバーおよびプロパティは、 組み込みの Exception クラスから派生した子クラスの中でアクセス可能です。

    PHPの例外処理 - CODE NAME: TUNE34