javascript
1 FaverShareViewed: 2 TimesQuoted: Adobe revives a neglected product, and what Dreamweaver CS4 offers is really game changing. It is making me as a web developer, excited over Dreamweaver again.
4 FaversShareViewed: 51 TimesQuoted: A demonstration of Superfish – a jQuery plugin that creates Suckerfish-style dropdown menus with added features.
Javascriptをつかって、imgタグで指定した画像をswfに置き換えて表示するライブラリ"SwfIR"。画像にシャドウ・角丸・回転・ボーダーの画像効果を与えることができます。CSSライクなプロパティの仕様で、エフェクトの値も思いのまま。
15 FaversShareViewed: 36 TimesIE has a subtle bug when parsing array constants - I think they are not in conformance with the ECMA-262 spec.
You can test your browser here:
http://pages.mckoss.com/dangle.htm
Update: Object initializers are even worse! Fails to parse the JS at all.
1 FaverShareViewed: 4 Times動作環境は以下のとおり
・Internet Explorer 6 & 7
・Firefox 2.0
・Safari 2.0
・Opera 9.0
導入は比較的簡単です。
ダウンロードしたファイルのうち、index.htmlを開いてみるとわかると思います。
<link rel="stylesheet" href="bubbles.css" type="text/css" media="screen" charset="utf-8" />
<script type="text/JavaScript" src="rounded_corners.inc.js"></script>
<script type="text/JavaScript">
window.onload = function() {
settings = {
tl: { radius: 10 },
tr: { radius: 10 },
bl: { radius: 10 },
br: { radius: 10 },
antiAlias: true,
autoPad: true
}
var myBoxObject = new curvyCorners(settings, "rounded");
myBoxObject.applyCornersToAll();
}
</script>
呼び出しはこれ。
これを<head>~</head>の中にいれる。
後は表示したい部分で呼び出せばOK。
灰色背景の場合
<div class="bubble">
<blockquote>
<p>Works great for blog comments!</p>
</blockquote>
<cite><strong>John Smith</strong> on 1st January 2007 at 3:55pm</cite>
</div>
バック灰色、淵が白の場合
<div class="bubble">
<div class="rounded">
<blockquote>
<p>Customize colors and styling to your taste from within the CSS, then simply edit the pointer tip image. Works on any background to fit with your design.</p>
</blockquote>
</div>
<cite class="rounded"><strong>Rounded Bubble</strong> using <a href="http://www.curvycorners.net/">curvy corners</a></cite>
</div>
バック黒、淵白の場合
<div id="pimped" class="bubble">
<div class="rounded">
<blockquote>
<p>Expands to fit any layout and scales nicely with big and small font sizes.</p>
</blockquote>
</div>
<cite class="rounded"><strong>Dark Bubble</strong></cite>
</div>
お試しあれ。
http://www.willmayo.com/2007/02/10/css-speech-bubbles/
BoxOverはマウスオーバー時にボックスダイアログを表示するためのJavaScriptライブラリ。
表示されるダイアログボックスはこのような感じです。
かなり細かくパラメータ設定ができるようで、どんな表示ができるかはこちらのサンプルページを参考に。
Tooltips, Popups, Javascript, Dhtml - BoxOver
結構意外な箇所でダイアログボックスが表示されて、なかなか楽しいです。
CSSでmin-width max-width をそれぞれ行うことで、コンテナの最小幅・最大幅の指定ができる。リキッドレイアウトを採用していても、これらの指定を行うことでデザインが崩れない幅の有効範囲を持たせることができる。
しかし、min-width min-width のプロパティに対応していないInternet Explorer 6.xなどへは別途JavaScriptで対応する必要がある。
1 FaverShareViewed: 30 TimesGreyBoxは画像の表示だけでなく他のページも読み込んで同一ページ上に表示させることができます。GreyBoxでは他のページはインラインフレーム内に表示されます。
他のページを表示する場合には<a>タグのrel属性にrel="gb_page[横幅, 縦幅]"を指定します。横幅と縦幅はページ内に表示されるウィンドウの幅をピクセル値で指定します。サンプル07では以下のように指定しています。
1 FaverShareViewed: 10 Times画像JSライブラリ(イメージギャラリー/画像ポップアウト)
Couloir
galleria - Google Code 〔jQuery.js使用〕
Images Gallery using jQuery, Interface & Reflections 〔jQuery使用〕
GreyBox
jCarousel 〔jQuery.js使用〕
Lightbox 〔prototype.js/scriptaculous.js使用〕
Lightview 〔prototype.js/scriptaculous.js使用〕
LightWindow 〔Lightboxベース、prototype.js使用〕
Lytebox 〔Lightboxベース〕
Photo Slider 〔jQuery.js使用〕
ProtoFlow 〔prototype.js/scriptaculous.js/reflection.js使用〕
Slideshow 〔Mootools.js使用〕
SmoothGallery 〔Mootools.js使用〕
ThickBox 〔jQuery.js使用〕
TripTracker
その他
Related Content from Around Faves
css
-
1 FaverViewed: 17 TimesQuoted: Tooltips provide another method of website branding. Why throw a vanilla tooltip to the user when you can brand your website? MooTools 1.2 provides a Tips plugin that allows for easy-to-customize tooltips. Let me show you how to create a sweet, branded tooltip
- mippe - Jun 12 20081 FaverViewed: 11 Times
- Claire16 - Aug 23 200610 FaversViewed: 52 Times
design
-
2 FaversViewed: 23 TimesQuoted: Looking for Royalty Free icons? Free Icon Download Offers Free Vista icons,Free Desktop Icons,Mac os x icons,Stock icons,Logos for software developers and Web Templates Design
- mippe - 25 days ago1 FaverViewed: 14 Times
- markosharko33m - 6 days ago7 FaversViewed: 2 Times
