Code Archive Skip to content Google About Google Privacy Terms
simplyScroll v2 a flexible jQuery content scroller with touch support Home » jQuery » simplyScroll This plugin is now legacy and is mostly unsupported! Core functionality still works, but all features described may not work as intended or at all, please use at your own risk! simplyScroll is a scroll-tastic jQuery plugin that can animate (scroll) content either automatically or manually, horizontal
長〜いulリストを1行で複数行に分割できるjQueryプラグイン「Multi-column lists」 2011年02月03日- Multi-column lists | jQuery Plugins 長〜いulリストを1行で複数行に分割できるjQueryプラグイン「Multi-column lists」。 <ul><li>1</li><li>2</li> ....... </ul> と、長い ul リストを、jQuery("ul").columns(5, true);のようにすることで、5行に勝手に分割してくれます。6行にしたければ6を指定 次のようになります。 通常これをやろうとすると、数値で割って、規定値にきたら一旦</ul>で閉じてみたいなことをする必要がありますね。 これをたった1行で出来るというのはかなりHTML出力側のプログラムが楽ちんになり、頭を使う必要がないですね。 行
twitter facebook hatena google pocket スマートフォン時代に、これいいかもしれません。 マウスオーバーでリンクが読み込めるQRコードを表示させられるjQueryプラグイン「QR Tooltips for jQuery」です。 sponsors 使用方法 QR Tooltips for jQueryからファイル一式をダウンロードします。 <link href="qrtip-1.0-jquery.css" rel="stylesheet" /> <script src="jquery-1.4.4.min.js" type="text/javascript"></script> <script src="qrtip-1.0-jquery.js" type="text/javascript"></script> <script> $(function () {
This page contains a collection of minor jQuery plugins which are too small, too simple, or just not exciting enough to require individual pages. More will be added as I find the time… and the code! jQuery :attached, :detached selectors - Selectors that match elements currently attached to or detached from the DOM. jQuery each2 - If you’re going to use $(this) inside an .each loop, iterating over
This jQuery plugin automatically shortens single-line text to fit in a block or pre-set width while you can configure how the text ends (ellipsis). The default is an is the triple-dot character '...' but you can use anything you want, including markup. If you're looking for CSS3 text-overflow functionality this plugin implements it, and more.
jQuery UI の tabs や accordion といったウィジェット系プラグインでは、専用のプラグイン定義関数 $.widget でプラグイン定義することで、一環性のあるプラグイン API を利用者に提供しています。 今回は、$.widget を使ったプラグインの定義方法について調べてみました。 ui.core.js の入手 $.widget は jQuery UI の ui.core.js というソースファイル内に定義されてます。 公式サイト(http://jqueryui.com/download)よりプラグイン一式をダウンロードし、zip ファイルを解凍すると、以下パスに ui.core.js があるので、これを読み込み $.widget を使用できるようにします。 jquery-ui-1.7.2.custom/development-bundle/ui/ui.core.j
“There are only two hard things in Computer Science: cache invalidation and naming things” だそうです。そういう訳で、jQueryプラグインのメソッド名が他のプラグインと衝突するのを回避するための設計方法を列挙してみた。今のところ、一番下の方法が自分的にはしっくり来ている。 [2011.02.02追記] 2011年はsub()方式がおすすめです。 jquery.myplugの基本形。基本的に$.fn.extend()は使わない方針。 /** * jquery.myplug基本形 * * SYNOPSIS * * $('#target').myplug(); * $('#target').myplug({param1 : val1, param2 : val2}); */ ;(function($)
A jQuery plugin is simply a new method that we use to extend jQuery's prototype object. By extending the prototype object you enable all jQuery objects to inherit any methods that you add. As established, whenever you call jQuery() you're creating a new jQuery object, with all of jQuery's methods inherited. The idea of a plugin is to do something with a collection of elements. You could consider e
Ok, maybe they won't exactly “Rock Your World” but they might completely change the way you look at your jQuery development. At the very least, I hope thisOk, maybe they won’t exactly “Rock Your World” but they might completely change the way you look at your jQuery development. At the very least, I hope this simple technique will help you build clean, reusable and extendable front-end code. A Qui
jQuery plugins come in all shapes and sizes. They perform very simple or very complex tasks depending on their intended use. When it comes time for you tojQuery plugins come in all shapes and sizes. They perform very simple or very complex tasks depending on their intended use. When it comes time for you to design your own plugin, its really important to understand what patterns other developers u
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く