タグ

selectに関するchorinskyのブックマーク (4)

  • Select Cuts Off Options In IE (Fix) | CSS-Tricks

    DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit! I think the problem is fairly obvious here. If you set a static width on the <select> element and the width of the text in the <option> are wider than that, the text gets cut off in IE 6-8. There is no good pure-CSS solution for this that I can come up with or find. It has been tackled with

    Select Cuts Off Options In IE (Fix) | CSS-Tricks
  • jQuery UI Multiselect

    Another attempt of a sortable, searchable multiple select widget It depends on jQuery 1.5 and jQuery UI 1.8. The widget is styleable using Themeroller. It works in an unobtrusive fashion, by just turning html multiple select inputs into a sexier equivalent. There's no extra markup needed. For installation instructions please have a look at the corresponding blogpost Source code is available at Git

    chorinsky
    chorinsky 2011/03/26
    便利~♪
  • mserver.c

    /* * mserver.c - Example of Multi Client Server * */ #include #include #include #include #include #include /* selectシステムコール */ #include #define PORT 8765 /* サーバーが使うポート番号 */ #define SOCK_MAX 5 /* 最大ソケット数をここで決めた (最大32)*/ #define UNUSED (-1) char *Modification(char *str, int length); int main() { int s[SOCK_MAX + 1]; /* array of socket descriptors */ int max = 0; /* max num of used socket */ in

  • select / poll システムコール

    ○ はじめに block.c ではブロック I/O を実装してみました。この場合、read や write でブロックしない様にするためには、O_NONBLOCK 指定でデバイスファイルを開く必要があります。 ところで多くのユーザプロセスでは、I/O 時にブロックしてしまわない様に select や poll といったシステムコールを使って、ブロックせずに I/O を実行することができるかどうか調べてから I/O 処理を行っています。 ここでは、block.c を改造して select / poll システムコールに対応させてみましょう。 サンプルプログラム サンプルプログラムの説明 ○ サンプルプログラム select / poll システムコールに対応したサンプルプログラム poll.c です。 はじめに のページから、 全てのサンプルプログラムを 固めた tar ボールをダウンロー

  • 1