CSSフレームワークとして最も人気の高いBootstrap。すでに多くの方が使っていると思います。Bootstrapを使っていて、ちょっとだけレイアウトや動きを変えたいということはよくあるんですが、ここで紹介するドロップダウンもその1つ。 通常はリンク(dropdown-toggle)をクリックするとメニューが開くという仕組み。 ドロップダウンでよくある要望が、マウスオーバーで開きたい場合やメニューの多階層化です。Bootstrapのドロップダウンをマウスオーバーで開く方法でマウスオーバーの方法を解説しましたが、ここでは多階層化する方法をまとめてみます。 Bootstrapのドロップダウンを多階層化する デフォルトでは上記の画像のように1階層だけ表示されます。これを多階層化するには以下のようなコードを追加します。 HTML <div class="dropdown"> <a href="#
ダイアログのタイトルだとか内容のテキストだとかを 設定してからオープンさせたい場合、jqueryとかでidを強引に書き換えてやれば いいのだが、それだと密結合な感じになってしまうので、イベントを駆使していろいろ頑張ってみた。 まず、ダイアログ側、こんな感じでdivタグがかかれている。 <div class="modal hide" id="myModal"> <div class="modal-header"> <a class="close" data-dismiss="modal">×</a> <span id="modalHead">Modal header</span> </div> <div class="modal-body"> <span id="modalBody">One fine body</span> </div> <div class="modal-footer">
There are many, many, many ways to hack a file input so it looks and behaves consistently across all browsers. There's even a pretty slick plugin to help get the job done. Unfortunately, most of these solutions are cumbersome, prone to cross-browser issues, and require JavaScript. Today, I would like to propose a more fundamental approach for file inputs in Bootstrap 3 and 4. Modern approach (IE9+
jQuery File Upload Demo File Upload widget with multiple file selection, drag&drop support, progress bars, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads and client-side image resizing. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads. Pintura
Thankful to Krajee! BUY A COFFEEor DONATE to get more out of us. Learn We strive hard in creating high quality JQuery plugins and Bootstrap extensions for the community as free open source code, and maintaining this demonstration site. Any donation would help us maintain our resources better and help improve our plugins or create new ones. Even, if it does not fulfil our resource needs, it will st
LESS を使って Bootstrap をカスタマイズ CATEGORY: HTML/CSS | TAG: Bootstrap, LESS 2013年9月2日 Bootstrap(v3.0.0) には以下のようなボタンなどにあらかじめ用意されたオプション(クラス)がある。 btn-primary(青色) btn-success(緑色) btn-info(水色) btn-warning(オレンジ色) btn-danger(赤色) これらを独自のクラス名で使ったり、色を変更するなどのカスタマイズをする際のメモ。LESS のコンパイルには「Prepros」を使用。 準備 Bootstrap の LESS ファイルをダウンロード Bootstrap の「Getting started」ページの「Additional downloads」の下の「Download latest source code
About Slider component with different options vertical or horizontal orientation minimum and maxim values step incrementor range selector 3 shapes for handles touch capabale Download Change log 11/4/2013 Added touch events support. Just add Modernizr to your page (thaks to Tony Wallace) Added 'formater' option to format the values before they are sent to the tooltip 07/3/2013 Fixed 'setValue' 23/2
Twitter Bootstrap 3.0.0のcontainer、row、col(Bootstrap 2.xならspan)クラスの使い方を説明する。公式サイトでも例示されているが、体系だった説明がされていないのでBootstrap初心者の役に立つはずだ。 1. containerは中身をセンタリングし幅を固定するcontainerクラスは中身を画面の中央に幅を固定するクラスだということを理解しよう。containerクラスはBootstrapのレイアウトを使う上でルートとなるクラスである。 2.で述べるcontainerクラスより幅の広いレイアウトをする場合を除いて、Webページのほとんどの内容をcontainerクラスの内部に書くことになるだろう。 containerクラスはWebページの中に複数個作っても全く構わない。また3.で詳しく述べるが、グリッドシステムを使わなくて良いのなら、
Twitter Bootstrap使ってるとどうもjQuery UIのカレンダーのデザインが気に食わなくて、bootstrap-datepickerを使う人が多い気がします。jQuery UIは機能が凄いからいいけどね。 で、データピッカーなんですが、ちょっとソースがいろいろあって混乱してしまうので整理します。 Stefan Petre http://www.eyecon.ro/bootstrap-datepicker/ ↓ vitalets https://github.com/vitalets/bootstrap-datepicker ↓ eternicode https://github.com/eternicode/bootstrap-datepicker 多分こんな流れです。 eternicodeのオンラインデモは分かりやすくていい。 期間を指定させる 単一の日付けではなくて、○
<2014-06-16> Bootstrap3版にサンプルを変更 <2013-03-03> オリジナルのものがforkされて、より機能が追加されているようです。IE8対応化 & 日付選択用の表示カレンダーを日本語に変換できるようになっています。 スクリプト <link href="css/datepicker.css" type="text/css" rel="stylesheet"> <script src="jquery.min.js" type="text/javascript"> <script src="js/bootstrap-datepicker.js" type="text/javascript"> <!-- 日本語対応用スクリプト --> <script src="js/locales/bootstrap-datepicker.ja.js" type="text/java
2013年03月01日19:00 カテゴリTwitter Bootstrap bootstrapのtooltipにオプションを設定しつつデフォルトでshowとしたい場合 bootstrapのver2.2.2の話題です。 bootstrapのtooltipにはいろいろなオプションがあります。 オプションの設定の仕方は $('#example').tooltip(options) で、例えばtooltipを右側に表示したい場合は $('#example').tooltip({placement:right;}) のように書きます。 tooltipはaタグに設定しまして、aタグにマウスがのっかったら表示するというのがデフォルトの動作です。 そうではなくて、デフォルトで表示したい場合は以下のように書きましょうと書いてあります。 $('#element').tooltip('show') toolt
photoBy: http://gigazine.jp/img/2012/04/21/palomitas/P1300436.jpgポップオーバーの使い方http://twitter.github.com/bootstrap/javascript.html#popovers に記載されているけど、なぜかうまく動かないのでまとめてみた。 最新版をダウンロードhttp://twitter.github.com/bootstrap/customize.html javascriptがころころ変わっているみたいなので、最新版をダウンロードしておこう。 使用例 一番簡単な使い方rel要素に popover を持つ物全てに適用 <script src="/app/webroot/js/bootstrap.js"></script> $(function() { $('[rel=popover]').po
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
「Responsive Web Design JP」を運営されているA40さんのまとめ記事ここまでできる!Bootstrapで作られた国内のレスポンシブWebデザインのサイトまとめ20個が今日のGunosyで取り上げられていましたが、twitter Bootstrapを使ったレスポンシブWEBデザインのウェブサイトの事例が国内でもかなり増えてきました。 当社で制作した化粧品ブランド リボーテ -Re:beaute-様のサイトもありがたいことに、このまとめ記事に取り上げて頂いています。 いろいろなメディアに取り上げていただく中でのフィードバックとして、「twitter bootstrapがレスポンシブWEBデザインに便利なのはわかっているけど、どうやったらbootstrapっぽくないデザインにできるのかわからない」という声をよく聞きます。 僕も最初はそう思っていました。 一回触ってしまえば、
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く