2007年8月31日(金) Comments(4) Trackback(0) 全ページに共通のグローバルナビゲーションがある場合、私はphpのincludeを利用して、navi.txtとか作ってそれを全ページに使いまわすということを結構やります。 非常に便利というか、修正がある場合でも1つのファイルを修正するだけで済むという手間要らずな感じが大好きなのですが、カテゴリごとにメニューの画像を切り替えるのが面倒くさいんですよね。 例えば「about」のカテゴリーのページを開いた場合はグローバルメニューの「about」の画像のみがonになるとか。 で、それをjqueryを使って何とかならないかなと思ってやってみました。 例えばHTMLがこんな感じだったとします。メニューの画像はそれぞれ_off.gifと_on.gifの2つを用意。 <div id="GlobalNavigation"> <u
jQuery UI 1.14 API Documentation jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. If you're new to jQuery UI, you might want to check out our main site for more information and full demos. If you're new to jQuery, you might also be interested in the jQuery Learning Center tutorials. This site provides API documen
Add an outline and background to text inputs when they are given focus. Does not work with jQuery 1.2 at the moment, only 1.0 and 1.1) This plugin is available for download via jQuery SVN Parameters oColour - Outline colour oWidth - Outline width bgColour - Background colour textColour - Text Colour Examples Default settings: $("input.text, textarea.text").focusFields() Different outline color: $(
To get the effect just add a class="reflex" to the image (minimum dimension: 32x32). The needed vertical space of the canvas element will grow by the height of the reflection, plus the height of the distance. Initialisation class "reflex" vary the reflection by adding idistance followed by the desired height in pixel: Reflection distance class "idistance" - min=0 max=100 default=0 vary the reflect
When diving into the world of sports betting, 안전놀이터 Over/Under bets are one of the most popular and straightforward types to understand. This betting style allows you to focus on the overall score rather than picking a winning team. In this guide, we’ll break down Over/Under bets, how they work, tips for making smart Over/Under bets, and common mistakes to avoid. By the end, you’ll have a clear un
toggleElements is designed to hide informations on your site and show it only when the user requests more information. Features unobtrusive script, simple to setup full customizeable via CSS only a class and a title-attribute must be added to your original HTML nesting toggleElements is possible This page uses jQuery Version Version 1.3, 2007-09-11 Tested on Windows XP SP2 with - IE 5.5
jquery.toggleElements.js - Toggle HTML-Elements with jQuerytoggleElements is designed to hide informations on your site and show it only when the user requests more information. Features unobtrusive script, simple to setup full customizeable via CSS only a class and a title-attribute must be added to your original HTML nesting toggleElements is possible This page uses jQuery Version Version
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く