jQueryを使うとWebサイト上にいろいろな仕掛けを簡単に組み込むことが出来ます。
実装方法はさまざまですが、知っておくと便利なよく使うfunctionをまとめた
jQuery4uの「jQuery Function Demos」コンテンツが便利そうだったのでメモ書き程度に紹介します。
jQuery Function Demos | jQuery4u
≫jQuery Function Demos | jQuery4u
紹介されているfunctionのデモはカテゴリーに分かれて、
以下の様なものが紹介されています。
————————————————————————————————————
・Animations & Effects
.animate()
setInterval() and clearInterval()
setTimeout() and clearTimeout()
.slideToggle()
.fadeToggle()
.delay()
・jQuery DOM Manipulation
.css()
.addClass()
$.toggleClass()
.html(), .text() and .empty()
.append(), prepend(), .after() and .before()
.clone()
・jQuery AJAX
$.ajax()
$.getJSON()
$.getScript()
.load()
JSONP
・jQuery Events
.bind()
.live()
.delegate()
.preventDefault()
.stopPropagation()
.stopImmediatePropagation()
・jQuery Traversing & Data Manipulation
$.each() and .each()
$.data() and .data()
.match() and .test()
.find()
.filter()
.slice()
.prev() and next()
$.extend()
.serializeArray()
————————————————————————————————————
アニメーション関連の見た目の操作から、裏側の操作まで、
jQueryを使っていてちょっと困った時などにも
ヒントを与えてくれそうなデモがたくさん紹介されています。
ご参考までに。。。