AccueilDernières imagesRechercherS'enregistrerConnexion

Forum de graphisme, codage et game design proposant des tutoriels, astuces, libres services et commandes dans les domaines de l'infographie amateur, de l'intégration web (HTML et CSS essentiellement) ainsi que dans la conception de RPG sur forum.

Le Deal du moment :
Display Star Wars Unlimited Ombres de la Galaxie : ...
Voir le deal

    Petit souci avec "Design changeant selon l'heure banniere et fond"

    Lilou O'Neill
    Lilou O'Neill
    FémininAge : 24Messages : 62

    Mar 27 Sep 2016 - 1:10

    Bonjour ! :siffle:

    Alors cela fait deux semaine que je suis les instruction à la lettre mais sans observer l'effet attendu.
    Je ne comprends pas du tout. Quelqu'un pourrait m'aider s'il vous plait ?
    Peut-être que je passe à côté de quelque chose qui parait évident pour ceux qui ont l'habitude du codage...

    Merci beaucoup. :sad: :innocent:
    Sparrow-style
    Sparrow-style
    FémininAge : 39Messages : 32055

    Mar 27 Sep 2016 - 9:39

    Salut !

    Il va être compliqué de trouver le problème sans sources dans lesquelles le chercher Razz Peux-tu mettre l'adresse du forum et nous copier-coller les codes que tu as mis stp ?



    sign
    Lilou O'Neill
    Lilou O'Neill
    FémininAge : 24Messages : 62

    Mar 27 Sep 2016 - 15:01

    Oui ! Bien sûr !
    Merci beaucoup d'avoir répondu. :3
    Alors c'est un forum test. oo

    http://thedarkvampires.forumactif.com/

    Et voici les codes :

    Javascript :
    Code:
    jQuery(document).ready(function(){var date = new Date();
            var heure = date.getHours();
            if(heure >= 8 && heure < 19){
              $(".banniere").css("background-image", "url('http://i.imgur.com/QcxTtIX.png')");
              $("body").css("background-image", "url('https://pixabay.com/static/uploads/photo/2016/08/05/17/56/autumn-1572822_960_720.png')");
            }
    });

    Pour le reste, j'ai juste remplacé la partie du template et le css comme indiqué :
    https://www.never-utopia.com/t46165-design-changeant-selon-l-heure-exemple-banniere-et-fond

    scratch
    Onyx
    Onyx
    FémininAge : 30Messages : 3350

    Mer 28 Sep 2016 - 6:42

    Salut!

    Le javascript a l'air ok, alors est-ce que tu pourrais nous passer ton CSS et aussi ton template overhall_header? Il y a peut-être quelque chose d'autre qui entre en conflit ^^

    Et question stupide (mais on sait jamais, un oubli...), dans les javascript, est-ce que tu as coché "Activer la gestion des javascripts"?



    Lilou O'Neill
    Lilou O'Neill
    FémininAge : 24Messages : 62

    Mer 28 Sep 2016 - 9:15

    Bonjour !

    Alors voici le css :
    Code:
    /* NAVIGATION */
    #navSIT {
    position:absolute; top:0; left:50px; /* MODIFIABLE - DETERMINE LA POSITION */
    width:175px; padding:10px 5px 25px; border-radius:0 0 50px 50px;
    background:rgba(0,0,0,0.3); /* MODIFIABLE */
    }
    .mainmenu img{
    display:none;
    }
    /* LIEN NAVIGATION */
    #navSIT a{
    display:block; 
    text-transform:uppercase; text-align:center; font-size:12px;
    color:white; /* MODIFIABLE */
    }
    /* SURVOL LIEN NAVIGATION */
    #navSIT a:hover {
    font-weight:bold;
    }
    .bodyline {
      padding:0px;
    }

    body
    {
    background-position: top center center;
    }
    a { text-decoration: none; }

    .bodyline {
      padding: 0px;
    }

    .banniere {
      background-image : url('http://i.imgur.com/oKS4abN.png');
      width: 800px;
      height: 450px;
    }

    body
    {
    background-repeat: no-repeat;
    background-position: top center;
    }

    #navig
    {
      width: 950px;
      margin: auto;
      text-align: center;
    }

    #navigation
    {
      position: fixed;
      z-index: 999;
      width: 100%;
      background-color: #EADAC6;
      border-bottom: 1px solid #EADAC6;
      margin-top: -10px;
      margin-left: -10px;
      padding: 5px;
    }
    .btn-loader {
      background: #a00000;
      color: #fff;
      text-shadow: 1px 0 0 rgba(0,0,0,.2)
    }
    /*-----------------------PA----------------*/

    /* PAGE D'ACCUEIL */
    #VAES {
    background:#c0bfd6 !important;
    }
    /* TITRE PREDEFINIS */
    .pfVAES span{
    background:rgba(250,250,250,0.3) !important; color:#191919 !important;
    }
    /* BLOC EVENEMENTS */
    .newsVAES {
    border-color:rgba(250,250,250,0.3) !important;
    }
    /* CONTENU STAFF */
    .staffVAES p{
    background:rgba(250,250,250,0.7) !important; color:black !important;
    }
    /* LIENS */
    .lksVAES a{
    background:rgba(250,250,250,0.6) !important; color:#191919 !important;
    }
    /* BLOC CONTEXTE */
    #ctxtVAES {
    border-color:rgba(250,250,250,0.3) !important;
    }
    /* CONTEXTE */
    .ctxtVAES div{
    background:rgba(250,250,250,0.8) !important; color:black !important;
    }
    /* BLOC PARTENAIRES */
    .partVAES {
    background:rgba(250,250,250,0.5) !important;
    }
    /*--------------fin------------------*/

    /*------------------prez---------------*/

    .bloc1 {
      width: 500px;
      height: 250px;
     background-color: #82cec5 ;
      padding: 2px;
      text-align: justify;
      overflow: auto;
    }
    .avatarprez {
        width: 200px;
      height: 316x;
      display: block; /*définit le bloc*/
      width: 200px; /*largeur*/
      height: 320px; /*hauteur*/
      overflow: hidden; /*cache l\'overflow*/
      font-size: 11px; /*taille de la police*/
    }
        .avatarprez_contenu {
          position: absolute;
          display: block;
          width: 200px;
          height: 316px;
          overflow: auto;
          background-color: white;
          font-size: 10px;
      padding: 2px;
          text-align: justify;
          opacity: 0;
          -moz-opacity: 0;
          -khtml-opacity: 0;
          filter: alpha(opacity=0);
          transform: all;
        -moz-transform: all;
        -o-transform: all;
        -htm-transform: all;
        -webkit-transform: all;
        transition: 1s;
        -moz-transition: 1s;
        -o-transition: 1s;
        -htm-transition: 1s;
        -webkit-transition: 1s;
        }


    .avatarprez_contenu:hover { /*nom de la class*/
      opacity: 0.8; /*intensité de l\'opacité*/
      -moz-opacity: 0.8;
      -khtml-opacity: 0.8;
      filter: alpha(opacity=80);
      transform: all; /*assure la transition sur IE10*/
    -moz-transform: all; /*assure la transition sur mozilla*/
    -o-transform: all; /*assure la transition sur opera*/
    -htm-transform: all;
    -webkit-transform: all; /*assure la transition sur chrome et safari*/
    transition: 1s; /*durée de la transition*/
    -moz-transition: 1s;
    -o-transition: 1s;
    -htm-transition: 1s;
    -webkit-transition: 1s; /*durée de la transition*/
    }

    .bloc2 {
      width: 296px;
      height: 316px;
      background-color: #2cda14 ;
      color: white;
      padding: 2px;
      text-align: justify;
        overflow: auto;
    }
    .nomprenom {
      font-family: \'Julius Sans One\', sans-serif;
      font-size: 38px;
      color: white;
    }
    .histoire {
      font-family: \'Julius Sans One\', sans-serif;
      font-size: 28px;
      color: white;
    }


    /*----------------------------------*FIN*------------------------*/


    /* --------------------------------- PROFIL --------------------------------- */

     /* AFFICHAGE DU PROFIL */
    .PFIL {
    margin:auto; width:800px;
    }
    /* PSEUDONYME PROFIL */
    .namePFIL {
    margin-bottom:10px;
    height:20px; padding:10px 0;
    text-transform:uppercase; text-align:center;
    background:#242424; color:#ccc; /* MODIFIABLE */
    }
    /* BLOC INFORMATIONS PROFIL */
    #abtPFIL {
    display:inline-block; margin-right:10px;
    width:570px;
    }
    /* BLOC GAUCHE INFORMATIONS */
    .abtPFIL {
    display:inline-block; margin-right:10px;
    width:285px; height:320px; padding:10px; overflow:auto;
    font-size:11px;
    background:#1a1a1a; color:#ccc; /* MODIFIABLE */
    }
    /* INTITULES CONTENU BLOC GAUCHE INFORMATIONS PROFIL */
    .abtPFIL div span {
    text-transform:uppercase; color:#ccc; /* MODIFIABLE */
    }
    /* CONTENU BLOC GAUCHE INFORMATIONS PROFIL */
    .abtPFIL div{
    padding:2px 0;
    }
    .abtPFIL .field_uneditable {
    display:inline-block;
    }
    /* BORDURES BLOC INFORMATIONS PROFIL */
    .borderPFIL {
    padding:0 0 5px !important;
    border-bottom:1px solid #ccc; /* MODIFIABLE */
    }
    /* BLOC DROITE INFORMATIONS PROFIL */
    #adminPFIL {
    display:inline-block; vertical-align:top;
    width:255px; height:340px;
    font-size:11px;
    }
    .adminPFIL {
    height:275px; padding:10px; overflow:auto;
    background:#1a1a1a; color:#ccc; /* MODIFIABLE */
    }
    /* CONTENU BLOC DROITE INFORMATIONS PROFIL */
    .adminPFIL div{
    padding:5px 0;
    }
    /* INTITULES CONTENU BLOC DROITE INFORMATIONS PROFIL */
    .adminPFIL div span {
    text-transform:uppercase; color:#ccc; /* MODIFIABLE */
    }
      /* BLOC IMAGES CONTACT PROFIL */
    #ktactPFIL {
    margin-top:10px; height:25px; padding:5px 0; text-align:center;
    background:#1a1a1a; /* MODIFIABLE */
    }
    /* IMAGES CONTACT PROFIL */
    .ktactPFIL {
    display:inline-block;
    }
    .ktactPFIL img {
    max-height:25px;
    }
    /* BLOC AVATAR */
    #avPFIL {
    display:inline-block; vertical-align:top;
    width:200px; padding:10px;
    background:#1a1a1a; /* MODIFIABLE */
    }
    .avPFIL {
    width:200px; height:320px; overflow:hidden;
    }
    /* TITRE FEUILLE DE PERSONNAGE PROFIL */
    .tleRPG {
    margin:auto;
    width:800px; padding:10px 0; text-transform:uppercase; text-align:center;
    background:#242424; color:#ccc; /* MODIFIABLE */
    }
    /* CONTENU FEUILLE DE PERSONNAGE PROFIL */
    .boxRPG {
    margin:auto; width:780px; padding:10px;
    background:#1a1a1a; color:#ccc; /* MODIFIABLE */
    }
    /* INTITULES CONTENU FEUILLE DE PERSONNAGE PROFIL */
    .boxRPG span {
    text-transform:uppercase; color:#ccc; /* MODIFIABLE */
    }
    /* --------------------------------- FIN PROFIL --------------------------------- */

    .demidieufiche {
      width: 480px;
      padding: 10px;
    font-family: \'Julius Sans One\', sans-serif;
      font-size: 30px;
        color: white;
        background-color: #1ebab2
    }

    .humainsfiche {
      width: 480px;
      padding: 10px;
    font-family: \'Julius Sans One\', sans-serif;
      font-size: 30px;
      color: white;
        background-color: #8a4903;
    }

    .dieufiche {
      width: 480px;
      padding: 10px;
    font-family: \'Julius Sans One\', sans-serif;
      font-size: 30px;
        color: white;
      background-color: #dce1df;

    }

    .creaturefiche {
      width: 480px;
      padding: 10px;
    font-family: \'Julius Sans One\', sans-serif;
      background-color: #4cbd00‏;
      font-size: 30px;
        color: white;
    }

    .contextefiche {
      width: 480px;
      padding: 10px;
    font-family: \'Julius Sans One\', sans-serif;
      background-color: #1c1715‏;
      font-size: 30px;
        color: white;
    }

    .citation {
    font-family: \'Julius Sans One\', sans-serif;
        font-size: 24px;
        color: white;
      text-align: center;
    }

    .blocfichetout {
      width: 480px;
      padding: 10px;
      background-color: #1c1715;
        color: white;
        text-align: justify;
    }


    /* BLOC TITRE CATEGORIE */
    .tleCAT{
    margin:5px auto;
    width:800px; padding:20px 0; text-align:center;
    background:#191919; /* MODIFIABLE */
    }
    /* TITRE CATEGORIE */
    .tleCAT h2{
    margin:0;
    font-size:42px; text-transform:uppercase; letter-spacing:3px;
    font-family:Arial; color:white; /* MODIFIABLE */
    }
    /* BLOC CATEGORIE */
    .mdlCAT {
    margin:auto; width:800px; text-align:center;
    }
    /* BLOC FORUM */
    .FRM {
    float:left; margin:5px 0; width:395px; text-align:left;
    }
    .FRM:nth-of-type(odd) {
    margin-right:10px;
    }
    /* BLOC POSITIONNEMENT FORUM */
    .boxFRM {
    display:inline-block; vertical-align:top;
    }
    /* DERNIER MESSAGE FORUM */
    .lmsgFRM {
    margin-bottom:5px;
    width:300px; height:18px; padding-top:7px; overflow:hidden;
    background:white; color:black; /* MODIFIABLE */
    font-size:10px; text-align:center;
    }
    /* ICÔNES FORUM */
    .imgFRM{
    display:inline-block; vertical-align:top; margin-right:5px;
    width:25px; height:115px;
    }
    /* DESCRIPTION FORUM */
    .descFRM {
    display:inline-block; vertical-align:top;
    height:105px; width:260px; padding:5px; overflow:auto;
    background:rgba(250,250,250,0.8); color:black; /* MODIFIABLE */
    font-size:11px; text-align:justify;
    }
    /* BLOC SOUS-FORUMS */
    .sfFRM{
    margin-top:5px;
    width:355px; height:15px; padding:5px; overflow:auto;
    background:rgba(250,250,250,0.3); color:black; /* MODIFIABLE */
    text-align:left; font-size:11px; text-transform:uppercase;
    }
    /* LIEN SOUS-FORUM */
    .sfFRM a{
    color:black !important; /* MODIFIABLE */
    }
    /* BLOC AVATAR DERNIER POSTEUR / SUJETS & MESSAGES FORUM */
    .boxIIFRM {
    display:inline-block; vertical-align:top; margin-left:5px;
    width:60px;
    }
    /* BLOC AVATAR DERNIER POSTEUR FORUM */
    .avaFRM {
    width:60px; height:85px; overflow:hidden;
    background:#ccc; /* MODIFIABLE */
    }
    .avaFRM img{
    width:65px; filter:grayscale(1); -webkit-filter:grayscale(1);
    transition:all .65s linear; -webkit-transition:all .65s linear;
    }
    .FRM:hover .avaFRM img{
    filter:grayscale(0); -webkit-filter:grayscale(0);
    }
    /* NOMBRE SUJETS FORUM */
    .nbFRM {
    margin:5px 0 0 0;
    width:60px; height:20px; padding-top:5px; overflow:hidden;
    background:rgba(250,250,250,0.8); color:black; /* MODIFIABLE */
    font-size:11px; text-align:center;
    }
    /* NOMBRE MESSAGES FORUM */
    .nbFRM:nth-of-type(3) {
    background:rgba(250,250,250,0.9); color:black; /* MODIFIABLE */
    }
    /* BLOC TITRE FORUM */
    .tleFRM {
    display:inline-block; vertical-align:top;
    width:15px; height:175px;
    }
    .tleFRM div {
    margin-top:75px; margin-left:-70px;
    width:175px; height:22px; padding:3px 0 0; overflow:hidden;
    font-family:Arial; background:#191919; /* MODIFIABLE */
    text-transform:uppercase; text-align:center; font-size:14px;
    transform:rotate(90deg); -webkit-transform:rotate(90deg);
    transition:all .65s linear; -webkit-transition:all .65s linear;
    }
    /* TITRE FORUM */
    .tleFRM a{
    color:white !important; /* MODIFIABLE */
    }
    /* SURVOL BLOC TITRE FORUM */
    .FRM:hover .tleFRM div {
    background:#64B3AC; /* MODIFIABLE */
    }







    /* Début QEEL by Joy http://dream.forumgratuit.eu/ */

    /* TITRES SPAN ET P */
    .patitre {
      font-family: 'Oswald', sans-sérif;
      font-size: 18px;
      font-variant: small-caps;
      color: #000;
    }
    .patitre:hover {
      letter-spacing: 2px;
      transition: all ease 1s;
      -moz-transition: all ease 1s;
      -webkit-transition: all ease 1s;
      -ms-transition: all ease 1s;
      -o-transition: all ease 1s;
    }

    /* TITRE / LIEN QEEL */
    #qtitre {
      font-family: 'Oswald', sans serif;
      text-align: center;
      padding: 5px;
      height: 50px;
      border-bottom: 2px dotted #fff842;
    }
    #qtitre a {
      font-size: 50px;
    }

    /* TD COLSPAN 3 JOLIE BORDURE AVEC DIV INCLUSE PORTANT LA COULEUR DE LA BORDURE */
    .joliebordure {
      padding: 0px !important;
    }

    .joliebordure div {
      height: 10px;
      background: #fff842;
      width: 100%;
    }

    /* TABLEAU GENERAL DU QEEL */
    .dreamq {
      border-collapse: collapse;
      border-radius: 5px;
      background: #fff;
      margin: 5px;
      box-shadow: 0px 0px 2px 0px #777;
      width: 90%;
    }
    /* TD DU QEEL */
    .dreamq td {
      vertical-align: top;
      padding: 5px;
      width: 33%;
    }

    /* Fin QEEL */

    /* DEBUT BARRE DE NAVIGATION */
    .nav_txt {
      text-align: center;
      font-variant: small-caps;
      font-family: Gerogia;
      color: #e6e7e7;
      background: #091016;
      font-size: 20px;
      height: 25px;
      text-shadow:1px 1px 2px #000000;
      border-bottom: 1px solid #091016;
      box-shadow: 0px 0px 3px #000000;
    }
    .barre_nav a{
      text-align: center;
      font-variant: small-caps;
      font-family: Gerogia;
      color: #e6e7e7;
      font-size: 15px;
      margin-left: 5px;
      text-decoration: none !important;
      -moz-transition:  0.2s all;
      -webkit-transition:  0.2s all;
      -o-transition:  0.2s all;
      -ms-transition:  0.2s all;
      -khtml-transition:  0.2s all;
      transition:  0.2s all;
    }
    .barre_nav a:hover {
      text-decoration: none !important;
      letter-spacing: 2px;
      -moz-transition:  0.2s all;
      -webkit-transition:  0.2s all;
      -o-transition:  0.2s all;
      -ms-transition:  0.2s all;
      -khtml-transition:    0.2s all;
      transition:    0.2s all;
    }
    .barre_nav {
      width:960px; /* à adapter selon la largeur de votre forum */
      height:175px;
      margin-left: auto;
      margin-right: auto;
      position: relative;
      top: 100px; /* à adapter selon les éléments présents au dessus de votre barre */
      overflow: hidden;
      z-index: 10;
      border-top: 1px solid #e6e7e7;
    }
    .nav_1 {
      width:190px;
      height:25px;
      background: #080e13;
      float: left;
      border: 1px solid #091016;
      box-shadow: 0px 0px 3px #000000;
      -moz-transition:  0.5s all;
      -webkit-transition:  0.5s all;
      -o-transition:  0.5s all;
      -ms-transition:  0.5s all;
      -khtml-transition:  0.5s all;
      transition:  0.5s all;
      overflow: hidden;
    }
    .nav_2 {
      width:190px;
      height:25px; 
      background: #080e13; 
      float: left;
      border: 1px solid #091016;
      box-shadow: 0px 0px 3px #000000;
      -moz-transition:  0.5s all;
      -webkit-transition:  0.5s all;
      -o-transition:  0.5s all;
      -ms-transition:  0.5s all;
      -khtml-transition:  0.5s all;
      transition:  0.5s all;
      overflow: hidden;
    }
    .nav_3 {
      width:190px;
      height:25px;
      background: #080e13; 
      float: left;
      border: 1px solid #091016;
      box-shadow: 0px 0px 3px #000000;
      -moz-transition:  0.5s all;
      -webkit-transition:  0.5s all;
      -o-transition:  0.5s all;
      -ms-transition:  0.5s all;
      -khtml-transition:  0.5s all;
      transition:  0.5s all;
      overflow: hidden;
    }
    .nav_4 {
      width:190px;
      height:25px;
      background: #080e13;
      float: left;
      border: 1px solid #091016;
      box-shadow: 0px 0px 3px #000000;
      -moz-transition:  0.5s all;
      -webkit-transition:  0.5s all;
      -o-transition:  0.5s all;
      -ms-transition:  0.5s all;
      -khtml-transition:  0.5s all;
      transition:  0.5s all;
      overflow: hidden;
    }
    .nav_5 {
      width:190px;
      height:25px; 
      background: #080e13;
      float: left;
      border: 1px solid #091016;
      box-shadow: 0px 0px 3px #000000;
      -moz-transition:  0.5s all;
      -webkit-transition:  0.5s all;
      -o-transition:  0.5s all;
      -ms-transition:  0.5s all;
      -khtml-transition:  0.5s all;
      transition:  0.5s all;
      overflow: hidden;
    }
    .nav_1:hover {
      width:190px;
      height:125px;
      box-shadow: 0px 0px 3px #000000;
      -moz-transition:  0.5s all;
      -webkit-transition:  0.5s all;
      -o-transition:  0.5s all;
      -ms-transition:  0.5s all;
      -khtml-transition:  0.5s all;
      transition:  0.5s all;
    }
    .nav_2:hover {
      width:190px;
      height:125px; 
      box-shadow: 0px 0px 3px #000000;
      -moz-transition:  0.5s all;
      -webkit-transition:  0.5s all;
      -o-transition:  0.5s all;
      -ms-transition:  0.5s all;
      -khtml-transition:  0.5s all;
      transition:  0.5s all;
    }
    .nav_3:hover {
      width:190px;
      height:140px;
      box-shadow: 0px 0px 3px #000000;
      -moz-transition:  0.5s all;
      -webkit-transition:  0.5s all;
      -o-transition:  0.5s all;
      -ms-transition:  0.5s all;
      -khtml-transition:  0.5s all;
      transition:  0.5s all;
    }
    .nav_4:hover {
      width:190px;
      height:125px;
      box-shadow: 0px 0px 3px #000000;
      -moz-transition:  0.5s all;
      -webkit-transition:  0.5s all;
      -o-transition:  0.5s all;
      -ms-transition:  0.5s all;
      -khtml-transition:  0.5s all;
      transition:  0.5s all;
    }
    .nav_5:hover {
      width:190px;
      height:125px; 
      box-shadow: 0px 0px 3px #000000;
      -moz-transition:  0.5s all;
      -webkit-transition:  0.5s all;
      -o-transition:  0.5s all;
      -ms-transition:  0.5s all;
      -khtml-transition:  0.5s all;
      transition:  0.5s all;
    }

    /* FIN BARRE DE NAVIGATION */
    /* BLOC LISTE DES MEMBRES */
    #LMBER {
    width:675px; margin:auto;
    }
    /* BLOC MEMBRE */
    #MBER {
    float:left; width:200px; height:385px; margin:10px;
    }
    /* PSEUDONYME */
    .nameLMBER{
    width:180px; height:15px; padding:10px;
    text-align:center; text-transform:uppercase;
    }
    /* AVATAR MINIATURISE */
    .imgLMBER img{
    width:200px; height:320px;
    }
    .imgLMBER div {
    position:relative; margin-top:-320px;
    width:200px; height:320px; overflow:hidden;
    }
    /* BLOC MESSAGES / INSCRIPTION / DERNIERE VISITE / HUMEUR */
    .imgLMBER div div{
    width:180px; height:300px; padding:10px; overflow:auto;
    background:rgba(250,250,250,0.6); /* MODIFIABLE */
    font-size:11px; text-align:left;
    transform:translateY(640px); -webkit-transform:translateY(640px);
    transition:transform 0.85s linear; -webkit-transition:transform 0.85s linear;
    }
    .imgLMBER:hover div div{
    transform:translateY(320px); -webkit-transform:translateY(320px);
    }
     /* IMAGES MP * PROFIL */
    .mpwLMBER {
    position:relative; z-index:3; margin:-10px auto 0 auto;
    }


    Et le template :

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
    <head>
       <title>{SITENAME_TITLE}{PAGE_TITLE}</title>
       <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
       <meta http-equiv="content-script-type" content="text/javascript" />
       <meta http-equiv="content-style-type" content="text/css" />
       <!-- BEGIN switch_compat_meta -->
       <meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
       <!-- END switch_compat_meta -->
       <!-- BEGIN switch_canonical_url -->
       <link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
       <!-- END switch_canonical_url -->
       {META_FAVICO}
       {META}
       {META_FB_LIKE}
       <meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
       {T_HEAD_STYLESHEET}
       {CSS}
       <link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
       <link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
       <script src="{JQUERY_PATH}" type="text/javascript"></script>
       <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
        {RICH_SNIPPET_GOOGLE}

       <!-- BEGIN switch_fb_login -->
       <script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
       <script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
       <!-- END switch_fb_login -->

       <!-- BEGIN switch_ticker -->
       <link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
       <script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
       <!-- END switch_ticker -->

       <!-- BEGIN switch_ticker_new -->
       <script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
       <script type="text/javascript">//<![CDATA[
          /* Definir le sens de direction en fonction du panneau admin */
          var tickerDirParam = "{switch_ticker.DIRECTION}";
          var slid_vert = false;
          var auto_dir = 'next';
          var h_perso = parseInt({switch_ticker.HEIGHT});

          switch( tickerDirParam )
          {
             case 'top' :
                slid_vert = true;
                break;

             case 'left':
                break;

             case 'bottom':
                slid_vert = true;
                auto_dir = 'prev';
                break;

             case 'right':
                auto_dir = 'prev';
                break;

             default:
                slid_vert = true;
          }

          $(document).ready(function() {
             var w_cont = $('#fa_ticker_container').width();

             if (w_cont > 0)
             {
                $('#fa_ticker_container').width(w_cont);

                /* Affichage de la liste */
                $('#fa_ticker_content').css('display','block');

                /* Calcul des dimensions du conteneur et des elements */
                var width_max = $('ul#fa_ticker_content').width();
                var width_item = Math.floor(width_max / {switch_ticker.SIZE});
                var height_max = h_perso;

                /* Calcul de la hauteur maximale du conteneur en fonction des elements et de la hauteur personnalisee dans l'admin */
                $('ul#fa_ticker_content li').each( function () {
                   if ($(this).height() > height_max)
                   {
                      height_max = $(this).height();
                   }
                } );

                /* Redimensionnement des elements et des images trop larges */
                $('ul#fa_ticker_content li').width(width_item).height(height_max).find('img').each(function () {
                   if ($(this).width() > width_item)
                   {
                   var ratio      = $(this).width() / width_item;
                   var new_height = Math.round($(this).height() / ratio);
                   $(this).height(new_height).width(width_item);
                   }
                });

                /* Redimensionnement et centrage du conteneur en mode vertical */
                if (slid_vert)
                {
                   $('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
                }

                /* Initialisation du caroussel */
                $('#fa_ticker_content').jcarousel({
                      vertical: slid_vert,
                   wrap: 'circular',
                   auto: {switch_ticker.STOP_TIME},
                   auto_direction: auto_dir,
                scroll: 1,
                size: {switch_ticker.SIZE},
                height_max: height_max,
                animation: {switch_ticker.SPEED}
                });
             }
             else
             {
                $('ul#fa_ticker_content li:not(:first)').css('display','none');
                $('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
             }
          });
       //]]>
       </script>
       <!-- END switch_ticker_new -->

       <script type="text/javascript">//<![CDATA[
       $(document).ready(function(){
          <!-- BEGIN switch_enable_pm_popup -->
             pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
             if(pm != null) { pm.focus(); }
          <!-- END switch_enable_pm_popup -->
          <!-- BEGIN switch_report_popup -->
             report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
             if(report != null) { report.focus(); }
          <!-- END switch_report_popup -->
          <!-- BEGIN switch_ticker -->
             $(document).ready(function() {            
                Ticker.start({
                   height : {switch_ticker.HEIGHT},
                   spacing : {switch_ticker.SPACING},
                   speed : {switch_ticker.SPEED},
                   direction : '{switch_ticker.DIRECTION}',
                   pause : {switch_ticker.STOP_TIME}
                });
             });
          <!-- END switch_ticker -->
       });

       <!-- BEGIN switch_login_popup -->
          var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = true, logInBackgroundClass = false;
       <!-- END switch_login_popup -->

       <!-- BEGIN switch_login_popup -->
       $(document).ready( function() {
          $(window).resize(function() {
             var windowWidth = document.documentElement.clientWidth;
             var popupWidth = $("#login_popup").width();
             var mypopup = $("#login_popup");

             $("#login_popup").css({
             "left": windowWidth/2 - popupWidth/2
                });
          });
       });
       <!-- END switch_login_popup -->
       //]]>
       </script>
       {GREETING_POPUP}
       <!-- BEGIN switch_ticker_new -->
       <style>
       .jcarousel-skin-tango .jcarousel-item {
          text-align:center;
          width: 10px;
       }

       .jcarousel-skin-tango .jcarousel-item-horizontal {
          margin-right: {switch_ticker.SPACING}px;
       }

       .jcarousel-skin-tango .jcarousel-item-vertical {
          margin-bottom: {switch_ticker.SPACING}px;
       }
       </style>
       <!-- END switch_ticker_new -->
       {HOSTING_JS}
       <!-- BEGIN google_analytics_code -->
       <script type="text/javascript">
       //<![CDATA[
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', '{G_ANALYTICS_ID}']);
        _gaq.push(['_trackPageview']);
       _gaq.push(['_trackPageLoadTime']);

       <!-- BEGIN google_analytics_code_bis -->
       _gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
       _gaq.push(['b._trackPageview']);
       <!-- END google_analytics_code_bis -->

        (function() {
          var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
          ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
          var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();
       //]]>
       </script>
       <!-- END google_analytics_code -->
    </head>
    <body background="{T_BODY_BACKGROUND}" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
       <!-- BEGIN hitskin_preview -->
       <div id="hitskin_preview" style="display: block;">
          <h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> <em>Hit</em>skin.com</h1>
          <div class="content">
             <p>
                {hitskin_preview.L_THEME_SITE_PREVIEW}
                <br />
                <span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
             </p>
          </div>
       </div>
       <!-- END hitskin_preview -->

       <!-- BEGIN switch_login_popup -->
       <div id="login_popup" style="z-index: 10000 !important;">
          <table class="forumline" width="{LOGIN_POPUP_WIDTH}" height="{LOGIN_POPUP_HEIGHT}" border="0" cellspacing="1" cellpadding="0">
             <tr height="25">
                <td class="catLeft">
                   <span class="genmed module-title">{SITENAME}</span>
                </td>
             </tr>
             <tr height="{LOGIN_POPUP_MSG_HEIGHT}">
                <td class="row1" align="left" valign="top">
                   <div id="login_popup_buttons">
                      <form action="{S_LOGIN_ACTION}" method="get">
                         <input type="submit" class="mainoption" value="{L_LOGIN}" />
                         <input type="button" class="mainoption" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
                         <input id="login_popup_close" type="button" class="button" value="{L_DONT_DISPLAY_AGAIN}" />
                      </form>
                   </div>
                   <span class="genmed">{LOGIN_POPUP_MSG}</span>
                </td>
             </tr>
          </table>
       </div>
       <!-- END switch_login_popup -->

       <a name="top"></a>
       {JAVASCRIPT}

       <table class="bodylinewidth" width="{T_BODY_TABLE_WIDTH}" cellspacing="0" cellpadding="10" border="0" align="center">
          <tr>
             <td class="bodyline">
                <table width="100%" cellspacing="0" cellpadding="0" border="0">
                   <tr>
                      <!-- BEGIN switch_logo_left -->
                      <td><a href="{U_INDEX}"><div class="banniere"></div></a></td>
                      <!-- END switch_logo_left -->
                      <td align="center" width="100%" valign="middle">
                         <!-- BEGIN switch_logo_center -->
                         <a href="{U_INDEX}"><div class="banniere"></div></a>
                         <br />
                         <!-- END switch_logo_center -->
                         <div class="maintitle">{MAIN_SITENAME}</div>
                         <br />
                         <span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span>
                      </td>
                      <!-- BEGIN switch_logo_right -->
                      <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                      <!-- END switch_logo_right -->
                   </tr>
                </table>

                <table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}" id="navSIT">
        <tr><td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td></tr>
        </table>

                <div style="clear: both;"></div>

                <!-- BEGIN switch_ticker_new -->
                <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
                   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                      <tr>
                         <td align="left" class="row1">
                            <div id="fa_ticker_container">
                               <ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display:none;">
                                  <!-- BEGIN ticker_row -->
                                  <li>{switch_ticker.ticker_row.ELEMENT}</li>
                                  <!-- END ticker_row -->
                               </ul>
                            </div>
                         </td>
                      </tr>
                   </table>
                </div>
                <!-- END switch_ticker_new -->

                <!-- BEGIN switch_ticker -->
                <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
                   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                      <tr>
                         <td align="left" class="row1">
                            <div id="fa_ticker_container">
                               <div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
                                  <div class="fa_ticker_content">
                                     <!-- BEGIN ticker_row -->
                                     <div>{switch_ticker.ticker_row.ELEMENT}</div>
                                     <!-- END ticker_row -->
                                  </div>
                               </div>
                            </div>
                         </td>
                      </tr>
                   </table>
                </div>
                <!-- END switch_ticker -->

                <div id="page-body">
                   <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
                      <table cellpadding="0" cellspacing="0" width="100%" class="three-col">
                         <tbody>
                            <tr>
                               <td valign="top" width="{C1SIZE}">
                                  <div id="{ID_LEFT}">
                                     <!-- BEGIN giefmod_index1 -->
                                     {giefmod_index1.MODVAR}
                                        <!-- BEGIN saut -->
                                        <div style="height:{SPACE_ROW}px"></div>
                                        <!-- END saut -->
                                     <!-- END giefmod_index1 -->
                                  </div>
                               </td>
                               <td valign="top" width="100%">
    <!-- BEGIN html_validation -->
                               </td>
                            </tr>
                         </tbody>
                      </table>
                   </div>
                </div>
             </td>
          </tr>
       </table>
    </body>
    </html>
    <!-- END html_validation -->


    Et oui, j'ai activé la gestion des javascripts sur toutes les pages. o:
    Non, ce n'est une question stupide du tout !
    Lilou O'Neill
    Lilou O'Neill
    FémininAge : 24Messages : 62

    Jeu 29 Sep 2016 - 18:40

    .
    Lilou O'Neill
    Lilou O'Neill
    FémininAge : 24Messages : 62

    Ven 30 Sep 2016 - 21:39

    up
    Onyx
    Onyx
    FémininAge : 30Messages : 3350

    Ven 30 Sep 2016 - 22:22

    Salut!

    Premièrement, c'est un up tous les 48h, pas avant. Merci de respecter ce délai.

    Sinon, tes codes fonctionnent bien sur mon forum test. Alors je veux juste faire sûre parce que tu ne te trompe pas entre activer le placement sur toutes les pages dans la gestion des javascripts et activer le placement sur toutes les pages dans le javascript de la bannière. C'est 2 endroits différents et il faut que les 2 soient bons :
    Activer le javascript : https://2img.net/r/hpimg15/pics/186490Sanstitre2.jpg
    Le placement sur toutes les pages : https://2img.net/r/hpimg15/pics/796098Sanstitre3.jpg



    Lilou O'Neill
    Lilou O'Neill
    FémininAge : 24Messages : 62

    Sam 1 Oct 2016 - 10:57

    Oh oui, désolée. xx

    Non, je vous assure que de côté c'est ok. En voici la preuve :

    Petit souci avec "Design changeant selon l'heure  banniere et fond" Captur11
    Petit souci avec "Design changeant selon l'heure  banniere et fond" Captur10
    Onyx
    Onyx
    FémininAge : 30Messages : 3350

    Dim 2 Oct 2016 - 5:03

    Zut alors, j'espérais que c'était si simple T_T

    Ok, alors juste pour faire sûr, c'est le fond et la bannière qui ne fonctionnent pas ou juste l'un des deux? Parce que le lien pour le fond ne fonctionne pas chez moi, alors... Essaie d'enregistrer l'image du fond sur ton ordinateur et de le réhéberger avec cet hébergeur :
    http://www.hostingpics.net/

    On va voir si ça fait une différence...



    Lilou O'Neill
    Lilou O'Neill
    FémininAge : 24Messages : 62

    Lun 3 Oct 2016 - 15:23

    C'est bizarre ça. 'p'
    Non, ce sont les deux qui ne marchent pas ! qwq
    J'ai essayé avec hostingpics mais toujours rien. :/
    Lilou O'Neill
    Lilou O'Neill
    FémininAge : 24Messages : 62

    Jeu 6 Oct 2016 - 2:39

    up
    Lilou O'Neill
    Lilou O'Neill
    FémininAge : 24Messages : 62

    Sam 8 Oct 2016 - 20:17

    uuuuuup
    Lilou O'Neill
    Lilou O'Neill
    FémininAge : 24Messages : 62

    Mar 11 Oct 2016 - 17:08

    up
    Lilou O'Neill
    Lilou O'Neill
    FémininAge : 24Messages : 62

    Jeu 13 Oct 2016 - 22:52

    up No
    Nihil Scar Winspeare
    Nihil Scar Winspeare
    Messages : 5244

    Jeu 13 Oct 2016 - 23:49

    Coucou !

    Sur ton forum est ce que tu as un code de sauvegarde des messages ou un truc comme ça ?
    Je crois que le bug provient d'un autre javascript sur ton forum, pourrais-tu nous copier / coller tous ceux qui s'affichent sur "toutes les pages" s'il te plait ?

    Tu dois en avoir un qui finit avec quelque chose dans ce genre :
    Code:
    $(window).load(function() {
        typeof _userdata == "undefined" ? console.log("L'objet \"_userdata\" de forumactif n'a pas été trouvé. Le script de sauvegarde des messages en cours d'écriture ne peut pas fonctionner.") : messageSaver.init()
    })

    Il manque un petit point virgule à la fin je crois o:
    Code:
    $(window).load(function() {
        typeof _userdata == "undefined" ? console.log("L'objet \"_userdata\" de forumactif n'a pas été trouvé. Le script de sauvegarde des messages en cours d'écriture ne peut pas fonctionner.") : messageSaver.init()
    });

    Onyx
    Onyx
    FémininAge : 30Messages : 3350

    Ven 14 Oct 2016 - 0:05

    Salut!

    Désolée du délai, j'étais absente >< J'ai vraiment pas d'idées >< Tu as un autre javascript, right? Tu as essayé en l'enlevant/le remettant pour voir si c'est de sa faute? Sinon, je vais déplacer ton problème dans les problèmes de code, il sera plus visible et quelqu'un d'autre aura peut-être une idée.

    Edit : Bah, Nihil m'a dépassé apparemment XD



    Lilou O'Neill
    Lilou O'Neill
    FémininAge : 24Messages : 62

    Sam 15 Oct 2016 - 22:14

    Coucou !

    Oh merciiiiiii infiniment, vous ne pouvez pas savoir à quel point je suis heureuse. ;wwww;
    C'était bien le java de la sauvegarde qui posait des problèmes. D:
    Le voici :

    Code:
    var messageSaver=function(e,t){"use strict";var n=function(t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n="[\\?&]"+t+"=([^&#]*)",r=new RegExp(n),i=r.exec(window.location.href),s=e("#text_editor_textarea").siblings('input[name="'+t+'"]').val();return i===null?s:i[1]};var r=function(e,t,n,r){var i={userID:e,topicURL:r,message:t};localStorage.setItem(n,JSON.stringify(i))};var i=function(e,t,n,r){var i,o="\nIl n'y a pas de message à charger.",u=localStorage.getItem(n);if(u!="undefined"){i=JSON.parse(u);s(e,t.val(),n,r)?t.val(i.message):alert("Erreur 1:\nLa vérification du message enregistré a échoué.")}else alert("Erreur 2: Il n'y a aucun message sauvegardé dans le WebStorage")};var s=function(e,t,n,r){var i,s=localStorage.getItem(n);if(s!="undefined"){i=JSON.parse(s);return i.userID===e&&i.topicURL===r&&t===""?true:false}else return false};var o=function(){var t=window.location.host,s=_userdata.user_id,o=n("t"),u=e('form[action="/post"]'),a=u.find('input[name="post"]'),f=e("#text_editor_textarea").sceditor("instance");f.bind("keyup",function(){r(s,f.val(),t,o)});if(localStorage.getItem(t)){a.before('<input type="button" class="mainoption btn-loader" id="ms-loader" value="Charger le message sauvegardé" /> &nbsp;')}u.on("click","#ms-loader",function(){i(s,f,t,o)})};return{init:o}}(jQuery);$(window).load(function(){typeof _userdata=="undefined"?console.log("L'objet \"_userdata\" de forumactif n'a pas été trouvé. Le script de sauvegarde des messages en cours d'écriture ne peut pas fonctionner."):messageSaver.init()});

    Non en fait pour le point virgule je l'ai rajouté. D:

    Mais il n'y a pas de moyen de les faire fonctionner tous les deux ? D8

    Merci encore Onyx et Nihil. :bisou: :ninjahug: :yay:
    Onyx
    Onyx
    FémininAge : 30Messages : 3350

    Mer 26 Oct 2016 - 20:01

    Salut!

    C'est toujours d'actualité? Merci de upper au moins une fois par semaine pour qu'on sache que ce n'est pas abandonné. Le sujet sera archivé d'ici 10 jours s'il n'y a pas de nouvelles.



    Contenu sponsorisé


      La date/heure actuelle est Dim 19 Mai 2024 - 16:27