Visualizzazione dei risultati da 1 a 2 su 2

Discussione: Slideshow "dinamica"

  1. #1

    Slideshow "dinamica"

    Buongiorno a tutti, per prima cosa chiedo scusa a tutti se non è la sezione giusta...

    Io vorrei realizzare una slideshow da implementare nel mio sito internet con la possibilità di visualizzare sia immagini in 16:9, 4:3, 9:16 in automatico...una slideshow quindi ad altezza fissa e larghezza variabile. Qualcuno ha qualche idea di come modificare questo codice per fare ciò?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <html lang="en">
    <head>
    <title>HTML.it - Nivo Slider - Esempio 1</title>
    <link rel="stylesheet" href="stili/nivo-slider.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="stili/style.css" type="text/css" media="screen" />
    </head>
    <body>
    <div id="slider" class="nivoSlider">
    [img]images/slider-1.jpg[/img]
    [img]images/slider-2.jpg[/img]
    [img]images/slider-3.jpg[/img]
    [img]images/slider-4.jpg[/img]
    </div>
    <script type="text/javascript" src="scripts/jquery-1.4.3.min.js"></script>
    <script type="text/javascript" src="scripts/jquery.nivo.slider.js"></script>
    <script type="text/javascript">
    $(window).load(function() {
    $('#slider').nivoSlider();
    });
    </script>
    </body>
    </html>

  2. #2
    E questo è il .css


    /*====================*/
    /*=== Reset ===*/
    /*====================*/
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-weight:inherit;
    font-style:inherit;
    font-size:100%;
    font-family:inherit;
    vertical-align:baseline;
    }
    body {
    line-height:1;
    color:black;
    background:white;
    }
    table {
    border-collapse:separate;
    border-spacing:0;
    }
    caption, th, td {
    text-align:left;
    font-weight:normal;
    }
    blockquote:before, blockquote:after,
    q:before, q:after {
    content:"";
    }
    blockquote, q {
    quotes:"" "";
    }
    /* HTML5 tags */
    header, section, footer,
    aside, nav, article, figure {
    display: block;
    }

    /*=============== ====*/
    /*=== Stili principali ===*/
    /*=============== ====*/
    body {
    font:14px/1.6 Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;
    color:#2d3536;
    }

    a, a:visited {
    color:#2d3536;
    text-decoration:none;
    border-bottom:1px dotted #826a4d;
    }
    a:hover, a:active {
    color:#9e805c;
    text-decoration:none;
    }


    /*============================*/
    /*=== Stili per lo slider ===*/
    /*============================*/
    #slider {
    border: 2px solid #333;
    width:640px;
    height:427px;
    margin:40px auto;
    background:url(../images/loading.gif) no-repeat 50% 50%;
    }
    #slider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
    }
    #slider a {
    border:0;
    display:block;
    }

    .nivo-controlNav {
    position:absolute;
    left:260px;
    bottom:-42px;
    }
    .nivo-controlNav a {
    display:block;
    width:22px;
    height:22px;
    background:url(../images/bullets.png) no-repeat;
    text-indent:-9999px;
    border:0;
    margin-right:3px;
    float:left;
    }
    .nivo-controlNav a.active {
    background-position:0 -22px;
    }

    .nivo-directionNav a {
    display:block;
    width:30px;
    height:30px;
    background:url(../images/arrows.png) no-repeat;
    text-indent:-9999px;
    border:0;
    }
    a.nivo-nextNav {
    background-position:-30px 0;
    right:15px;
    }
    a.nivo-prevNav {
    left:15px;
    }

    .nivo-caption {
    text-shadow:none;
    font-family: Helvetica, Arial, sans-serif;
    }
    .nivo-caption a {
    color:#efe9d1;
    text-decoration:underline;
    }

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.