Skip to content

Commit

Permalink
Cleaning things up for merging
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsalminen committed Mar 21, 2012
1 parent 8d7d352 commit 54d980d
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 48 deletions.
File renamed without changes.
26 changes: 14 additions & 12 deletions demo/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,22 @@
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="../responsiveslides.min.js"></script>
<script>
jQuery(function() {
// Slideshow 1
$("#slides1").responsiveSlides({
maxwidth: 800
});
$(function () {

// Slideshow 1
$("#slides1").responsiveSlides({
maxwidth: 800
});

// Slideshow 4
$("#slides2").responsiveSlides({
auto: true,
pagination: true,
fade: 300,
maxwidth: 540
});

// Slideshow 4
$("#slides2").responsiveSlides({
auto: true,
pagination: true,
fade: 300,
maxwidth: 540
});
});
</script>
</head>
<body>
Expand Down
Binary file removed demo/themes/img/psd/arrows.psd
Binary file not shown.
12 changes: 9 additions & 3 deletions demo/themes/css/styles.css → demo/themes/themes.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,16 @@ body {
}

h1 {
font: 600 24px/32px sans-serif;
font: 600 28px/36px sans-serif;
margin: 50px 0;
}

h3 {
font: 600 18px/24px sans-serif;
color: #999;
margin: 0 0 20px;
}

.rslides {
margin: 0 auto;
}
Expand All @@ -51,7 +57,7 @@ h1 {
text-decoration: none;
height: 61px;
width: 38px;
background: transparent url(../img/arrows.gif) no-repeat left top;
background: transparent url("themes.gif") no-repeat left top;
margin-top: -45px;
}

Expand Down Expand Up @@ -94,7 +100,7 @@ h1 {
top: 0;
bottom: 0;
left: 0;
background: #000 url(../img/arrows.gif) no-repeat left 50%;
background: #000 url("themes.gif") no-repeat left 50%;
width: 38px;
}

Expand Down
File renamed without changes
68 changes: 35 additions & 33 deletions demo/themes/demo_themes.html → demo/themes/themes.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,48 +2,50 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Alternative pagination styles</title>
<title>ResponsiveSlides.js &middot; Alternative themes</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<link rel="stylesheet" href="../../responsiveslides.css" />
<link rel="stylesheet" href="css/styles.css" />
<link rel="stylesheet" href="themes.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="../../responsiveslides.js"></script>
<script>
jQuery(function() {
// Slideshow 1
$("#slides1").responsiveSlides({
auto: false,
pagination: true,
nav: true,
fade: 300,
maxwidth: 800
});
$(function () {

// Slideshow 1
$("#slides1").responsiveSlides({
auto: false,
pagination: true,
nav: true,
fade: 300,
maxwidth: 800
});

// Slideshow 2
$("#slides2").responsiveSlides({
auto: false,
pagination: true,
nav: true,
fade: 300,
maxwidth: 800
});

// Slideshow 3
$("#slides3").responsiveSlides({
auto: false,
pagination: false,
nav: true,
fade: 300,
maxwidth: 800
});

// Slideshow 2
$("#slides2").responsiveSlides({
auto: false,
pagination: true,
nav: true,
fade: 300,
maxwidth: 800
});

// Slideshow 3
$("#slides3").responsiveSlides({
auto: false,
pagination: false,
nav: true,
fade: 300,
maxwidth: 800
});
});
</script>
</head>
<body>
<div id="wrapper">
<h1>Alternative pagination styles</h1>
<h1>Three different ways to use next/prev buttons</h1>

<!-- Slideshow 1 -->
<h3>Vertically centered on both sides</h3>
<div class="rslides_container">
<ul id="slides1">
<li><img src="../1.jpg" alt="" /></li>
Expand All @@ -52,16 +54,16 @@ <h1>Alternative pagination styles</h1>
</ul>
</div>

<!-- Slideshow 2 -->
<h3>Transparent buttons over the left and right side</h3>
<div class="rslides_container">
<ul id="slides2">
<li><img src="../1.jpg" alt="" /></li>
<li><img src="../2.jpg" alt="" /></li>
<li><img src="../3.jpg" alt="" /></li>
</ul>
</div>
<!-- Slideshow 3 -->

<h3>100% height with vertically centered icons</h3>
<div class="rslides_container">
<ul id="slides3">
<li><img src="../1.jpg" alt="" /></li>
Expand Down

0 comments on commit 54d980d

Please sign in to comment.