Permalink
Browse files

new demo

  • Loading branch information...
1 parent 9fa2e82 commit 40d4afd3e2fc99966e10cce507eb57353ef023af @davidhellsing davidhellsing committed May 2, 2010
Showing with 52 additions and 2 deletions.
  1. +1 −1 demo/classic-01.html
  2. +3 −1 demo/classic-02.html
  3. +21 −0 demo/fullscreen-01.html
  4. +26 −0 demo/fullscreen-02.html
  5. +1 −0 demo/fullscreen.html
View
@@ -6,7 +6,7 @@
<script src="../src/galleria.js"></script>
<style>
html,body{background:#111}
- #galleria{width:800px;margin:20px auto}
+ #galleria{width:700px;margin:20px auto}
</style>
</head>
<body>
View
@@ -6,7 +6,7 @@
<script src="../src/galleria.js"></script>
<style>
html,body{background:#111}
- #galleria{width:800px;margin:20px auto}
+ #galleria{width:900px;margin:20px auto}
</style>
</head>
<body>
@@ -21,6 +21,8 @@
<script>
Galleria.loadTheme('../src/themes/classic/galleria.classic.js');
$('#galleria').galleria({
+ image_crop: true,
+ transition: 'fade',
data_config: function(img) {
return {
description: $(img).next('p').html()
View
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="sv">
+ <head>
+ <title>Galleria Fullscreen Theme Demo 01</title>
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
+ <script src="../src/galleria.js"></script>
+ </head>
+<body>
+ <div id="galleria"></div>
+ <script>
+ Galleria.loadTheme('../src/themes/fullscreen/galleria.fullscreen.js');
+ Galleria.flickr.search('fddd7bc223fe37295faace93a4f2d8fc', {
+ text:'wood'
+ }, function(data) {
+ $('#galleria').galleria({
+ data_source:data
+ });
+ });
+ </script>
+ </body>
+</html>
View
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html lang="sv">
+ <head>
+ <title>Galleria Fullscreen Theme Demo 02</title>
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
+ <script src="../src/galleria.js"></script>
+ </head>
+<body>
+ <div id="galleria"></div>
+ <script>
+ Galleria.loadTheme('../src/themes/fullscreen/galleria.fullscreen.js');
+ Galleria.flickr.setOptions({
+ max: 20
+ }).search('fddd7bc223fe37295faace93a4f2d8fc', {
+ tags: 'radio'
+ }, function(data) {
+ $('#galleria').galleria({
+ data_source: data,
+ image_crop: false,
+ frame_color: '#000',
+ transition: 'slide'
+ });
+ });
+ </script>
+ </body>
+</html>
View
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="sv">
<head>
+ <title>Galleria Fullscreen Theme Demo 01</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="../src/galleria.js"></script>
</head>

0 comments on commit 40d4afd

Please sign in to comment.