Browse Source

Actually that "no-js support" doesn't have to be that complicated as the previous version was.

rewrite
Viljami S 13 years ago
parent
commit
425b546e07
  1. 6
      demo/demo.html
  2. 6
      demo/themes/themes.html
  3. 2
      responsiveslides.css

6
demo/demo.html

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" class="no-js">
<html lang="en">
<head>
<meta charset="utf-8" />
<title>ResponsiveSlides.js &middot; Responsive jQuery slideshow</title>
@ -11,10 +11,6 @@
<script>
$(function () {
// If you aren't using Modernizr you might want to add no-js class
// to html and use that to support cases when JavaScript isn't available
$("html").removeClass("no-js");
// Slideshow 1
$(".rslides1").responsiveSlides({
maxwidth: 800,

6
demo/themes/themes.html

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" class="no-js">
<html lang="en">
<head>
<meta charset="utf-8" />
<title>ResponsiveSlides.js &middot; Alternative themes</title>
@ -11,10 +11,6 @@
<script>
$(function () {
// If you aren't using Modernizr you might want to add no-js class
// to html and use that to support cases when JavaScript isn't available
$("html").removeClass("no-js");
// Slideshow 1
$(".rslides1").responsiveSlides({
auto: false,

2
responsiveslides.css

@ -17,7 +17,7 @@
top: 0;
}
.no-js .rslides li:first-child {
.rslides li:first-child {
position: relative;
display: block;
float: left;

Loading…
Cancel
Save