IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

jQuery Discussion :

Caler un iframe dans une page


Sujet :

jQuery

  1. #1
    Membre éclairé
    Homme Profil pro
    Webdesigner
    Inscrit en
    Août 2014
    Messages
    445
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Webdesigner
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Août 2014
    Messages : 445
    Par défaut Caler un iframe dans une page
    Bonsoir à tous,
    Je tente d'inclure dans une page html un iframe. La page à inclure a un body de width:100% height:800px. Impossible d'obtenir un rendu correct. Paramétrer la hauteur de la classe .iframe est impossible pour un site qui se veut responsive : ni "px", ni "%" et une hauteur "auto" forcement inappropriée.
    Existe-'il un moyen d'avoir la totalité de l'iframe ? (et sans cette !!!! scrollbar
    Merci pour votre aide et bonne soirée,
    dh

  2. #2
    Membre éprouvé
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2014
    Messages
    48
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 28
    Localisation : Belgique

    Informations professionnelles :
    Activité : Lycéen

    Informations forums :
    Inscription : Mars 2014
    Messages : 48
    Par défaut
    Salut,

    Si tu tiens vraiment à utiliser une iframe, il y a probablement moyen de faire ce que tu veux en javascript.
    par exemple lorsque l'iframe est chargée (événement onload), calculer la hauteur réelle du body de la page ( element.clientHeight) et définir la hauteur de l'iframe à partir de cette valeur. Mais le temps que la page charge, l'iframe sera petite et cela se vera...

    Je pense que le plus efficace serait d'éviter d'utiliser une iframe... Par exemple en récupérant le contenu de la page cible avec ajax.

  3. #3
    Membre éclairé
    Homme Profil pro
    Webdesigner
    Inscrit en
    Août 2014
    Messages
    445
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Webdesigner
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Août 2014
    Messages : 445
    Par défaut Par exemple en récupérant le contenu de la page cible avec ajax
    SLt Vandenn3,
    Merci pour ta réponse, qu'entends-tu par "en récupérant le contenu de la page cible avec ajax" et comment faire ?
    C'est qq chose dont dont n'ai jamais entendu parler... pas d'ajax, mais incorporer une page html via ajax :/
    Sur ce dernier point, je ne suis pas novice en la matière mais carrément ignorant. Je sens que la tache va être rude
    Mais il est vrai que les iframes ont mauvaise réputation, mais au cas où je n'arriverais pas avec la méthode ajax,
    quels sont les js. à mettre afin que mon site 100%/800px s'adapte parfaite à la page destinataire, et sans scroball

    Merci et bonne soirée !
    dh

  4. #4
    Membre éprouvé
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2014
    Messages
    48
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 28
    Localisation : Belgique

    Informations professionnelles :
    Activité : Lycéen

    Informations forums :
    Inscription : Mars 2014
    Messages : 48
    Par défaut
    Pour charger le contenu de la page avec ajax, jquery permet de le faire très simplement.
    Imaginons que sur ta page principale tu aie un div dans lequel tu veux afficher la page, il faudrait un script de ce genre:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    <script src='http://code.jquery.com/jquery-1.11.2.min.js'></script>
    <script>
    $(function(){
        $("div#conteneur").load("mapage.html");
    });
    </script>
    ou encore si tu veux n'afficher qu'une certaine partie de la page:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    <script src='http://code.jquery.com/jquery-1.11.2.min.js'></script>
    <script>
    $(function(){
        $("div#conteneur").load("mapage.html div#contenu_de_la_page");
    });
    </script>
    Avec une iframe, j'ai essayé quelque chose mais c'est moyen.. mon code fonctionne si la page à insérer est dans un seul élément, qui n'a pas de hauteur définie à 100%:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    <script>
        function change_taille() {
            var my_iframe = document.querySelector("#my_iframe");
            var hauteur_doc = my_iframe.contentDocument.querySelector("div#content").clientHeight;
            my_iframe.height = hauteur_doc;
        }
      </script>
      <iframe id='my_iframe' src='page_1.html' width="100%" onload='change_taille()'></iframe>
    et page_1.html:
    Code html : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    <html>
        <head>
            <title>Test</title>
        </head>
        <body style='height:100%'>
            <div id='content'>
                <!-- contenu de la page dans ce div -->
                <p>Texte texte texte</p>
                <p>Texte texte texte</p>
            </div>
        </body>
    </html>

    La première solution me parait plus simple.

  5. #5
    Membre éclairé
    Homme Profil pro
    Webdesigner
    Inscrit en
    Août 2014
    Messages
    445
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Webdesigner
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Août 2014
    Messages : 445
    Par défaut
    Slt vandenn3,
    Par "intégrer un iframe via ajax", je ne savais pas que tu voulais dire "via Jquery" (et donc Ajax
    Merci bcp pour ta réponse et tes codes. Malheureusement, ma page utilise le JQuery "ScrollTo" et tes scripts, comme ceux de FancyBox bloquent les fonctions de ScrollTo
    http://www.developpez.net/forums/d14...llto-fancybox/
    Vais-je devoir supprimer ScrollTo (que je trouve TOP) pour utiliser tes codes ou ceux des lightbox ?
    Encore merci et bonne soirée,
    dh

  6. #6
    Membre éprouvé
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2014
    Messages
    48
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 28
    Localisation : Belgique

    Informations professionnelles :
    Activité : Lycéen

    Informations forums :
    Inscription : Mars 2014
    Messages : 48
    Par défaut
    C'est de cette fonctionnalité que tu parle? http://www.webdesignweb.fr/sources/scrollto/index.html (quand on clic sur les titres la page se scroll)

    Car faire scroller la page en javascript pur ce ne doit pas être fort compliqué.

  7. #7
    Membre éclairé
    Homme Profil pro
    Webdesigner
    Inscrit en
    Août 2014
    Messages
    445
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Webdesigner
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Août 2014
    Messages : 445
    Par défaut
    Tu parles peut-être de cette méthode ?
    http://www.developpez.net/forums/d14...e/#post8039407
    Je n'y suis pas arrivé :/ Mais si ton script peu marché ainsi que la lightBox, je retente (et tout à 0) :/
    Merci pour test conseils et bonne soirée,
    dh

  8. #8
    Membre éprouvé
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2014
    Messages
    48
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 28
    Localisation : Belgique

    Informations professionnelles :
    Activité : Lycéen

    Informations forums :
    Inscription : Mars 2014
    Messages : 48
    Par défaut
    la première réponse de ce lien: http://stackoverflow.com/questions/8...-top-animation te sera surement utile
    Leur exemple semble fonctionner en tout cas (http://jsfiddle.net/TimWolla/S5ALP/ clic sur le bouton tout en bas du html

  9. #9
    Membre éclairé
    Homme Profil pro
    Webdesigner
    Inscrit en
    Août 2014
    Messages
    445
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Webdesigner
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Août 2014
    Messages : 445
    Par défaut
    Slt vandenn3,
    Merci pour ton aide. L'exemple http://jsfiddle.net/TimWolla/S5ALP/ ne fonctionne pas sur chrome :/
    Par contre; je suis tombé sur ce lien ce matin http://www.creativejuiz.fr/blog/doc/...croll.html#top
    Qu'en penses-tu ?
    Merci et bonne journée !
    dh

  10. #10
    Membre éclairé
    Homme Profil pro
    Webdesigner
    Inscrit en
    Août 2014
    Messages
    445
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Webdesigner
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Août 2014
    Messages : 445
    Par défaut Iframe
    Bonjour à tous et bonne année,
    @vandenn3 :
    Tu as déjà réglé le problème de "conflits"
    Mais pour que le ScrollTo fonctionne, je suis obligé de mettre le <script src=> en tête des scripts, MAIS à l'affichage : ma page affiche en tête un élément manquant :/
    Encore un problème d'ordre je suppose ? Mais si je ne le met pas en tête, plus d'effet ScrollTo.
    J'ai donc testé tes codes, à savoir :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    <script src='http://code.jquery.com/jquery-1.11.2.min.js'></script>
    <script>
    $(function(){
        $("div#img3").load("index copie 2.html");
    });
    </script>
    Oui, l'iframe se trouve dans une div nommée "img3", div où il n'y a que l'iframe, iframe qui, pour l'exercice, n'est qu'une copie d'un index dont le body a une hauteur de 800px.
    Résultat : l'iframe disparaît, comme supprimée du html.
    Pareil avec le second code que tu m'as donné.
    Pour le troisième, l'iframe apparait comme avant, donc pas en pleine page, mais en bandeau avec le haut de la page (scrollable).
    Voilà, as-tu une idée ?
    encore Merci et de nouveau BONNE ANNEE !
    dh

  11. #11
    Membre éprouvé
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2014
    Messages
    48
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 28
    Localisation : Belgique

    Informations professionnelles :
    Activité : Lycéen

    Informations forums :
    Inscription : Mars 2014
    Messages : 48
    Par défaut
    C'est normal que l'iframe disparait.
    Ce code permet de récupérer le contenu d'une page html et de l'insérer dans un élément de la page actuelle (donc plus besoin d'iframe). Un exemple:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
     
    <div id='img3'></div>
     
    <script src='http://code.jquery.com/jquery-1.11.2.min.js'></script>
    <script>
    $(function(){
        $("div#img3").load("page_a_inclure.html");
    });
    </script>
    Bonne année aussi !

  12. #12
    Membre éclairé
    Homme Profil pro
    Webdesigner
    Inscrit en
    Août 2014
    Messages
    445
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Webdesigner
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Août 2014
    Messages : 445
    Par défaut
    SLt,
    Quelle réactivité
    Bon, j'ai mis le script src en tête.
    Tenté de mettre le script juste après (je ne pense pas que ce soit recommandé !?) et puis juste avant le </head> (comme ça l'est actuellement)
    et dans le html, uniquement :
    Code html : Sélectionner tout - Visualiser dans une fenêtre à part
    <div id='img3'></div>
    Je n'ai plus d'objet manquant signalé, le ScrollTo fonctionne toujours mais l'Iframe n'apparait toujours pas.
    Je me suis demandé si cela ne venait pas des CSS, j'ai beau avoir changé les valeurs, toujours rien. Pour info :
    Code css : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
                #img3 {
    	width: 100%;
    	/* [disabled]height: 100%; */
    	margin: 0px;
    	padding-top: 0px;
    	padding-left: 0px;
    	padding-bottom: 0px;
    }
                .iframe {
    	width: 100%;
    }
    La classe iframe n'est plus utilisée, j'avais tenté de résoudre le prob de départ (hauteur de l'iframe) avec cette classe en multipliant les tests height car cela ne fonctionnait pas avec #img3.
    Ce que je désire n'est peut-être pas réalisable : avoir dans mon site une iframe qui soit donc de width: 100%/height : auto (100% de la page html) et non scrollable !?
    Encore merci pour ton aide
    dh

  13. #13
    Membre éprouvé
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2014
    Messages
    48
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 28
    Localisation : Belgique

    Informations professionnelles :
    Activité : Lycéen

    Informations forums :
    Inscription : Mars 2014
    Messages : 48
    Par défaut
    Ce code fonctionne chez moi, mais ne génère pas d'erreur si l'url du fichier à inclure est fausse. Est-tu sur qu'elle est bonne?

  14. #14
    Membre éclairé
    Homme Profil pro
    Webdesigner
    Inscrit en
    Août 2014
    Messages
    445
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Webdesigner
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Août 2014
    Messages : 445
    Par défaut
    Slt vandenn3,
    Ah mais je ne dis pas que le code n'est pas bon, je dis juste qu'il ne fonctionne pas chez moi, et l'URL est bonne : l'iframe apparait bien sans le code :/
    Je ne sais que te dire de plus ? Voici l'intégralité du head
    Code html : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>page_test</title>
     
        <link href='http://fonts.googleapis.com/css?family=Nunito:300' rel='stylesheet' type='text/css'>
        <link href="css/style.css" rel="stylesheet" type="text/css" media="screen"/>
     
            <script src="js/prefixfree.min.js"></script>
            <link href='http://fonts.googleapis.com/css?family=Poiret+One' rel='stylesheet' type='text/css'>
            <link href='http://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css'>
            <link href='http://fonts.googleapis.com/css?family=Lora' rel='stylesheet' type='text/css'>
    		<link href='http://fonts.googleapis.com/css?family=Quicksand' rel='stylesheet' type='text/css'>
            	<link href="css/style.css" rel="stylesheet" type="text/css" media="screen"/>
            	<style type="text/css">
                    #img1 {
            width: 100%;
            height: 100%;
            background-color: #FFFFFF;
            padding-top: 0px;
            margin-bottom: 0px;
            bottom: 0px;
            position: static;
            top: 800px;
    }
                #img2 {
            width: 80%;
            height: 800px;
            background-image: url(../../LDDC/img/bg.jpg);
            background-position: center 80px;
            background-size: cover;
            background-repeat: no-repeat;
            margin-left: auto;
            margin-right: auto;
            /* [disabled]position: relative; */
            top: 80px;
            margin-top: 80px;
            
    }
                #img3 {
            width: 100%;
            /* [disabled]height: 100%; */
            margin: 0px;
            padding-top: 0px;
            padding-left: 0px;
            padding-bottom: 0px;
    }
                #img6 {
            width: 100%;
            height: auto;
            padding-bottom: 800px;
    }
        
                h3 {
            color: #000000;
            text-align: center;
            letter-spacing: -2px;
            font-family: 'Poiret One', cursive;
            font-size: 20px;
            /* [disabled]line-height: 0px; */
            vertical-align: bottom;
    }
                #fond1 {
            background-image: url(../../LDDC/img/bg1.jpg);
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
    }
                .image {
            width: 100%;
            height: auto;
            margin-top: -80px;
    }
                #texte {
            width: 100%;
            height: auto;
            padding-top: 50px;
    }
            #footer {
            width: 100%;
            height: 20px;
            bottom: -150px;
            left: 0px;
            right: 0px;
            position: absolute;
            background-color: #000000;
            text-shadow: 0px 0px;
            color: #FFFFFF;
            padding-top: 10px;
    }
     
                </style>
        <script src='http://code.jquery.com/jquery-1.11.2.min.js'></script>
        <script type="text/javascript" src="fancybox/jquery-1.4.3.js"></script>
    	<script type="text/javascript" src="js/localscroll/jquery.localscroll.js"></script>
    	<script type="text/javascript" src="js/localscroll/jquery.scrollTo.js"></script>
    	<script type="text/javascript" src="js/lancement.js"></script><!-- permet le lancement de la fonction de scroll -->
    <!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.--><script>var __adobewebfontsappname__="dreamweaver"</script><script src="http://use.edgefonts.net/antic:n4:default;actor:n4:default;poiret-one:n4:default;alfa-slab-one:n4:default;anonymous-pro:n4:default;inconsolata:n5:default.js" type="text/javascript"></script>
    	<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" />
    	<script type="text/javascript" src="fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
    	<script type="text/javascript" src="fancybox/jquery.fancybox-1.3.4.pack.js"></script>
     
    	<script type="text/javascript">
                    $(document).ready(function() {
                    $('a[rel=diaporama_group]').fancybox({
                                    'transitionIn'          : 'elastic',
                                    'transitionOut'         : 'none',
                                    'titlePosition'         : 'over',
                                    'titleFormat'           : function(title, currentArray, currentIndex, currentOpts) {
                                            return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
                                    }
                            });
                            
                            $('#LienIframe').fancybox({
                                    'width' : '75%',
                                    'height' : '75%',
                                    'autoScale' : false,
                                    'transitionIn' : 'none',
                                    'transitionOut' : 'none',
                                    'type' : 'iframe'
                            });
                    });
            </script>
        <script>
    $(function(){
        $("div#img3").load("index copie 2.html");
    });
    </script>
    </head>
    Je ne sais pas si cela peut t'aider ? A noter que l'effet scrollTo est considérablement ralenti avec le code. Encore qq chose de mal placée ?
    Bonne soirée et merci,
    dh

  15. #15
    Membre éprouvé
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2014
    Messages
    48
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 28
    Localisation : Belgique

    Informations professionnelles :
    Activité : Lycéen

    Informations forums :
    Inscription : Mars 2014
    Messages : 48
    Par défaut
    Heu il y a toujours 2 fois la bibli jquery dans ton head ?!?

    Je pensait que tu avais déja supprimé un des 2
    tu insère donc 2 fois la bibli dans ton code. il faut donc supprimer un des 2
    http://www.developpez.net/forums/d14...x/#post8081822
    Tu devrais remplacer
    Code html : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    <script src='http://code.jquery.com/jquery-1.11.2.min.js'></script>
    <script type="text/javascript" src="fancybox/jquery-1.4.3.js"></script>
    par
    Code html : Sélectionner tout - Visualiser dans une fenêtre à part
    <script type="text/javascript" src="fancybox/jquery-1.4.3.js"></script>
    Donc supprimer jquery-1.11.2.min.js

  16. #16
    Membre éclairé
    Homme Profil pro
    Webdesigner
    Inscrit en
    Août 2014
    Messages
    445
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Webdesigner
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Août 2014
    Messages : 445
    Par défaut
    Snif' :/ Oui, j'ai retiré la biblio, mais suite à ton message d'aujourd'hui :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    <div id='img3'></div>
     
    <script src='http://code.jquery.com/jquery-1.11.2.min.js'></script>
    <script>
    $(function(){
        $("div#img3").load("page_a_inclure.html");
    });
    </script>
    Je l'ai remis (sans trop réfléchir)
    J'ai retenté cette méthode :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    <script>
      $(document).ready(function () {
        $('iframe').iframeAutoHeight({debug: true});
      });
    </script>
    	<div id="img3"><iframe src="index copie 2.html" class="hauteur-auto" scrolling="no" frameborder="0"></iframe>
    <script>
      $('iframe.hauteur-auto').iframeAutoHeight({minHeight: 400});
    </script></div>
    Là, c'est une vignette (environ 50px de largeur (?) qui s'affiche avec que le haut de la page invitée (changer le minHeight ne donne rien). Ce qui est étonnant, c'est que dans tout ce que j'ai testé, les rares fois ou l'iframe s'est affichée, c'était soit en vignette (avec ou sans scrollbar); où sans aucun script : width:100% mais affichage "en bandeau". Comme si la div avait une hauteur limitée. Car il me semble bien que la hauteur est à chaque fois identique (que la largeur de l'iframe soit de 50px ou de 100%). Ton script peut peut-être fonctionner chez moi, mais n'a peut-être pas l'espace nécessaire pour afficher l'iframe, d'où un blanc à la place... je pense que le prob ne vient pas de ton script que je pense parfait.
    Voilà les seuls indices que je peux donner
    Bonne soirée et encore merci
    dh

  17. #17
    Membre éprouvé
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2014
    Messages
    48
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 28
    Localisation : Belgique

    Informations professionnelles :
    Activité : Lycéen

    Informations forums :
    Inscription : Mars 2014
    Messages : 48
    Par défaut
    Si tu pense que c'est ton code le problème, pourrait tu copier-coller tout ton code ici? ainsi on peux tester ce code chez nous pour essayer de trouver ce qui ne va pas?

  18. #18
    Membre éclairé
    Homme Profil pro
    Webdesigner
    Inscrit en
    Août 2014
    Messages
    445
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Webdesigner
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Août 2014
    Messages : 445
    Par défaut
    Slt vandenn3,
    Plutôt que de t'envoyer le code de ma page qui est un vrai bordel (avec vidéo, test de fancybox, slider etc..., bref : une page de travail), j'ai repris la page de base avec le <head>
    de ma page (avec des scripts qui pour le coup ne sont plus nécessaires). Même problème :/
    la page :
    Code html : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Fonction scrollTo démo</title>
     
        <link href='http://fonts.googleapis.com/css?family=Nunito:300' rel='stylesheet' type='text/css'>
        <link href="css/style.css" rel="stylesheet" type="text/css" media="screen"/>
     
            <script src="js/prefixfree.min.js"></script>
            <link href='http://fonts.googleapis.com/css?family=Poiret+One' rel='stylesheet' type='text/css'>
            <link href='http://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css'>
            <link href='http://fonts.googleapis.com/css?family=Lora' rel='stylesheet' type='text/css'>
    		<link href='http://fonts.googleapis.com/css?family=Quicksand' rel='stylesheet' type='text/css'>
            	<link href="css/style.css" rel="stylesheet" type="text/css" media="screen"/>
            	<style type="text/css">
     
                h3 {
            color: #000000;
            text-align: center;
            letter-spacing: -2px;
            font-family: 'Poiret One', cursive;
            font-size: 20px;
            /* [disabled]line-height: 0px; */
            vertical-align: bottom;
    }
     
     
              #footer {
            width: 100%;
            height: 20px;
            bottom: -150px;
            left: 0px;
            right: 0px;
            position: absolute;
            background-color: #000000;
            text-shadow: 0px 0px;
            color: #FFFFFF;
            padding-top: 10px;
    }
                </style>
        <script type="text/javascript" src="fancybox/jquery-1.4.3.js"></script>
    	<script type="text/javascript" src="js/localscroll/jquery.localscroll.js"></script>
    	<script type="text/javascript" src="js/localscroll/jquery.scrollTo.js"></script>
    	<script type="text/javascript" src="js/lancement.js"></script><!-- permet le lancement de la fonction de scroll -->
    <!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.--><script>var __adobewebfontsappname__="dreamweaver"</script><script src="http://use.edgefonts.net/antic:n4:default;actor:n4:default;poiret-one:n4:default;alfa-slab-one:n4:default;anonymous-pro:n4:default;inconsolata:n5:default.js" type="text/javascript"></script>
    	<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" />
    	<script type="text/javascript" src="fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
    	<script type="text/javascript" src="fancybox/jquery.fancybox-1.3.4.pack.js"></script>
     
    	<script type="text/javascript">
                    $(document).ready(function() {
                    $('a[rel=diaporama_group]').fancybox({
                                    'transitionIn'          : 'elastic',
                                    'transitionOut'         : 'none',
                                    'titlePosition'         : 'over',
                                    'titleFormat'           : function(title, currentArray, currentIndex, currentOpts) {
                                            return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
                                    }
                            });
                            
                            $('#LienIframe').fancybox({
                                    'width' : '75%',
                                    'height' : '75%',
                                    'autoScale' : false,
                                    'transitionIn' : 'none',
                                    'transitionOut' : 'none',
                                    'type' : 'iframe'
                            });
                    });
            </script>
    <script>
    $(function(){
        $("div#img3").load("index copie 2.html");
    });
    </script>
    </head>
     
    <body>
     
    <div id="header">
     
    	<div id="menu">
    		<ul>
    			<li><a href="#top">Accueil</a></li>
    			<li><a href="#img1">Image 1</a></li>
    			<li><a href="#img2">Image 2</a></li>
    			<li><a href="#img3">Image 3</a></li>
    			<li><a href="#img4">Image 4</a></li>
    			<li><a href="#img5">Image 5</a></li>
    			<li><a href="#img6">Image 6</a></li>
    		</ul>
    	</div><!-- #menu -->
     
    </div><!-- #header -->
     
    <div id="container">
     
    	<div id="top"></div>
     
    	<div id="img1"></div>
    	<div class="image-ombre"><img src="img/1.jpg" alt="image 1" title="image 1" /></div>
     
    	<div id="img2"></div>
    	<div class="image-ombre"><img src="img/2.jpg" alt="image 2" title="image 2" /></div>
     
    	<div id="img3"></div>
     
    	<div id="img4"></div>	
    	<div class="image-ombre"></div>
     
    	<div id="img5"></div>
    	<div class="image-ombre"><img src="img/5.jpg" alt="image 5" title="image 5" /></div>
     
    	<div id="img6"></div>
    	<div class="image-ombre"><img src="img/6.jpg" alt="image 6" title="image 6" /></div>
     
    	<div id="espace-bas"></div>
     
    </div><!-- #container -->
     
    </body>
    </html>

    Le fichier CSS externe de ma page (je pense que c'est sans doute la cause du prob !?)
    Je n'y ai jamais fait le ménage, désolé. Supprimer des choses est quelque chose que je fais minutieusement car, avec mon manque d'expérience/connaissances, j'ai pour habitude de supprimer des choses primordiales. Donc plein de trucs inutiles dans ce fichier :/
    Donc voici les CSS (les styles de scollTo commencent ligne 945) :
    Code css : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
    754
    755
    756
    757
    758
    759
    760
    761
    762
    763
    764
    765
    766
    767
    768
    769
    770
    771
    772
    773
    774
    775
    776
    777
    778
    779
    780
    781
    782
    783
    784
    785
    786
    787
    788
    789
    790
    791
    792
    793
    794
    795
    796
    797
    798
    799
    800
    801
    802
    803
    804
    805
    806
    807
    808
    809
    810
    811
    812
    813
    814
    815
    816
    817
    818
    819
    820
    821
    822
    823
    824
    825
    826
    827
    828
    829
    830
    831
    832
    833
    834
    835
    836
    837
    838
    839
    840
    841
    842
    843
    844
    845
    846
    847
    848
    849
    850
    851
    852
    853
    854
    855
    856
    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    912
    913
    914
    915
    916
    917
    918
    919
    920
    921
    922
    923
    924
    925
    926
    927
    928
    929
    930
    931
    932
    933
    934
    935
    936
    937
    938
    939
    940
    941
    942
    943
    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    954
    955
    956
    957
    958
    959
    960
    961
    962
    963
    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    999
    1000
    1001
    1002
    1003
    1004
    1005
    1006
    1007
    1008
    1009
    1010
    1011
    1012
    body {
    	width: 100%;
    	text-align: center;
    	margin: 0px;
    	padding: 0px;
    }
    			#header{
    	height: 40px;
    	width: 100%;
    	margin: 0px;
    	padding: 0px;
    	background-color: rgba(0,0,0,0.1);
    			}
    h1, h2 {
    	text-align:center;
    	margin-top:0;
    }
    h1 {
    	padding: 1em 0;
    	font: bold 40px 'Poiret One', cursive;
    	white-space: pre;
    	vertical-align: -20px;
    }
    h1 span {
    	display: block;
    	line-height: 1em;
    	font-size: 0.55em;
    	margin-bottom: 0;
    	margin-right: 0;
    }
    h1 .cursive {
    	/* [disabled]font-size: 1.1em; */
    	/* [disabled]line-height: 0.5em; */
    	/* [disabled]color: #bd9b83; */
    	margin: 0 0 0 0px;
    }
    #content{
    			}
    .button {
    	padding: 15px;
    	width: auto;
    	height: auto;
    	margin: 0px;
    	color: #000000;
    	font-family: 'PT Sans', sans-serif;
    	border-spacing: 0px 0px;
    	/* [disabled]left: -50px; */
    }
    .button:hover {
    	background-color: rgba(0,0,0,0.1);
    	color: #FFFFFF;
    	border-radius: 0px;
    	/* [disabled]border-bottom-width: thin; */
    	/* [disabled]border-bottom-style: solid; */
    	/* [disabled]border-bottom-color: #FFFFFF; */
    }
    figure {
    	display: inline-block;
    	width: 25%;
    	/* [disabled]height: 100%; */
    	padding: 0px;
    	position: relative;
    	margin-bottom: 0px;
    	margin-left: 0px;
    	margin-right: 0px;
    }
    a {
    	text-decoration: none;
    	/* [disabled]color: #8f6b51; */
    }
    a:hover,
    a:focus {
    }
    .sread {
    	position: absolute;
    	left:-9999px;
    }
    .cursive {
    	font-family: 'Mr Dafoe', cursive;
    }
    .center {
    	text-align: center;
    }
     
    #slideshow {
    	width: 100%;
    	height: auto;
    	/* [disabled]background: #FFF; */
    	/* [disabled]background: -webkit-linear-gradient(#FFF, #FFF 20%, #EEE 80%, #DDD); */
    	/* [disabled]background: linear-gradient(#FFF, #FFF 20%, #EEE 80%, #DDD); */
    	/* [disabled]background: -ms-linear-gradient(#FFF, #FFF 20%, #EEE 80%, #DDD); */
    	/* [disabled]background: -o-linear-gradient(#FFF, #FFF 20%, #EEE 80%, #DDD); */
    	/* [disabled]background: linear-gradient(#FFF, #FFF 20%, #EEE 80%, #DDD); */
    	/* [disabled]-webkit-border-radius: 2px 2px 2px 2px; */
    	/* [disabled]-moz-border-radius: 2px 2px 2px 2px; */
    	/* [disabled]-moz-box-shadow: 0 0 3px rgba(0,0,0, 0.2); */
    	position: relative;
    	top: -85px;
    	margin: 100px 0px 0px;
    	bottom: 0px;
    	padding: 0px;
    }
     
    /* avanced box-shadow : <a href="http://www.creativejuiz.fr/blog/les-tutoriels/ombre-avancees-avec-css3-et-box-shadow" target="_blank">http://www.creativejuiz.fr/blog/les-...-et-box-shadow</a> */
    #slideshow:before,
    #slideshow:after {
    	position: absolute;
    	/* [disabled]display: block; */
    	width: 100%;
    	height: 20px;
    	/* [disabled]content: " "; */
    	/* [disabled]background: rgba(0,0,0,0.1); */
    	/* [disabled]-webkit-border-radius: 50%; */
    	/* [disabled]-moz-border-radius: 50%; */
    	border-radius: 50%;
    	/* [disabled]-webkit-box-shadow: 0 0 rgba(0,0,0, 0.4),0 20px 10px rgba(0,0,0, 0.7); */
    	/* [disabled]-moz-box-shadow: 0 0 3px rgba(0,0,0, 0.4), 0 20px 10px rgba(0,0,0, 0.7); */
    	/* [disabled]box-shadow: 0 0 rgba(0,0,0, 0.4),0 20px 10px rgba(0,0,0, 0.7); */
    	z-index: -10;
    }
    #slideshow:before {
    	left: 0;
    	/* [disabled]-webkit-transform: rotate(-4deg); */
    	/* [disabled]-moz-transform: rotate(-4deg); */
    	/* [disabled]-ms-transform: rotate(-4deg); */
    	/* [disabled]-o-transform: rotate(-4deg); */
    }
    #slideshow:after {
    	right: 0;
    	/* [disabled]-webkit-transform: rotate(4deg); */
    	/* [disabled]-moz-transform: rotate(4deg); */
    	/* [disabled]-ms-transform: rotate(4deg); */
    	/* [disabled]-o-transform: rotate(4deg); */
    }
    #slideshow .commands {
    	position: absolute;
    	top: 0px;
    	border-bottom: 0;
    	/* [disabled]font-family: 'Amaranth', Arial, Verdana, sans-serif; */
    	/* [disabled]font-size: 1.3em; */
    	/* [disabled]color: #aaa; */
    	/* [disabled]text-decoration: none; */
    	/* [disabled]background-color: #eee; */
    	/* [disabled]background-image: -webkit-linear-gradient(#fff,#ddd); */
    	/* [disabled]background-image: -moz-linear-gradient(#fff,#ddd); */
    	/* [disabled]background-image: -ms-linear-gradient(#fff,#ddd); */
    	/* [disabled]background-image: -o-linear-gradient(#fff,#ddd); */
    	/* [disabled]background-image: linear-gradient(#fff,#ddd); */
    	/* [disabled]text-shadow: 0 0 1px #aaa; */
    	-webkit-border-radius: 50%;
    	-moz-border-radius: 50%;
    	/* [disabled]-webkit-box-shadow: 1px 1px; */
    	-moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    	/* [disabled]box-shadow: 1px 1px; */
    	/* [disabled]padding-bottom: 5px; */
    	/* [disabled]padding-left: 13px; */
    	/* [disabled]padding-right: 13px; */
    	padding-top: 0px;
    	/* [disabled]border-top-left-radius: 50%; */
    	/* [disabled]border-top-right-radius: 50%; */
    	/* [disabled]border-bottom-right-radius: 50%; */
    	/* [disabled]border-bottom-left-radius: 50%; */
    }
    #slideshow .commands:after {
    	position: absolute;
    	bottom: 65px;
    	left: -18px;
    	/* [disabled]content: attr(title); */
    	/* [disabled]width: 50px; */
    	/* [disabled]background: #fff; */
    	font-family: Georgia, Times, serif;
    	font-size: 14px;
    	text-align: center;
    	text-shadow: 0 0 0;
    	opacity: 0;
    	/* [disabled]-webkit-border-radius: 12px; */
    	/* [disabled]-moz-border-radius: 12px; */
    	-webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    	/* [disabled]-moz-box-shadow: 1px 1px 4px rgba(0,0,0,0.4); */
    	box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    	/* [disabled]-webkit-transition: opacity 0.7s, bottom 0.7s; */
    	/* [disabled]-moz-transition: opacity 0.7s, bottom 0.7s; */
    	/* [disabled]transition: opacity 0.7s, bottom 0.7s; */
    	/* [disabled]padding-bottom: 12px; */
    	/* [disabled]padding-left: 12px; */
    	/* [disabled]padding-right: 12px; */
    	/* [disabled]padding-top: 12px; */
    }
    #slideshow .commands:before {
    	position: absolute;
    	bottom: 55px;
    	left: 13px;
    	content: " ";
    	width: 1px;
    	height: 1px;
    	border-top: 10px solid #fff;
    	border-left: 5px solid transparent;
    	border-right: 5px solid transparent;
    	z-index: 100;
    	opacity: 0;
    	-webkit-transition: opacity 0.7s, bottom 0.7s;
    	-moz-transition: opacity 0.7s, bottom 0.7s;
    	transition: opacity 0.7s, bottom 0.7s;
    }
    #slideshow .commands:hover:before {
    	opacity: 1;
    }
    #slideshow .commands:hover:after {
    	opacity: 1;
    }
    #slideshow .commands:focus {
    	outline: 0;
    	-webkit-transform: translate(1px, 2px);
    	-moz-transform: translate(1px, 2px);
    	-ms-transform: translate(1px, 2px);
    	-o-transform: translate(1px, 2px);
    	transform: translate(1px, 2px);
    }
    #slideshow .commands:active {
    	-webkit-transform: translate(0, 1px);
    	-moz-transform: translate(0, 1px);
    	-ms-transform: translate(0, 1px);
    	-o-transform: translate(0, 1px);
    	transform: translate(0, 1px);
    }
    #slideshow .prev {
    	left: -47px;
    }
    #slideshow .next {
    	right: -48px;
    }
    #slideshow .prev,
    #slideshow .next {
    	display:none;
    }
    #slideshow .prev,
    #slideshow .next {
    	display:none;
    }
    #slideshow .commands1 {
    	display: block;
    }
     
    /* play/pause commands */
    .play_commands {
    	position: absolute;
    	width: 22px;
    	height: 22px;
    	top: 25px;
    	right: 25px;
    	z-index: 10;
    	text-indent: -9999px;
    	border: 0 none;
    	opacity: 0;
    	-webkit-transition: opacity 1s, right 1s;
    	-moz-transition: opacity 1s, right 1s;
    	transition: opacity 1s, right 1s;
    }
    .play { right: 55px; cursor: default; }
     
    .pause:hover { border:0 none; }
    .play_commands:focus { outline:0; }
     
    #slideshow:hover .pause,
    #sl_play:target ~ #slideshow:hover .pause,
    .play_commands:focus {
    	opacity: 1;
    }
    .sl_command:target ~ #slideshow:hover .pause,
    #sl_pause:target ~ #slideshow:hover .pause {
    	opacity: 0;
    }
    .pause:after,
    .pause:before {
    	position: absolute;
    	display: block;
    	content: " ";
    	top:0;
    	width:38%;
    	height: 22px;
    	background: #fff;
    	background: rgba(255,255,255,0.5);
    }
    .pause:after {
    	right:0;
    }
    .pause:before {
    	left:0;
    }
    .play {
    	width: 1px;
    	height: 1px;
    	border-top: 10px solid transparent;
    	/* [disabled]border-left: 20px solid rgba(255,255,255,0.5); */
    	border-left: 20px solid rgba(255,255,255,0.5);
    	border-bottom: 10px solid transparent;
    	opacity: 0;
    }
    .play:hover,
    .play:focus {
    	border-bottom: 10px solid transparent;
    }
     
    #slideshow .container {
    	/* [disabled]height: 40%; */
    	overflow: hidden;
    	width: 100%;
    	padding: 0px;
    	position: relative;
    	/* [disabled]margin: -40px 0px 0px; */
    	top: -45px;
    	/* [disabled]bottom: 0px; */
    	background-color: #CC6633;
    }
    /* timeline base */
    #slideshow .container:after {
    	/* [disabled]position: relative; */
    	bottom: 0px;
    	left: 0;
    	content: " ";
    	background: #999;
    	width: 100%;
    	/* [disabled]height: 50%; */
    	top: 0px;
    	margin: -70px 0px 0px;
    }
     
    @-webkit-keyframes slider {
    	0%, 20%, 100%	{ left: 0 }
    	25%, 45%		{ left: -100% }
    	50%, 70%		{ left: -200% }
    	75%, 95%		{ left: -300% }
    }
    @-moz-keyframes slider {
    	0%, 20%, 100%	{ left: 0 }
    	25%, 45%		{ left: -100% }
    	50%, 70%		{ left: -200% }
    	75%, 95%		{ left: -300% }
    }
    @keyframes slider {
    	0%, 20%, 100%	{ left: 0 }
    	25%, 45%		{ left: -100% }
    	50%, 70%		{ left: -200% }
    	75%, 95%		{ left: -300% }
    }
     
    #slideshow .slider {
    	position: relative;
    	left: 0;
    	top: 0px;
    	width: 400%;
    	-webkit-animation: slider 20s infinite;
    	-moz-animation: slider 20s infinite;
    	animation: slider 20s infinite;
    	margin: 0px;
    	padding: 0px;
    }
    .sl_i:target ~ #slideshow .slider {
    	-webkit-transition: left 1s;
    	-moz-transition: left 1s;
    	transition: left 1s;
    }
    .sl_command:target ~ #slideshow .slider {
    	-webkit-transition: opacity 1s;
    	-moz-transition: opacity 1s;
    	transition: opacity 1s;
    }
    #slideshow .c_slider {
    	position: absolute;
    	left: 0px;
    	top: 0px;
    	width: 400%;
    	/* [disabled]height: 310px; */
    	/* [disabled]background: url(img/dummy-640x310-1.jpg) 0 0 no-repeat, url(img/dummy-640x310-2.jpg) 640px 0 no-repeat, url(img/dummy-640x310-3.jpg) 1280px 0 no-repeat, url(img/dummy-640x310-4.jpg) 1920px 0 no-repeat; */
    	right: 0px;
    }
    .sl_i:target ~ #slideshow .c_slider {
    	-webkit-transition: background 1s;
    	-moz-transition: background 1s;
    	transition: background 1s;
    }
     
    #slideshow figure {
    	padding: 0;
    	width: 25%;
    	/* [disabled]height: 100%; */
    	position: relative;
    	margin-bottom: 0px;
    	margin-left: 0px;
    	margin-right: 0px;
    }
     
    @-webkit-keyframes figurer {
    	0%, 25%, 50%, 75%, 100%						{ -webkit-box-shadow: 0 0 65px rgba(0,0,0, 0) inset; box-shadow: 0 0 65px rgba(0,0,0, 0) inset;	}
    	5%, 20%, 30%, 45%, 55%, 70%, 80%, 95%		{ -webkit-box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset;	box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset; }
    }
    @-moz-keyframes figurer {
    	0%, 25%, 50%, 75%, 100%						{ -moz-box-shadow: 0 0 65px rgba(0,0,0, 0) inset; box-shadow: 0 0 65px rgba(0,0,0, 0) inset;	}
    	5%, 20%, 30%, 45%, 55%, 70%, 80%, 95%		{ -moz-box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset;	box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset; }
    }
    @keyframes figurer {
    	0%, 25%, 50%, 75%, 100%						{ -moz-box-shadow: 0 0 65px rgba(0,0,0, 0) inset; box-shadow: 0 0 65px rgba(0,0,0, 0) inset;	}
    	5%, 20%, 30%, 45%, 55%, 70%, 80%, 95%		{ -moz-box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset;	box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset; }
    }
     
    @-webkit-keyframes figcaptionner {
    	0%, 25%, 50%, 75%, 100%						{ right: -5000px;	}
    	5%, 20%, 30%, 45%, 55%, 70%, 80%, 95%		{ right: 10px;		}
    }
    @-moz-keyframes figcaptionner {
    	0%, 25%, 50%, 75%, 100%						{ right: -5000px;	}
    	5%, 20%, 30%, 45%, 55%, 70%, 80%, 95%		{ right: 10px;		}
    }
    @keyframes figcaptionner {
    	0%, 25%, 50%, 75%, 100%						{ right: -5000px;	}
    	5%, 20%, 30%, 45%, 55%, 70%, 80%, 95%		{ right: 10px;		}
    }
    #slideshow figcaption {
    	position: absolute;
    	margin: 0;
    	left: 0;
    	right: 0;
    	text-align: center;
    	letter-spacing: 0.05em;
    	word-spacing: 0.05em;
    	-webkit-animation: figcaptionner 20s infinite;
    	-moz-animation: figcaptionner 20s infinite;
    	animation: figcaptionner 20s infinite;
    	color: #FFFFFF;
    	top: 50px;
    	font: 80px 'Poiret One', cursive;
    }
     
    @-webkit-keyframes timeliner {
    	0%, 25%, 50%, 75%, 100%	{ width: 0;		}
    	20%, 45%, 70%, 90%		{ width: 640px;	}
    }
    @-moz-keyframes timeliner {
    	0%, 25%, 50%, 75%, 100%	{ width: 0;		}
    	20%, 45%, 70%, 90%		{ width: 640px;	}
    }
    @keyframes timeliner {
    	0%, 25%, 50%, 75%, 100%	{ width: 0;		}
    	20%, 45%, 70%, 90%		{ width: 640px;	}
    }
    /* dots styles */
    .dots_commands  {
    	position: relative;
    	top: 32px;
    	padding:0; margin:0;
    	text-align:center;
    }
    .dots_commands li {
    	display:inline;
    	padding:0; margin:0;
    	list-style:none;
    }
    .dots_commands a {
    	position: relative;
    	display:inline-block;
    	height:8px; width: 8px;
    	margin: 0 5px;
    	text-indent: -9999px;
    	background: #fff;
    	border-bottom:0;
     
    	-webkit-border-radius: 50%;
    	-moz-border-radius: 50%;
    	border-radius: 50%;
     
    	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
    	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
    	box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
     
    	z-index:25;
    }
    .dots_commands li + li a {
    	z-index:10;
    }
    @-moz-keyframes dotser {
    	0%, 100% 	{ opacity: 1; left: 0; 		}
     
    	20%			{ opacity: 1; left: 0;		}
    	22%			{ opacity: 0; left: 0;		}
    	23%			{ opacity: 0; left: 18px;	}
    	25%			{ opacity: 1; left: 18px;	}
     
    	45%			{ opacity: 1; left: 18px;	}
    	47%			{ opacity: 0; left: 18px;	}
    	48%			{ opacity: 0; left: 36px;	}
    	50%			{ opacity: 1; left: 36px;	}
     
    	70%			{ opacity: 1; left: 36px;	}
    	72%			{ opacity: 0; left: 36px;	}
    	73%			{ opacity: 0; left: 54px;	}
    	75%			{ opacity: 1; left: 54px;	}
     
    	95%			{ opacity: 1; left: 54px;	}
    	97%			{ opacity: 0; left: 54px;	}
    	98%			{ opacity: 0; left: 0;	}
    }
    @-webkit-keyframes dotser {
    	0%, 100% 	{ opacity: 1; left: 0; 		}
     
    	20%			{ opacity: 1; left: 0;		}
    	22%			{ opacity: 0; left: 0;		}
    	23%			{ opacity: 0; left: 18px;	}
    	25%			{ opacity: 1; left: 18px;	}
     
    	45%			{ opacity: 1; left: 18px;	}
    	47%			{ opacity: 0; left: 18px;	}
    	48%			{ opacity: 0; left: 36px;	}
    	50%			{ opacity: 1; left: 36px;	}
     
    	70%			{ opacity: 1; left: 36px;	}
    	72%			{ opacity: 0; left: 36px;	}
    	73%			{ opacity: 0; left: 54px;	}
    	75%			{ opacity: 1; left: 54px;	}
     
    	95%			{ opacity: 1; left: 54px;	}
    	97%			{ opacity: 0; left: 54px;	}
    	98%			{ opacity: 0; left: 0;	}
    }
    @keyframes dotser {
    	0%, 100% 	{ opacity: 1; left: 0; 		}
     
    	20%			{ opacity: 1; left: 0;		}
    	22%			{ opacity: 0; left: 0;		}
    	23%			{ opacity: 0; left: 18px;	}
    	25%			{ opacity: 1; left: 18px;	}
     
    	45%			{ opacity: 1; left: 18px;	}
    	47%			{ opacity: 0; left: 18px;	}
    	48%			{ opacity: 0; left: 36px;	}
    	50%			{ opacity: 1; left: 36px;	}
     
    	70%			{ opacity: 1; left: 36px;	}
    	72%			{ opacity: 0; left: 36px;	}
    	73%			{ opacity: 0; left: 54px;	}
    	75%			{ opacity: 1; left: 54px;	}
     
    	95%			{ opacity: 1; left: 54px;	}
    	97%			{ opacity: 0; left: 54px;	}
    	98%			{ opacity: 0; left: 0;	}
    }
    .dots_commands li:first-child a:after,
    .dots_commands li:first-child a:before {
    	position: absolute;
    	top: 0; left: 0;
    	content: " ";
    	width: 8px; height: 8px;
    	background: #bd9b83;
    	z-index:20;
    	-webkit-border-radius: 50%;
    	-moz-border-radius: 50%;
    	border-radius: 50%;
     
    	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
    	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
    	box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
    }
    .dots_commands li:first-child a:after {
    	-webkit-animation: dotser 32s infinite; /* webkit can't animate pseudo-element =_= :L: */
    	-moz-animation: dotser 32s infinite; /* thanks moz ! :D */
    	animation: dotser 32s infinite;
    }
    .dots_commands li:first-child a:before {
    	display:none;
    }
     
     
     
     
    /* need a stop ! */
     
    /* actions when target ! */
    .sl_command { display: none; }
     
    .sl_command:target ~ #slideshow .slider,
    .sl_command:target ~ #slideshow figure:after,
    .sl_command:target ~ #slideshow figcaption,
    .sl_command:target ~ #slideshow #timeline,
    .sl_command:target ~ #slideshow .dots_commands li:first-child a:after {
    	-webkit-animation-play-state: paused;
    	-moz-animation-play-state: paused;
    	animation-play-state: paused;
    }
     
    #sl_play:target ~ #slideshow .slider,
    #sl_play:target ~ #slideshow figure:after,
    #sl_play:target ~ #slideshow figcaption,
    #sl_play:target ~ #slideshow #timeline,
    #sl_play:target ~ #slideshow .dots_commands li:first-child a:after {
    	-webkit-animation-play-state: running;
    	-moz-animation-play-state: running;
    	animation-play-state: running;
    }
     
    .sl_command:target ~ #slideshow .pause 	{ opacity:0; }
    .sl_command:target ~ #slideshow .play 	{ opacity:1; right: 25px; cursor: pointer; }
    #sl_play:target ~ #slideshow .pause 	{ opacity:0; }
    #sl_play:target ~ #slideshow .play 		{ opacity:0; right: 55px; cursor: default;}
     
    .sl_i:target ~ #slideshow .slider									{ visibility: hidden }
    .sl_i:target ~ #slideshow .slider figcaption						{ visibility: hidden }
    .sl_i:target ~ #slideshow .dots_commands li:first-child a:after		{ display:none; }
    .sl_i:target ~ #slideshow .dots_commands li:first-child a:before	{ display:block; }}
     
    #sl_i1:target ~ #slideshow .commands								{ display: none; }
    #sl_i1:target ~ #slideshow .commands1								{ display: block; }
    #sl_i1:target ~ #slideshow .c_slider								{ background-position: 0 0, 640px 0, 1280px 0, 1920px 0; }
    #sl_i1:target ~ #slideshow .dots_commands li:first-child a:before	{
    	left: 0;
    	top: 0px;
    	right: 0px;
    	bottom: 0px;
    }
     
    #sl_i2:target ~ #slideshow .commands								{ display: none; }
    #sl_i2:target ~ #slideshow .commands2								{ display: block; }
    #sl_i2:target ~ #slideshow .c_slider								{ background-position: -640px 0, 0 0, 640px 0, 1280px 0; }
    #sl_i2:target ~ #slideshow .dots_commands li:first-child a:before	{ left:18px; }
     
    #sl_i3:target ~ #slideshow .commands								{ display: none; }
    #sl_i3:target ~ #slideshow .commands3								{ display: block; }
    #sl_i3:target ~ #slideshow .c_slider								{ background-position: -1280px 0, -640px 0, 0 0, 640px 0; }
    #sl_i3:target ~ #slideshow .dots_commands li:first-child a:before	{ left:36px; }
     
    #sl_i4:target ~ #slideshow .commands								{ display: none; }
    #sl_i4:target ~ #slideshow .commands4								{ display: block; }
    #sl_i4:target ~ #slideshow .c_slider								{ background-position: -1920px 0, -1280px 0, -640px 0, 0 0; }
    #sl_i4:target ~ #slideshow .dots_commands li:first-child a:before	{ left:54px; }
     
     
     
     
     
    /* EXPLANATIONS */
     
     
    #main .download {
    	text-align: center;
    	/* [disabled]line-height: 1.35em; */
    	/* [disabled]margin-bottom: 1em; */
    	margin-left: 0;
    	margin-right: 0;
    	/* [disabled]margin-top: 3em; */
    }
    #main .download a {
    	position: relative;
    	display:inline-block;
    	padding: 8px 22px 14px;
    	border: 0;
    	color: #fff;
    	background:#8a796d;
    	text-shadow: -1px -1px 0 #60544c;
    	font-weight:bold;
    	overflow: hidden;
     
    	-moz-box-shadow: 0 6px 0 #403c3a;
    	box-shadow: 0 6px 0 rgba(0,0,0,0.7), 0 7px 6px -5px rgba(255,255,255,0.40) inset;
    	border-radius: 12px;
     
    	-webkit-transition: color .5s;
    	-moz-transition: color .5s;
    	transition: color .5s;
    }
    #main .download .arrow {
    	position: relative;
    	top: 5px;
    	display: inline-block;
    	padding: 1px 6px;
    	margin-right: 10px;
    	color: #cabfb6;
    	font-size: 22px;
    	background: rgba(0,0,0,0.1);
    	border: 1px solid rgba(0,0,0,0.2);
    	-webkit-border-radius: 50%;
    	-moz-border-radius: 50%;
    	border-radius: 50%;
    	-webkit-transition: all .5s;
    	-moz-transition: all .5s;
    	transition: all .5s;
    }
    @-webkit-keyframes downloader {
    	0% { top:5px; }
    	45% { top:60px; }
    	49% { opacity: 0; }
    	50% { top: -60px; }
    	51% { opacity: 1; }
    	100% { top:5px; color: #cbbfb5; text-shadow: 1px 1px #777; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
     
    }
    @-moz-keyframes downloader {
    	0% { top:5px; }
    	45% { top:60px; }
    	49% { opacity: 0; }
    	50% { top: -60px; }
    	51% { opacity: 1; }
    	100% { top:5px; color: #cbbfb5; text-shadow: 1px 1px #777; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
     
    }
    @keyframes downloader {
    	0% { top:5px; }
    	45% { top:60px; }
    	49% { opacity: 0; }
    	50% { top: -60px; }
    	51% { opacity: 1; }
    	100% { top:5px; color: #cbbfb5; text-shadow: 1px 1px #777; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
     
    }
    #main .download a:hover,
    #main .download a:focus {
    	color: #cbbfb5;
    }
    #main .download a:hover .arrow,
    #main .download a:focus .arrow {
    	-webkit-animation: downloader .4s forwards;
    	-moz-animation: downloader .4s forwards;
    	animation: downloader .4s forwards;
    }
     
    #main .download .file {
    	display: block;
    	font-weight:normal;
    	font-size: 0.6em;
    	margin-left: 40px;
    	line-height: 0.55em;
    }
    #main .download .already {
    	font-size: 0.7em;
    	line-height: 2.4em;
    }
    #main .download .nb {
    	font-weight:bold;
    }
     
    #main {
    	padding: 10px;
    	color: #8a796d;
    	font-family: font-family: 'Lora', serif;
    	text-align:left;
    	text-shadow: -1px -1px 0 rgba(255,255,255,0.1);
    }
    #main h2, #main h3 {
    	margin-top: 0px;
    	font-size: 2em;
    	font-family: "Amaranth", cursive;
    	text-align: left;
    }
    #main h3 {
    	margin-top: 0px;
    	font-size: 1.4em;
    }
    #main p {
    	line-height: 1.85em;
    	margin-top: 0em;
    }
    #main  .col2,
    #main .col2 {
    	position: relative;
    	margin-top: 0em;
    	-webkit-column-count: 2;
    	-webkit-column-gap: 3em;
    	-moz-column-count: 2;
    	-moz-column-gap: 3em;
    	column-count: 2;
    	column-gap: 3em;
    }
    #main .col2 + .col2 {
    	margin-top: 0em;
    }
    #main p + p:before {
    	position: absolute;
    	content: "*";
    	width: 100%;
    	text-align: center;
    	top: -1.2em;
    	font-size: 2em;
    	color: #e1d7cf;
    	text-shadow: 1px 1px 0 rgba(0,0,0,0.15);
    }
     
     
    #sharrre {
    	float: left;
    	margin: 0 22%;
    	padding: 45px 0;
    	padding-left: 20px;
    	overflow: hidden;
    }
    .sharrre {
    	margin: 0 25px;
    	float:left;
    }
    .sharrre .box {
    	float:left;
    	width:80px;
    	height:75px;
    	margin-bottom: 4px;
    	background: #dee7ea; /* Old browsers */
    	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eee), color-stop(20%,#eee), color-stop(100%,#e5eef2)); /* Chrome,Safari4+ */
    	background: -webkit-linear-gradient(top, #eee 0%,#eee 20%,#e5eef2 100%); /* Chrome10+,Safari5.1+ */
    	background: -moz-linear-gradient(top, #eee 0%, #eee 20%, #e5eef2 100%); /* FF3.6+ */
    	background: -o-linear-gradient(top, #eee 0%,#eee 20%,#e5eef2 100%); /* Opera 11.10+ */
    	background: -ms-linear-gradient(top, #eee 0%,#eee 20%,#e5eef2 100%); /* IE10+ */
    	background: linear-gradient(top, #eee 0%,#eee 20%,#e5eef2 100%); /* W3C */
    	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#e5eef2',GradientType=0 ); /* IE6-9 */
     
    	-webkit-border-radius:7px;
    	-moz-border-radius:7px;
    	border-radius:7px;
     
    	-webkit-box-shadow:0 1px 0 #C3C3C3, 0 6px 0 #54a2bc, 0px 2px 3px 0px rgba(47, 58, 61, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 1);
    	-moz-box-shadow:0 1px 0 #C3C3C3, 0 6px 0 #54a2bc, 0px 2px 3px 0px rgba(47, 58, 61, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 1);
    	box-shadow:0 1px 0 #C3C3C3, 0 6px 0 #54a2bc, 0px 2px 3px 0px rgba(47, 58, 61, 0.25), inset 0px 2px 0px 0px rgba(255, 255, 255, 1);
    }
    #facebook .box {
    	-webkit-box-shadow:0 1px 0 #C3C3C3, 0 6px 0 #28437a, 0px 2px 3px 0px rgba(47, 58, 61, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 1);
    	-moz-box-shadow:0 1px 0 #C3C3C3, 0 6px 0 #28437a, 0px 2px 3px 0px rgba(47, 58, 61, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 1);
    	box-shadow:0 1px 0 #C3C3C3, 0 6px 0 #28437a, 0px 2px 3px 0px rgba(47, 58, 61, 0.25), inset 0px 2px 0px 0px rgba(255, 255, 255, 1);
    }
    #googleplus .box {
    	-webkit-box-shadow:0 1px 0 #C3C3C3, 0 6px 0 #404040, 0px 2px 3px 0px rgba(47, 58, 61, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 1);
    	-moz-box-shadow:0 1px 0 #C3C3C3, 0 6px 0 #404040, 0px 2px 3px 0px rgba(47, 58, 61, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 1);
    	box-shadow:0 1px 0 #C3C3C3, 0 6px 0 #404040, 0px 2px 3px 0px rgba(47, 58, 61, 0.25), inset 0px 2px 0px 0px rgba(255, 255, 255, 1);
    }
    .sharrre .box:active,
    #facebook .box:active,
    #googleplus .box:active {
    	margin-top:4px;
    	margin-bottom: 0;
    	-webkit-box-shadow:0 0 2px #777;
    	-moz-box-shadow:0 0 2px #777;
    	box-shadow:0 0 2px #777;
    }
    .sharrre .count,
    .sharrre .share {
    	display:inline-block;
    	width:78px;
    	text-align:center;
    	font-weight:bold;
    }
    .sharrre .count {
    	position:relative;
    	height:40px;
    	border:1px solid #b9b9b9;
    	border-width:1px 1px 0 1px;
    	font-size:20px;
    	color:#444444;
    	text-shadow: 0px 1px 0px #ffffff;
    	line-height:40px;
     
    	-webkit-border-radius:7px 7px 0 0;
    	-moz-border-radius:7px 7px 0 0;
    	border-radius:7px 7px 0 0;
     
    	filter: dropshadow(color=#ffffff, offx=0, offy=1);
    }
    .sharrre .count:before,
    .sharrre .count:after {
    	content:'';
    	position:absolute;
    	display:block;
    	left:49%;
    	width:0; height:0;
    }
    .sharrre .count:before {
    	margin-left:-7px;
    	bottom: -14px;
    	border:solid 7px transparent;
    	border-top-color:#b2c6cc;
    }
    .sharrre .count:after {
    	margin-left:-6px;
    	bottom:-12px;
    	border:solid 6px transparent;
    	border-top-color:#e5eef2;
    }
    .sharrre .share {
    	height:34px;
    	line-height:34px;
    	color:#ffffff;
    	font-size:13px;
    	text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.35);
    	border:1px solid #6fa4b5;
    	border-width:0 1px 1px 1px;
    	background-color:#7ac5df;
     
    	-webkit-border-radius:0 0 7px 7px;
    	-moz-border-radius:0 0 7px 7px;
    	border-radius:0 0 7px 7px;
     
    	-webkit-box-shadow:inset 0px 1px 0px 0px rgba(105, 164, 185, 1), inset 0px -1px 2px 0px rgba(255, 255, 255, 0.6), inset 0px 2px 1px 0px rgba(255, 0, 0, 0.15);
    	-moz-box-shadow:inset 0px 1px 0px 0px rgba(105, 164, 185, 1), inset 0px -1px 2px 0px rgba(255, 255, 255, 0.6), inset 0px 2px 1px 0px rgba(255, 0, 0, 0.15);
    	box-shadow:inset 0px 1px 0px 0px rgba(105, 164, 185, 1), inset 0px -1px 2px 0px rgba(255, 255, 255, 0.6), inset 0px 2px 1px 0px rgba(255, 0, 0, 0.15);
    	filter: dropshadow(color=#d1d1d1, offx=0, offy=1);
    }
    .sharrre .share span {
    	display: inline-block;
    	width:18px;
    	height:10px;
    	background:url("img/sharrre_icons.png") no-repeat scroll 0 0 transparent;
    }
    #facebook .share span {
    	height:12px;
    	background-position:0 -35px;
    }
    #facebook .share {
    	border-color:#35538f;
    	background: #637fbb; /* Old browsers */
    	background: -moz-linear-gradient(top, #637fbb 0%, #49649e 100%); /* FF3.6+ */
    	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#637fbb), color-stop(100%,#49649e)); /* Chrome,Safari4+ */
    	background: -webkit-linear-gradient(top, #637fbb 0%,#49649e 100%); /* Chrome10+,Safari5.1+ */
    	background: -o-linear-gradient(top, #637fbb 0%,#49649e 100%); /* Opera 11.10+ */
    	background: -ms-linear-gradient(top, #637fbb 0%,#49649e 100%); /* IE10+ */
    	background: linear-gradient(top, #637fbb 0%,#49649e 100%); /* W3C */
     
    	-webkit-box-shadow:inset 0px 1px 0px 0px rgba(74, 95, 138, 1), inset 0px -1px 2px 0px rgba(255, 255, 255, 0.4), inset 0px 2px 1px 0px rgba(255, 0, 0, 0.15);
    	-moz-box-shadow:inset 0px 1px 0px 0px rgba(74, 95, 138, 1), inset 0px -1px 2px 0px rgba(255, 255, 255, 0.4), inset 0px 2px 1px 0px rgba(255, 0, 0, 0.15);
    	box-shadow:inset 0px 1px 0px 0px rgba(74, 95, 138, 1), inset 0px -1px 2px 0px rgba(255, 255, 255, 0.4), inset 0px 2px 1px 0px rgba(255, 0, 0, 0.15);
    	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#637fbb', endColorstr='#49649e',GradientType=0 ); /* IE6-9 */
    }
    #googleplus .share {
    	border-color:#303030;
    	background: #626263; /* Old browsers */
    	background: -moz-linear-gradient(top, #626263 0%, #424244 100%); /* FF3.6+ */
    	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#626263), color-stop(100%,#424244)); /* Chrome,Safari4+ */
    	background: -webkit-linear-gradient(top, #626263 0%,#424244 100%); /* Chrome10+,Safari5.1+ */
    	background: -o-linear-gradient(top, #626263 0%,#424244 100%); /* Opera 11.10+ */
    	background: -ms-linear-gradient(top, #626263 0%,#424244 100%); /* IE10+ */
    	background: linear-gradient(top, #626263 0%,#424244 100%); /* W3C */
     
    	-webkit-box-shadow:inset 0px 1px 0px 0px rgba(74, 95, 138, 1), inset 0px -1px 2px 0px rgba(255, 255, 255, 0.4), inset 0px 2px 1px 0px rgba(255, 0, 0, 0.15);
    	-moz-box-shadow:inset 0px 1px 0px 0px rgba(74, 95, 138, 1), inset 0px -1px 2px 0px rgba(255, 255, 255, 0.4), inset 0px 2px 1px 0px rgba(255, 0, 0, 0.15);
    	box-shadow:inset 0px 1px 0px 0px rgba(74, 95, 138, 1), inset 0px -1px 2px 0px rgba(255, 255, 255, 0.4), inset 0px 2px 1px 0px rgba(255, 0, 0, 0.15);
    	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#626263', endColorstr='#424244',GradientType=0 ); /* IE6-9 */
    }
     
    #container {
    	width: 100%;
    	padding-top: 100px;
    	margin: 0 0px;
    	padding-left: 0px;
    	padding-right: 0px;
    	/* [disabled]height: 50%; */
    	bottom: 0px;
    }
     
    #header {
    	width: 100%;
    	height: 50px;
    	position: fixed;
    	top: 0px;
    	left: 0px;
    }
     
    /*------ menu -------*/
     
    #menu {
    	width: 100%;
    	text-align: center;
    	padding: 0px;
    	margin: 15px auto 0 0px;
    }
     
    #menu ul {
    	padding: 0px;
    	list-style: none;
    	margin: 0px 0px 0;
    	font: 15px/20px "Trebuchet MS", Arial;
    }
     
    #menu ul li {
    	display: inline;
    	margin: 0px;
    }
     
    #menu ul li a {
    	text-decoration: none;
    	color: #FFFFFF;
    	margin: 0px;
    }
     
    /*----- ombre image -------*/
    .image-ombre {
    	background: url(../img/ombre-image.png) no-repeat center 306px;
    	height: auto;
    	width: 100%;
    	text-align: center;
    }
     
    /* je definis ici des tailles pour les div img1, img2, etc afin de pouvoir dŽcaler la photo du haut */
     
    #img1, #img2, #img4, #img5, #img6 {
    	height: 100px;
    }
    #img3 {
    	width: 100%;
    	margin: 0px;
    	padding: 0px;
    }
     
    #pied-de-page {
    	height: 240px;
    	background-color: #996633;
    	width: 100%;
    	bottom: -120px;
    	left: 0px;
    	right: 0px;
    	position: absolute;
    }

    Merci pour ton aide et bon après-midi,
    dh

  19. #19
    Membre éclairé
    Homme Profil pro
    Webdesigner
    Inscrit en
    Août 2014
    Messages
    445
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Webdesigner
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Août 2014
    Messages : 445
    Par défaut
    Et je ne sais pas si ton code est bien placé, la page a bcp de mal à scroller. Voir même se bloque. En supprimant juste ton script (ce que je viens de refaire), ScrollTo retrouve ses fonctionnalités :/

  20. #20
    Membre éprouvé
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2014
    Messages
    48
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 28
    Localisation : Belgique

    Informations professionnelles :
    Activité : Lycéen

    Informations forums :
    Inscription : Mars 2014
    Messages : 48
    Par défaut
    Salut,

    essaie de remplacer les espaces dans le nom du fichier (celui qu'il faut inclure) par des underscores par exemple (donc renommer le fichier, et remplacer l'url dans l'inclusion du fichier en javascript).
    Sans sa ton code ne fonctionnait pas non plus chez moi

+ Répondre à la discussion
Cette discussion est résolue.
Page 1 sur 2 12 DernièreDernière

Discussions similaires

  1. mettre un swf dans une iframe dans une page html
    Par petitevero dans le forum Balisage (X)HTML et validation W3C
    Réponses: 3
    Dernier message: 16/04/2011, 02h58
  2. [SP-2007] insérer une iframe dans une page wiki
    Par Ensiaste2006 dans le forum SharePoint
    Réponses: 1
    Dernier message: 23/03/2010, 14h36
  3. Réponses: 1
    Dernier message: 02/06/2009, 18h16
  4. afficher l'url d'une iframe dans la page
    Par Nicopilami dans le forum Général JavaScript
    Réponses: 4
    Dernier message: 13/01/2009, 09h14
  5. Récup valeur d'une iframe dans la page parent
    Par Invité dans le forum Général JavaScript
    Réponses: 1
    Dernier message: 01/09/2008, 21h41

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo