Permalink
Browse files

Reorganized the plugin resources into folders.

  • Loading branch information...
blueimp committed Feb 11, 2012
1 parent d267199 commit 5b2f9aaffaf60fea91f2024658cea52ce6bcc4e2
View
@@ -3,7 +3,7 @@
default: css js
css:
- lessc --compress bootstrap-image-gallery.css > bootstrap-image-gallery.min.css
+ lessc --compress css/bootstrap-image-gallery.css > css/bootstrap-image-gallery.min.css
js:
- uglifyjs -nc bootstrap-image-gallery.js > bootstrap-image-gallery.min.js
+ uglifyjs -nc js/bootstrap-image-gallery.js > js/bootstrap-image-gallery.min.js
View
@@ -15,7 +15,7 @@ Add the following HTML snippet to the head section of your webpage:
```html
<link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap.min.css">
<!--[if lt IE 7]><link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-ie6.min.css"><![endif]-->
-<link rel="stylesheet" href="bootstrap-image-gallery.min.css">
+<link rel="stylesheet" href="css/bootstrap-image-gallery.min.css">
```
Add the following HTML snippet to the body of your webpage:
@@ -43,7 +43,7 @@ Include the following scripts:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="http://blueimp.github.com/cdn/js/bootstrap.min.js"></script>
<script src="http://blueimp.github.com/JavaScript-Load-Image/load-image.min.js"></script>
-<script src="bootstrap-image-gallery.min.js"></script>
+<script src="js/bootstrap-image-gallery.min.js"></script>
```
### Initialization
@@ -1,6 +1,6 @@
@charset 'UTF-8';
/*
- * Bootstrap Image Gallery CSS 2.0
+ * Bootstrap Image Gallery CSS 2.1
* https://github.com/blueimp/Bootstrap-Image-Gallery
*
* Copyright 2011, Sebastian Tschan
@@ -23,7 +23,7 @@
cursor: pointer;
}
.modal-loading .modal-image {
- background: url(loading.gif) center no-repeat;
+ background: url(../img/loading.gif) center no-repeat;
}
.modal-gallery.fade .modal-image {
-webkit-transition: width 0.15s ease, height 0.15s ease;
@@ -1,7 +1,7 @@
@charset 'UTF-8';
.modal-gallery{width:auto;max-height:none;}
.modal-gallery .modal-image{position:relative;margin:auto;min-width:128px;min-height:128px;overflow:hidden;cursor:pointer;}
-.modal-loading .modal-image{background:url(loading.gif) center no-repeat;}
+.modal-loading .modal-image{background:url(../img/loading.gif) center no-repeat;}
.modal-gallery.fade .modal-image{-webkit-transition:width 0.15s ease, height 0.15s ease;-moz-transition:width 0.15s ease, height 0.15s ease;-ms-transition:width 0.15s ease, height 0.15s ease;-o-transition:width 0.15s ease, height 0.15s ease;transition:width 0.15s ease, height 0.15s ease;}
.modal-gallery .modal-image *{position:absolute;top:0;opacity:0;filter:alpha(opacity=0);}
.modal-gallery.fade .modal-image *{-webkit-transition:opacity 0.5s linear;-moz-transition:opacity 0.5s linear;-ms-transition:opacity 0.5s linear;-o-transition:opacity 0.5s linear;transition:opacity 0.5s linear;}
File renamed without changes
View
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<!--
/*
- * Bootstrap Image Gallery 2.0
+ * Bootstrap Image Gallery 2.1
* https://github.com/blueimp/Bootstrap-Image-Gallery
*
* Copyright 2011, Sebastian Tschan
@@ -38,7 +38,7 @@
<link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-responsive.min.css">
<!--[if lt IE 7]><link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-ie6.min.css"><![endif]-->
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
-<link rel="stylesheet" href="bootstrap-image-gallery.min.css">
+<link rel="stylesheet" href="css/bootstrap-image-gallery.min.css">
</head>
<body>
<div class="navbar navbar-fixed-top">
@@ -95,7 +95,7 @@ <h3 class="modal-title"></h3>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="http://blueimp.github.com/cdn/js/bootstrap.min.js"></script>
<script src="http://blueimp.github.com/JavaScript-Load-Image/load-image.min.js"></script>
-<script src="bootstrap-image-gallery.min.js"></script>
+<script src="js/bootstrap-image-gallery.min.js"></script>
<script>
/*jslint unparam: true */
/*global window, document, $ */
File renamed without changes.
File renamed without changes.
View
@@ -1,6 +1,6 @@
{
"name": "blueimp-bootstrap-image-gallery",
- "version": "2.0.0",
+ "version": "2.1.0",
"title": "Bootstrap Image Gallery",
"description": "Bootstrap Image Gallery is an extension to the Modal dialog of Twitter's Bootstrap toolkit, to ease navigation between a set of gallery images. It features mouse and keyboard navigation, transition effects, fullscreen mode and slideshow functionality.",
"keywords": [
@@ -45,8 +45,8 @@
"bootstrap-modal": ">=2.0"
},
"files": [
- "bootstrap-image-gallery.js",
- "bootstrap-image-gallery.css",
- "loading.gif"
+ "js/bootstrap-image-gallery.js",
+ "css/bootstrap-image-gallery.css",
+ "img/loading.gif"
]
}

0 comments on commit 5b2f9aa

Please sign in to comment.