デモのアニメーションGIF ここでは「Esc」キーを拡大画像から元画像に戻す際に使用していますが、スクロールしてコンテンツに戻る時のアニメーションも非常に軽快です。 Zoom.jsの使い方 Step 1: 外部ファイル 当スクリプトとスタイルシート、jquery.jsを外部ファイルとして記述します。 アニメーションのエフェクトはBootstrapのtransition.jsに依存しており、Bootstrapのjsファイルかtransition.jsを記述します。 <head> ... <link rel="stylesheet" type="text/css" href="css/zoom.css"> </head> <body> ... コンテンツ ... <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/j
「Boxer」はLightboxやモーダルウィンドウを実装できるjQueryプラグインです。画像だけでなく動画にも対応しています。 モバイル環境にも最適化されていて、#レスポンシブ 対応で、#スワイプ も設定で可能となっており、タッチフレンドリーなプラグインになっています。 サイト ダウンロード スクリプト <link href="jquery.fs.boxer.css" type="text/css" rel="stylesheet"> <script src="jquery.min.js" type="text/javascript"></script> <script src="jquery.fs.boxer.js" type="text/javascript"></script> 実装 それぞれのリンクに対してclass("boxer")を指定します。 ギャラリーとして表示したい場
DemoDemos are largely unstyled to give developers a better idea of how the plugin can drop into a new or existing project. <a href="large_1.jpg" class="lightbox" data-lightbox-gallery="gallery_name" title="Image caption text."> <img src="thumbnail_1.jpg" alt=""> </a> <a href="large_2.jpg" class="lightbox" data-lightbox-gallery="gallery_name" title="Image caption text."> <img src="thumbnail_2.jpg"
Magnific Popup is a responsive lightbox & dialog script with focus on performance and providing best experience for user with any device (for jQuery or Zepto.js). Important note: This jQuery plugin is deprecated, only critical or security bug fixes will be released in future. Use native <dialog> element if you need a basic dialog/modal/popup, or my PhotoSwipe library if you need an advanced image
Getting started Download a zip of the latest release (or any previous one) from the Github Releases page. Or install using npm: npm install lightbox2 --save Open up the zip file and take a peek at the barebones, working example that is included in the /examples folder. Ready to set Lightbox up on your page? Start by including the Lightbox CSS and Javascript. You can grab both these files from the
LightBox風に画像やswf、webページなどのコンテンツを表示できる jQuery Pluginの1つとしてFancyboxがありますが、 オプションを日本語でまとめているサイトが見当たらなかったので 自分用に翻訳してみたものをメモしておこうと思います。 (2016.7.19) 訳せてないものは原文入れました。 以下、すべてではないですが(おまけに空白もあります) このようなオプションがあります。
View Demos 1 2 3 4 5 Released under the MIT License, source on Github (changelog) Download Install via NPM npm install jquery-colorbox Compatible with: jQuery 1.3.2+ in Firefox, Safari, Chrome, Opera, Internet Explorer 7+ Supports photos, grouping, slideshow, ajax, inline, and iframed content. Lightweight: 10KB of JavaScript (less than 5KBs gzipped). Appearance is controlled through CSS so it can
Fancybox Fancybox is the ultimate JavaScript lightbox alternative that sets the standard for premium user experience in multimedia display. It is built using TypeScript for use with various modern application frameworks (React, Vue, etc) or simply with pure Javascript. It uses the Carousel component under the hood, and the Panzoom component is used to make the images interactive. Key Features Su
作成した日本語ファイルは、できるだけ読んでわかりやすい文章にしたつもりだ。是非利用して欲しい。以下のGitHubにファイルを置いておく。 :href=”https://github.com/jump-up/WordpressPlugin_jQueryColorbox_JapaneseTranslationFiles ファイル名:jquery-colorbox-ja_JA.po/jquery-colorbox-ja_JA.mo 利用方法 既に「jQuery Colorbox」WordPressプラグインをインストールしている前提とする。 上記ファイルを自分のサーバーの「wordpress」>「wp-content」>「plugins」>「jquery-colorbox」>「localization」フォルダの中に入れる。 ファイル名はそれぞれ「_JA」をとって「jquery-colorbox
『モーダルウィンドウ』って呼び名って一般的なんでしょうか?なんて言ったら良いかわからなかったので、そのままモーダルウィンドウってタイトルには書きましたが、ダイアログみたいな感じでコンテンツ表示される奴のことです(笑)! 最近は海外ブログなんかでも見ることがあるくらい、使われているサイトを良く見ますが、結構これ実装するときって頭悩ませる所…。今日はそんなモーダルウィンドウを表示するときにちょっと便利なjQueryプラグインを共有させて頂ければと思います! ユーザーの操作を一時停止させてコンテンツを表示させる感じなので、ユーザビリティを考えると使い所間違えたく無いとは思いますが、なんか重要な告知がある時とか、ちょっと注意が必要なステップをユーザーに踏んで貰う前とか、こういうのが使えそうなシチュエーションっていろいろ思いつきますので、ご参考までにどうぞー! こんな感じの、良くある今行ってる動作を
HTML Include Script Files <script type='text/javascript' src='jquery.popeasy.js'></script> <script type='text/javascript' src='site.js'></script> Place in body <a class="popeasy" href="#">Click Me <div class="overlay"></div> <div class="modal"> <a href="#" class="closeBtn">Close Me</a> <!-- content here --> </div> CSS .overlay{ width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index:
jQueryなどの他のスクリプトに依存せずにモーダルウインドウを実装する高性能で超軽量(5KB)のスクリプトを紹介します。 JavaScript Modal Windows – TinyBox2 デモページ [ad#ad-2] TinyBox2のデモ デモはシンプルなモーダルウインドウから、アニメーション付き、AJAX対応、iFrame対応、画像対応などがあり、どれも実用的なものとなっています。 ウインドウをクローズする際はクローズボタン、もしくはウインドウ外のクリック、「ESC」キーの操作に対応しています。 デモページ:No Animation, No Close Button, Auto Width/Height, Custom Styling アニメーション:無し、クローズボタン:無し、幅と高さ:自動、カスタムスタイリング
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く