Slideshow Example

Help

HTML

<!DOCTYPE html>
<html>
    <head>
        <title>Hire a Bach</title>
        <link rel="stylesheet" type="text/css" href="css/main.css">
        <script src="js/responsiveslides.min.js"></script>
        <script src="js/jquery-1.12.4.min.js"></script>
        <script>
            $(function() {
                $(".rslides").responsiveSlides({
                    auto: false,
                    pager: true,
                    speed: 500,
                    maxwidth: 540
                });
            });
        </script>
    </head>
    <body>
        <nav>
            <ul>
                <li class = "active"><a href="index.html">Home</a></li>
                <li class="dropdown">
                    <a href="hvar.html" class="dropbtn">Hvar</a>
                    <div class="dropdown-content">
                        <a href="gallery.html">Gallery</a>
                        <a href="activities.html">Activities</a>
                        <a href="attractions.html">Attractions</a>
                    </div>
                </li>
                <li><a href="contact.html">Contact Us</a></li>
            </ul>
        </nav>
        <ul class="rslides">
            <li><img src="images/bach1.jpg" alt="Bach1"></li>
            <li><img src="images/bach2.jpg" alt="Bach2"></li>
            <li><img src="images/bach3.jpg" alt="Bach3"></li>
        </ul>
        <h2>Description</h2>
        <p>This old stone batch has the sea at its front door - built five meters from the sea it can't get closer to the clear azure Adriatic water. It is located in peaceful Jagodna bay, part of one of the most beautiful islands in the Adriatic. The house is surrounded by the beautiful Mediterranean bush full or aromatic rosemary and manuka. It is only five km from the famous medieval town of Hvar.</p>
        <p>Originally built as a family fishing batch, it has contained its character over the years. The house is made up of two separate apartments, each with two bedrooms and a...

CSS

.active {
    background-color: grey;
}


table{
    border-collapse: collapse;
    width: 400px;
    border: 1px solid black;
}

th, td {
    border: 1px solid black;
    padding: 15px;
}

th {
    background-color: #4CAF50;
    color: white;
    font-size: 20px;
}

tr:hover {
    background-color: #f6f1be;
}

.overflow {
    overflow-x:auto;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

nav li {
    float: left;
}

nav li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav li a:hover, .dropdown:hover .dropbtn {
    background-color: red;
}

nav li.dropdown {
    display: inline-block;
}

nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

nav .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

nav .dropdown-content a:hover {background-color: #f1f1f1}

nav .dropdown:hover .dropdown-content {
    display: block;
}

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }

JavaScript

/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="1.12.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new...