タグ

jQueryに関するlockcoleのブックマーク (41)

  • Greasemonkeyの0.8が出ましたね - natu_nの日記

    いくつか新しい機能が増えてるのだけれど、@resourceが激しく便利 @resource Value: String Compatibility: Greasemonkey 0.8.0+ Usage: // @resource resourceName http://www.example.com/resource.png * While the resourceName is non-semantic, it is suggested that it should be compatible with JavaScript variable naming conventions and XML/CSS naming conventions to help keep things consistent. * Each resourceName must have a unique nam

    Greasemonkeyの0.8が出ましたね - natu_nの日記
    lockcole
    lockcole 2008/06/14
    Google AJAX Libraries API + Greasemonkey 0.8 の@resource で何処でもJSライブラリロード。jQueryのプラグインもGoogleに乗ってくれたら便利そうだ。
  • jQuery

    554% Test Suite Overhaul This is very big news – and should be especially so to most developers out there. The jQuery test suite has been completely re-tooled and improved from the ground up for stability. A brand new swath of Animation and Ajax tests have been integrated bringing jQuery’s total test count to over 800 tests! Additionally, the test suite completely passes with no errors in all the

    lockcole
    lockcole 2007/08/25
    jQuery 1.1.4がリリース。1.1.3からさらに速度向上。特にFirefox 2のセレクタ指定の速度向上はかなりすごい。その他.slice()メソッドや:has()セレクタの追加も。
  • jQueryのcompressed版は重い | ぷろじぇくと、みすじら。

    Androidの端末を使う際に何らかの事情(とは)でMoreLocale 2というアプリを使用して言語設定を日語に設定することがあります。 ところが設定しても再起動やユーザースイッチすると言語が英語に戻されてしまうという問題が発生しました。この現象自体は割とよくあるようです。 とはいえ不便なので試行錯誤したところ手元の環境ではMoreLocale 2で日語に設定した後、第二言語設定にEnglishを追加したところ戻らなくなりました。もしこの現象で困っている人は試してみるともしかしたらうまくいくかもしれません。というメモです。 KumoDictionary というライブラリーを公開しました。 mayuki/KumoDictionary - IDictionary in the Cloud - Simple NoSQL/KVS wrapper for .NET このライブラリは何かというと

    lockcole
    lockcole 2007/07/28
    packが入り組みすぎていて逆に解析時間を食っているという指摘。帯域を節約するか,CPUリソースを節約するか。あるいは無圧縮+gzip転送か。IE・・・ブラウザによっても変わってくるのかな。
  • Highlighting Hard Coded Active Links with jQuery

    When using Drupal's menu system for linking pages on your site the corresponding menu link gets the CSS class active when the referred page is being displayed. To make use of this to improve a site's usability you can highlight this link by assigning a different color, background color, etc. Drupal's l() function also takes care to add the active class to currently displayed links. On this site I

    lockcole
    lockcole 2007/07/23
    現在のページURLと同じURLを指すメニューアイテムにclass=activeを設定する処理を,サーバサイドのl()関数からクライアントサイドのjQueryに委譲することで,DBクエリ数の軽減とパフォーマンス負荷分散を図るやり方。
  • [ThinkIT] 第2回:jQueryライブラリの内部とonloadイベント記法 (2/2)

    HTML中のscript要素に記述したJavaScriptは、ページ全体のブラウザー描画が完了する前でも、そのscript要素が登場した時点でJavaScriptコードが実行されます。そのため、document.write()メソッドでHTMLを出力すると、内部的にはそのscript要素の直後にHTMLが追記されるわけです。 しかし、DOM操作を行うコードなど、ページ全体の描画が完了してDOMツリーが完成した後で初めて実行させたい場合もあります。そのような場合は、onloadイベントを利用して、ページの描画が終わった後で実行されるJavaScriptコードを定義する必要があります。 従来型のonloadイベント呼び出しの定義方法は、body要素のonLoad属性にJavaScriptコードを埋め込むものでした。 しかし、これではJavaScriptコード中にダブルクオートも使えないほか、H

    lockcole
    lockcole 2007/07/18
    DOMロード直後にonload関数を実行するアクセラレータをjQueryは内包しており,通常通り$(function(){~~})記法を使えばOKとのこと。すばらしい。
  • jFeed: JavaScript jQuery RSS/ATOM feed parser plugin - jfhovinne

    2007-07-15 I needed a lightweight JavaScript feed parser based on jQuery and couldn't find one, so I wrote jFeed yesterday. Thanks to jQuery, it was quite easy and fun to do. jFeed currently parses RSS 0.91, 0.92, 1.0, 2.0 and Atom 1.0 feeds. Usage: jQuery.getFeed(options); options: * url: the feed URL (required). * data: data to be sent to the server. See jQuery.ajax data property. * success: a f

    lockcole
    lockcole 2007/07/17
    RSS/ATOMフィードをparseしてくれるプラグイン。MIT/GPLのデュアルライセンス。フィードの仕様による属性値の差異は吸収されて,シンプルなfeedオブジェクトを生成するみたいだ。面白い使い方ができそう。
  • EasyDrag jQuery Plugin by fromvega.com

    16/07/08 UPDATE: A new beta version is now available with some bug corrections. Thanks to Randy for the useful feedback! 29/06/08 UPDATE: Handler feature added! Finally I decided to add a little piece of extra functionality to the EasyDrag plugin. It has been constantly requested, so now you can download and test it. I will be releasing it as a final version after some feedback, so please let me

    lockcole
    lockcole 2007/07/17
    div要素のドラッグ&ドロップをかんたんに実現するjQueryのプラグイン。ondrag,ondropイベントにハンドラを指定して処理させることができる。動きはとてもスムーズ。
  • 【ハウツー】ゼロからはじめるThickBox 3 - 画像もHTMLファイルもスイスイ表示 (1) ゼロからはじめるThickBox 3 - 画像もHTMLファイルもスイスイ表示 | パソコン | マイコミジャーナル

    ThickBox 3とは? ThickBox 3はAjax(非同期通信処理)を利用して画像を表示するライブラリです。同じようなライブラリとしてはLightbox)が有名ですが、Lightboxはprototype.jsライブラリを利用しているのに対し、ThickBox 3はjQueryライブラリを利用しています。ThickBox 3の画像は単独の表示だけでなく、複数画像をグループ化してスライドとして表示させることもできます。また、画像だけでなくHTMLファイルなども表示させることができるので、いろいろ応用できそうです。Lightboxと比べてもThickBoxの方がプログラムサイズがコンパクトなことも魅力です。 ThickBox 3の大きな特長としてスクリプト(プログラム)を記述しなくてよいという点があります。つまり、全くプログラムが分からない人手も気軽に使うことができます。ThickBo

    lockcole
    lockcole 2007/07/15
    jQuery版Lightboxの「ThickBox 3」の解説。ダウンロードから使い方,グループ化の方法,日本語化について,HTMLページを読み込ませる方法について,角丸にする方法など,充実した内容。
  • jQuery Update | Drupal.org

    Upgrades the version of jQuery in Drupal core to a newer version of jQuery. Drupal 5 jQuery - 1.2.6 - No longer officially supported Drupal 6 jQuery - 1.3.2 - No longer officially supported Drupal 7 jQuery - 1.5.x, 1.7.x, 1.8.x, 1.9.x, 1.10.x, 2.1.x jQuery UI - 1.10.2 Instructions Install and enable the module Check the Status report page to verify jQuery is updated Project informationModule categ

    lockcole
    lockcole 2007/07/13
    Drupalに同梱されているjQueryのバージョンを更新し,同時にjQuery APIの変更に対応して依存するファイル(fieldset折りたたみ機能など)をfixしてくれるモジュール。
  • Postal Search APIs & Solutions ブログ: Favicon Plugin for jQuery 1.1.2

    2007-07-05 Favicon Plugin for jQuery 1.1.2 指定した URL からそのサイトの favicon (ファビコン) を表示する jQuery プラグインです。サイトによって favicon があったりなかったりしますが、Favicon Plugin は favicon が見つかったときだけ表示するようにしています。 http:// からはじまる任意の URL を指定できます。その URL からプロトコルとホスト名を切り出して favicon.ico の URL を組み立てます。ですので、相対パスは対応していません。 Favicon Plugin は img タグを操作することを前提としています。favicon.ico の URL を設定し、そのサイズを 16 × 16 としています。 はじめは非表示としておき favicon のロードが完了したとき表示

    lockcole
    lockcole 2007/07/13
    リンク先URLのfavicon.icoを取得して表示するjQueryを利用したスクリプト。ルートディレクトリにfavicon.icoが置かれているサイト限定になるかな。シンプルだから動作はそんなに重く無さそうな感じ。
  • owata checkbox

    オワタcheckbox(with jQuery) 予定されたタスク1 予定されたタスク2 予定されたタスク3 予定されたタスク4 予定されたタスク5 ソース --- owata3.js --- /* ----------------------------- 1. jqueryとこのjsを読む 2. 使いたいチェックボックスに class="owata" を指定する 3. チェックボックスのinput要素はlabelの中に置く ex: <label><input type="checkbox" class="owata">hoge</label> ----------------------------- */ $(function(){ $("input.owata").each(function(){ $(this).parent().append('<span class="owat

    lockcole
    lockcole 2007/07/12
    チェックを入れたら「\(^o^)/」を表示するサンプル。jQueryを使っている。くだらないけどおもしろいw jQueryで書けばかなりシンプルなこともわかる。
  • jQuery 1.1.3 リリース♪ - みかログ

    jQuery 1.1.3 がリリースされた. jQuery 1.1.3: 800%+ Faster, still 20KB スピード向上はとてもうれしいけど,それだけじゃなくてセレクタの強化も便利そう. $("div.台北") みたいなユニコード対応も便利になったし $("div#foo\.bar") のエスケープ対応は,既に書いたHTMLに対してjQueryを使うときに便利そう. (今まではHTML側を直さなきゃならなくて不便だった(^^;) 極めつけは $("div:nth-child(2n)") $("div:nth-child(2n+1)") がすごい.表をしましま模様にするのとか簡単に書けそう.

    jQuery 1.1.3 リリース♪ - みかログ
    lockcole
    lockcole 2007/07/08
    $("div:nth-child(2n+1)")でテーブル縞模様を簡単に実現できる。そうそう,その辺がすごいと思った。
  • jQuery: » jQuery 1.1.3: 800%+ Faster, still 20KB

    A couple things to notice when looking at the speed suite results are that: We’re over 800% faster than we were in jQuery 1.1.2. We’re the fastest framework in the most popular browser, Internet Explorer 6. We’re the only framework that doesn’t give incorrect results. And all of this comes at no expense to you — jQuery is still the same 20KB that you’ve come to expect and enjoy. New Selectors Unic

    lockcole
    lockcole 2007/07/02
    jQueryが1.1.3にバージョンアップ。大幅なDOM高速化を果たしたほか,Unicodeセレクタに対応,NOT指定セレクタ,nth-child()の引数に(2n+1)などの指定ができるように,それからis関数が複数セレクタ対応,サイズは圧縮版で20KB維持。
  • jCarouselLite - Project

    jCarousel Lite is a jQuery plugin that carries you on a carousel ride filled with images and HTML content. Put simply, you can navigate images and/or HTML in a carousel-style widget. It is super light weight, at about 2 KB, yet very flexible and customizable to fit most of our needs. As if that wasn't enough, the best part is yet to come... You don't need any special CSS file or class name to get

    lockcole
    lockcole 2007/06/29
    回転台を回すように写真を次々とスライド表示してくれるjQueryのプラグイン。エフェクトが凝っている。軽量なところも売りみたい。
  • 地道に引きこもりしてます - file-glob こと k.daibaの日記

    jquery plugin json for jqueryやGlen Hinkle (tempire)が気に入らなかったので自分で作ってみました.何が気に入らないかというと,cpu使用率が100%になったりIEで動かなかったりしたからです.json for jqueryをベースにしてみました. $.json = {script: ''}; $.fn.json = function( url, callback ) { var noCacheIE = '&noCacheIE=' + (new Date).getTime(); var script = document.createElement('script'); load( url.replace( /{callback}/, callback ) ); return this; function load( url ) { if ($

    地道に引きこもりしてます - file-glob こと k.daibaの日記
    lockcole
    lockcole 2007/06/29
    Cometクライアント用のJavascript。jQueryのプラグイン形式。
  • http://bizcaz.com/archives/2007/06/22-171010.php

    lockcole
    lockcole 2007/06/28
    Prototype.jsとjQueryをかんたんなAjax処理コードで比較。最初の比較,onComplete で呼ばれるfunctionの書き方に若干アンフェアなところがあるけども,それでもjQueryの方がシンプルになってるのがわかる。
  • rikrikrik: pager jQuery plug-in

    <div id="example1"> <div><p>Lorem ipsum...</p></div> <div><p>Donec ultricies...</p></div> </div> Donec ultricies lectus. Cras nonummy, enim ac iaculis blandit, diam quam accumsan diam, ut faucibus nisi lorem non est. Proin convallis. Fusce malesuada lectus sed dui. Curabitur nec massa a arcu ullamcorper tincidunt. Nulla mattis, orci a tincidunt sollicitudin, orci eros porta tellus, lobortis ali

    lockcole
    lockcole 2007/06/27
    ページ分割ができるjQueryのプラグイン。ブロック要素を指定して子ブロック要素を分割するスタイル。コントロールのためのオプションがいくつかある。
  • TripleSEO • Site Beginner

    The blog tripleseo.com has been acquired by sitebeginner.com. Its best and archived contents are kept alive as sub-pages of sitebeginner.com/tripleseo/ Sitebeginner.com is not responsible for the factual accuracy or anything else pertaining to the archived TripleSEO contents posted under sitebeginer.com/tripleseo/ About TripleSEO.com: TripleSEO, founded in 2011, by Chris Dyson and was a well regar

    lockcole
    lockcole 2007/06/25
    テーブルのセルごとに編集し,結果を保存するインタフェースを提供してくれるjQueryのプラグイン。セルをクリックするとtextareaフィールドに変換され,保存ボタンが出現する。データ編集用のUI作りに役立ちそう。
  • jQuery columnManager plugin demo page

    Example zero (all-in-one): create the column header list inside the element with the ID "targetone"define on and off classes for the column header list don't include the last two columns in the listsave the visibility state informations for the next visit hide the columns one and three by defaulttoggle the columns through the three buttons use custom show/hide functions when using the buttons

    lockcole
    lockcole 2007/06/25
    テーブルの列を動的に表示・非表示切り替えできるjQueryのプラグイン。列のコントロールができて何がうれしいか最初はわからなかったけど,MP3タグ編集とか,DBテーブルのAjax編集UIとか,使い道は広そう。
  • jCalendar: A jQuery Based Calendar Goes The Drupal Way | Ventanazul

    lockcole
    lockcole 2007/06/23
    日付挿入をかんたんにできるjQueryのプラグイン,jCalendarをDrupalで使えるようにするモジュールの開発。