* optimize help
This commit is contained in:
parent
12eb34de5f
commit
10ff5e8711
|
@ -1,7 +1,7 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
||||||
<script src="galleria/galleria-1.4.2.min.js"></script>
|
<script src="galleria/galleria-1.4.2.min.js"></script>
|
||||||
<script src="galleria/themes/classic/galleria.classic.min.js"></script>
|
<script src="galleria/themes/classic/galleria.classic.min.js"></script>
|
||||||
<link rel="stylesheet" href="galleria/themes/classic/galleria.classic.css">
|
<link rel="stylesheet" href="galleria/themes/classic/galleria.classic.css">
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
||||||
<script src="galleria/galleria-1.4.2.min.js"></script>
|
<script src="galleria/galleria-1.4.2.min.js"></script>
|
||||||
<script src="galleria/themes/classic/galleria.classic.min.js"></script>
|
<script src="galleria/themes/classic/galleria.classic.min.js"></script>
|
||||||
<link rel="stylesheet" href="galleria/themes/classic/galleria.classic.css">
|
<link rel="stylesheet" href="galleria/themes/classic/galleria.classic.css">
|
||||||
<style>
|
<style>
|
||||||
body{ margin: 0; padding: 0; }
|
body{ margin: 0; padding: 0; background: #000; }
|
||||||
div.galleria{ width: 100%; height: 100%; background: #000; position: absolute; top: 0; bottom: 0; }
|
div.galleria{ width: 100%; height: 100%; background: #000; position: absolute; top: 0; bottom: 0; }
|
||||||
div.galleria-thumbnails { margin: auto;}
|
div.galleria-thumbnails { margin: auto;}
|
||||||
</style>
|
</style>
|
||||||
|
@ -24,6 +24,7 @@
|
||||||
{ video: 'http://www.youtube.com/watch?v=R80tKtHf4zw', image: 'images/subtitle-search.png', thumb: 'images/subtitle-search.thumb.png' },
|
{ video: 'http://www.youtube.com/watch?v=R80tKtHf4zw', image: 'images/subtitle-search.png', thumb: 'images/subtitle-search.thumb.png' },
|
||||||
{ video: 'http://www.youtube.com/watch?v=4KWkSPr3fQY', image: 'images/sfv.png', thumb: 'images/sfv.thumb.png' }
|
{ video: 'http://www.youtube.com/watch?v=4KWkSPr3fQY', image: 'images/sfv.png', thumb: 'images/sfv.thumb.png' }
|
||||||
];
|
];
|
||||||
|
|
||||||
Galleria.run('.galleria', {
|
Galleria.run('.galleria', {
|
||||||
dataSource: data,
|
dataSource: data,
|
||||||
maxScaleRatio: 1,
|
maxScaleRatio: 1,
|
||||||
|
|
Loading…
Reference in New Issue