SOS-FORUM
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
SOS-FORUM

Derniers sujets

» Silence Inside Me - Ouverture
par Solitude 3/3/2018, 12:36

» ATLANTIC CITY - rpg city
par Solitude 15/3/2017, 10:41

» Bonne Année 2015
par Yoda 5/3/2017, 20:12

» Rio de Janeiro
par Solitude 14/9/2015, 15:34

» Bon Anniversaire Zeco
par Laurent 29/5/2015, 06:29

Le Deal du moment : -20%
-20% Récupérateur à eau mural 300 ...
Voir le deal
79 €

Vous n'êtes pas connecté. Connectez-vous ou enregistrez-vous

Aller à la page : 1, 2  Suivant

Voir le sujet précédent Voir le sujet suivant Aller en bas  Message [Page 1 sur 2]

1Code pour image qui tombe Empty Code pour image qui tombe 21/11/2008, 10:59

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
Bonjour !

J'ai trouvé un code sur un site qui propose des thèmes graphique, et dans le thème que j'ai téléchargé il y avait donc un script pour faire tomber des fleurs.

J'ai donc pris le script pour voir s'il marchait pour y mettre l'image sur un forum ou sur mon site, en fait c'était pour un essaie mais résultat sa marche pas ni avec Firefox ni avec explorer, donc il doit y avoir un problème quelque part. (peu etre moi qui fait une fausse manip)

Voici le script que j'ai copier coller dans un fichier au format .js et l'image de la fleur

Code pour image qui tombe Flake10
qui se nomme flake.gif

(Edit : j'ai hébergé l'image : https://i.servimg.com/u/f70/09/00/14/44/flake10.gif )

Code:

                language="Javascript1.2">

//Autumn leaves- by Kurt Grigg (kurt.grigg@virgin.net)
//Modified by Dynamic Drive for NS6 functionality
//visit http://www.dynamicdrive.com for this script

//Pre-load your image below!
grphcs=new Array(6)
Image0=new Image();
Image0.src=grphcs[0]="http://i70.servimg.com/u/f70/09/00/14/44/flake10.gif";
Image1=new Image();
Image1.src=grphcs[1]="http://i70.servimg.com/u/f70/09/00/14/44/flake10.gif"
Image2=new Image();
Image2.src=grphcs[2]="http://i70.servimg.com/u/f70/09/00/14/44/flake10.gif"
Image3=new Image();
Image3.src=grphcs[3]="http://i70.servimg.com/u/f70/09/00/14/44/flake10.gif"
Image4=new Image();
Image4.src=grphcs[4]="http://i70.servimg.com/u/f70/09/00/14/44/flake10.gif"
Image5=new Image();
Image5.src=grphcs[5]="http://i70.servimg.com/u/f70/09/00/14/44/flake10.gif"

Amount=4; //Smoothness depends on image file size, the smaller the size the more you can use!
Ypos=new Array();
Xpos=new Array();
Speed=new Array();
Step=new Array();
Cstep=new Array();
ns=(document.layers)?1:0;
ns6=(document.getElementById&&!document.all)?1:0;

if (ns){
for (i = 0; i < Amount; i  ){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];
document.write("[img] rndPic [/img]");
}
}
else{
document.write('');
for (i = 0; i < Amount; i  ){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];
document.write('[img]' rndPic '[/img]');
}
document.write('

');
}
WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
for (i=0; i < Amount; i  ){                                                               
 Ypos[i] = Math.round(Math.random()*WinHeight);
 Xpos[i] = Math.round(Math.random()*WinWidth);
 Speed[i]= Math.random()*5 3;
 Cstep[i]=0;
 Step[i]=Math.random()*0.1 0.05;
}
function fall(){
var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;
var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft;
for (i=0; i < Amount; i  ){
sy = Speed[i]*Math.sin(90*Math.PI/180);
sx = Speed[i]*Math.cos(Cstep[i]);
Ypos[i] =sy;
Xpos[i] =sx;
if (Ypos[i] > WinHeight){
Ypos[i]=-60;
Xpos[i]=Math.round(Math.random()*WinWidth);
Speed[i]=Math.random()*5 3;
}
if (ns){
document.layers['sn' i].left=Xpos[i];
document.layers['sn' i].top=Ypos[i] hscrll;
}
else if (ns6){
document.getElementById("si" i).style.left=Math.min(WinWidth,Xpos[i]);
document.getElementById("si" i).style.top=Ypos[i] hscrll;
}
else{
eval("document.all.si" i).style.left=Xpos[i];
eval("document.all.si" i).style.top=Ypos[i] hscrll;
}
Cstep[i] =Step[i];
}
setTimeout('fall()',20);
}

window.onload=fall
//-->

J'ai chargé tout sa sur mon site Eden, à la racine avec l'image ce qui donne ceci (donc visible ici)
http://eden.servhome.org/rose.js

J'ai ensuite coller ce code dans la description de mon forum
Code:
<script src=http://eden.servhome.org/rose.js /></script>

Mais sa ne marche pas

Y a t'il quelque chose qui cloche ou ais je fais une fausse manipulation ?


Merci du temps que vous passerez sur mon problème.

J'ai trouvé un autre code qui marche mieux :
Code:

/******************************************
* Snow Effect script- By Altan d.o.o. (http://www.altan.hr/snow/index.html)
* Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code
* Last updated Nov 9th, 05' by DD. This notice must stay intact for use
******************************************/
 
  //Configure below to change URL path to the snow image
  var snowsrc="http://i70.servimg.com/u/f70/09/00/14/44/flake10.gif"
  // Configure below to change number of snow to render
  var no = 20;
  // Configure whether snow should disappear after x seconds (0=never):
  var hidesnowtime = 0;
  // Configure how much snow should drop down before fading ("windowheight" or "pageheight")
  var snowdistance = "pageheight";

///////////Stop Config//////////////////////////////////

  var ie4up = (document.all) ? 1 : 0;
  var ns6up = (document.getElementById&&!document.all) ? 1 : 0;

    function iecompattest(){
    return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
    }

  var dx, xp, yp;    // coordinate and position variables
  var am, stx, sty;  // amplitude and step variables
  var i, doc_width = 800, doc_height = 600;
 
  if (ns6up) {
    doc_width = self.innerWidth;
    doc_height = self.innerHeight;
  } else if (ie4up) {
    doc_width = iecompattest().clientWidth;
    doc_height = iecompattest().clientHeight;
  }

  dx = new Array();
  xp = new Array();
  yp = new Array();
  am = new Array();
  stx = new Array();
  sty = new Array();
  snowsrc=(snowsrc.indexOf("dynamicdrive.com")!=-1)? "http://i70.servimg.com/u/f70/09/00/14/44/flake10.gif" : snowsrc
  for (i = 0; i < no;    i) { 
    dx[i] = 0;                        // set coordinate variables
    xp[i] = Math.random()*(doc_width-50);  // set position variables
    yp[i] = Math.random()*doc_height;
    am[i] = Math.random()*20;        // set amplitude variables
    stx[i] = 0.02  Math.random()/10; // set step variables
    sty[i] = 0.7  Math.random();    // set step variables
        if (ie4up||ns6up) {
      if (i == 0) {
        document.write("[url=http://sosforum.forumactif.fr/][img]" snowsrc "[/img]<\/a><\/div>");
      } else {
        document.write("[/url][url=http://sosforum.forumactif.fr/][img]" snowsrc "[/img]<\/div>");
      }
    }
  }

  function snowIE_NS6() {  // IE and NS6 main animation function
    doc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10;
        doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")?  iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight;
    for (i = 0; i < no;    i) {  // iterate for every dot
      yp[i]  = sty[i];
      if (yp[i] > doc_height-50) {
        xp[i] = Math.random()*(doc_width-am[i]-30);
        yp[i] = 0;
        stx[i] = 0.02  Math.random()/10;
        sty[i] = 0.7  Math.random();
      }
      dx[i]  = stx[i];
      document.getElementById("dot" i).style.top=yp[i] "px";
      document.getElementById("dot" i).style.left=xp[i]  am[i]*Math.sin(dx[i]) "px"; 
    }
    snowtimer=setTimeout("snowIE_NS6()", 10);
  }

    function hidesnow(){
        if (window.snowtimer) clearTimeout(snowtimer)
        for (i=0; i
    }
       

if (ie4up||ns6up){
    snowIE_NS6();
        if (hidesnowtime>0)
        setTimeout("hidesnow()", hidesnowtime*1000)
        }

Mais les roses s'arrêtent au début sous phpbb3, comment faire pour qu'elles aillent jusqu'en bas ?
Et sous phpbb2 comment faire pour qu'elle revienne assez rapidement car lorsqu'elle descend une longue page y'a plus rien au dessus ?


Code:
<script src=http://eden.servhome.org/roser.js /></script>

Effet visible ici :

http://umeana.forumrpglife.com/index.htm

Edit : sous phpbb3 la chute s'arrête après la barre de connexion, sous phpbb2 sa descend jusqu'en bas.

2Code pour image qui tombe Empty Re: Code pour image qui tombe 21/11/2008, 20:03

Zeco
Zeco
Administrateur absent
http://digs.forumactif.com/forum
Hello...

Bon, le premier script marche tout à fait sous phpbb2, j'ai fait un test avec ton code :
http://gamezone.actifforum.com/index.htm
(arf, je sais, ça va pas du tout ensemble)

Pour le deuxième, j'ai l'impression qu'il y a des erreurs qui ne devraient pas être là... Il y a du BBCode et l'adresse de SF... je pense qu'il y a dut y avoir un truc lorsque tu l'as copié.
Est ce que tu peux me montrer ce deuxième script et son original ? (désactive le html dans ton message)


3Code pour image qui tombe Empty Re: Code pour image qui tombe 21/11/2008, 20:25

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
Pourquoi le premier marche pas sur mon forum ? C'est étrange sa quand même.

Pour le second le code est en entier, il ne manque rien pourtant.

4Code pour image qui tombe Empty Re: Code pour image qui tombe 21/11/2008, 20:30

Zeco
Zeco
Administrateur absent
http://digs.forumactif.com/forum
Si si, je t'assure, regarde le 2eme script :
Code pour image qui tombe 0111

Sinon, pour le premier, mystère, mais ça doit être également à l'origine du fait que (feu) le générateur de scripts fonctionnaient uniquement sous phpbb2.

5Code pour image qui tombe Empty Re: Code pour image qui tombe 21/11/2008, 20:33

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
Le premier code je l'ai trouvé avec un kit graphique sur kissdesign donc rien à voir avec forumactif

Et le second je comprend pas je l'ai trouvé sur forumactif, quelque part je sais plus ou et comme j'ai voulu changé l'image je l'ai recopier en entier et héberger sur mon site. Il est tel quel.

6Code pour image qui tombe Empty Re: Code pour image qui tombe 21/11/2008, 20:35

Zeco
Zeco
Administrateur absent
http://digs.forumactif.com/forum
Je vais faire quelques recherches, et je t'en donne des nouvelles...
Si jamais tu retrouves le script d'origine... dis le moi.

7Code pour image qui tombe Empty Re: Code pour image qui tombe 21/11/2008, 20:38

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
Oui, si je le retrouve je te le donne, ou le lien selon ou je le retrouve.

La seule chose que j'ai changé c'est le lien de l'image, justement je trouvait sa étrange la présentation du script vu comme les autres ont l'air plus longs.

Je me suis pris la tête depuis hier soir pour trouver un truc qui marche et que je puisse modifier au niveau des images ^^'

8Code pour image qui tombe Empty Re: Code pour image qui tombe 21/11/2008, 21:30

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
Désolé du double post

Voilà le script d'origine, visible à cette adresse

http://astuforum.free.fr/js/neige-mini.js

Edit : mais j'ai jamais mis sosforum dans le script moi, c'est peu etre parce que j'avais pas désactiver le html.



Dernière édition par Solitude le 21/11/2008, 21:35, édité 1 fois

9Code pour image qui tombe Empty Re: Code pour image qui tombe 21/11/2008, 21:33

Zeco
Zeco
Administrateur absent
http://digs.forumactif.com/forum
OK, j'essaye de le faire et de te l'envoyer.

10Code pour image qui tombe Empty Re: Code pour image qui tombe 22/11/2008, 12:31

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
Sinon tu peux essayer celui-là et me dire s'il marche pour toi

C'est le premier avec des images des feuilles que j'ai ajouté moi même et elles sont en png

Code:
<script src=http://uplofile.free.fr/rep5/101566422feuille.js /></script>

Et pour moi le premier script ne marche pas, ou que je le mette, je vois pas les résultats, ni avec explorer ni avec firefox

11Code pour image qui tombe Empty Re: Code pour image qui tombe 22/11/2008, 16:17

Zeco
Zeco
Administrateur absent
http://digs.forumactif.com/forum
Bizarre...
Ce script fonctionne, bien que pas très rapide, sous phpbb3 :

Code:
<script src=http://eden.servhome.org/roser.js /></script>
Quelle est ta config ?

12Code pour image qui tombe Empty Re: Code pour image qui tombe 22/11/2008, 16:22

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
A quel niveau la config ?

13Code pour image qui tombe Empty Re: Code pour image qui tombe 22/11/2008, 16:40

Zeco
Zeco
Administrateur absent
http://digs.forumactif.com/forum
Un peu tout, dans la limite du possible et du raisonnable :

> Explorateur internet et sa version
> Système d'exploitation et sa version
> Type d'ordinateur
> Type de connexion internet

14Code pour image qui tombe Empty Re: Code pour image qui tombe 22/11/2008, 16:47

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
Firefox 3.0.4
Explorer 6
Windows xp version familiale edition 2002 pack 3
Intel core duo cpu
E4500 220 GHz
200 Go de ram

Adsl neuf box

15Code pour image qui tombe Empty Re: Code pour image qui tombe 22/11/2008, 16:50

Zeco
Zeco
Administrateur absent
http://digs.forumactif.com/forum
OK merci.
Bon, tu as dit que les images étaient au format .png, et IE6 ne fonctionne pas toujours très avec les images .png, principalement quand elles sont dans un script...
Essaye de les faires au format .gif et réessaye le deuxième script que tu m'as donné (dans ton premier message)

16Code pour image qui tombe Empty Re: Code pour image qui tombe 22/11/2008, 17:01

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
Le second marche (du premier message) c'est le premier qui marche pas (celui des roses et ensuite le même avec des images de feuilles) que j'ai rajouté ensuite.

17Code pour image qui tombe Empty Re: Code pour image qui tombe 22/11/2008, 17:53

Zeco
Zeco
Administrateur absent
http://digs.forumactif.com/forum
Ok.
Le premier code me semble bien bizarre... et je ne suis pas sûr qu'un FA accepte ce genre de script en js 1.2
Qu'est il censé apporter en plus ?

18Code pour image qui tombe Empty Re: Code pour image qui tombe 22/11/2008, 17:55

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
La possibilité de faire descendre plusieurs images différentes en fait. (genre plusieurs tailles, couleurs etc....)

19Code pour image qui tombe Empty Re: Code pour image qui tombe 22/11/2008, 18:09

Zeco
Zeco
Administrateur absent
http://digs.forumactif.com/forum
Est ce que tu pourrais me donner la page d'origine ou tu l'as trouvé ? Il manque apparement une partie.

20Code pour image qui tombe Empty Re: Code pour image qui tombe 22/11/2008, 20:41

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
Voilà la page entière :
Code:
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<style type="text/css">
body {
scrollbar-arrow-color: #BC395D;
scrollbar-base-color: #FEFEFE;
scrollbar-dark-shadow-color: #FEFEFE;
scrollbar-track-color: #FEFEFE;
}
</style>
<style>
A:link {color: #C65576;text-decoration:none;}
A:visited {color: #C65576;text-decoration:none;}
A:hover {color: #FA2766;text-decoration:none;}
</style>
<title>KissDesign Websets - Ensembles et kits graphiques</title>
</head>

<body text="#BC395D" topmargin="20" background="fondexterieur.jpg" bgcolor="#FEFEFE">
<div align="center"><center>

<table cellSpacing="0" cellPadding="5" width="98%" border="0">
<TBODY>
  <tr>
    <td width="100%" align="center"><table border="0" width="100%" bordercolor="#BC395D"
    cellspacing="0" cellpadding="0" style="border: 3px dotted rgb(188,57,93)">
      <tr>
        <td width="100%" align="center" style="border: 2px solid rgb(188,57,93)"><div
        align="center"><center><table cellSpacing="0" cellPadding="0" width="100%" border="0"
        bgcolor="#FEFEFE">
<TBODY>
          <tr>
            <td align="left"><p align="center"><img src="hautgauche.jpg" width="179" height="250"></td>
            <td width="100%" valign="middle" align="center"><img src="titre.gif" width="262"
            height="141"></td>
            <td align="right"><img src="hautdroit.jpg" width="179" height="250"></td>
          </tr>
</TBODY>
        </table>
        </center></div></td>
      </tr>
    </table>
    <div align="center"><center><table borderColor="#111111" cellSpacing="0" cellPadding="0"
    width="100%" border="0">
<TBODY>
      <tr>
        <td width="100%" align="center"><img src="spacer.gif" border="0" width="285" height="15"></td>
      </tr>
</TBODY>
    </table>
    </center></div><div align="center"><center><table borderColor="#111111" cellSpacing="0"
    cellPadding="0" width="100%" border="0">
<TBODY>
      <tr>
        <td width="100%" align="center"><div align="center"><center><table border="0" width="100%"
        style="border: 3px dotted rgb(188,57,93)" cellspacing="0" cellpadding="10"
        bgcolor="#FEFEFE">
          <tr>
            <td width="100%" valign="middle" align="center" style="border: 2px solid rgb(188,57,93)"><div
            align="center"><center><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
                <td width="23%" valign="middle" align="center"><font face="Verdana" size="2"><strong><b> .::
                <a href="pagevide.htm" target="_blank">Livre d'Or</a> ::. </b></strong></font></td>
                <td width="23%" valign="middle" align="center"><font face="Verdana" size="2"><strong><b>.::
                <a href="pagevide.htm">Email</a> ::.</b></strong></font></td>
                <td width="23%" valign="middle" align="center"><font face="Verdana" size="2"><strong><b>.::
                <a href="pagevide.htm" target="_blank">Annuaire</a> ::.</b></strong></font></td>
                <td width="30%" valign="middle" align="center"><font face="Verdana" size="2"><strong><b>.::
                <a
                href="javascript:window.external.addfavorite('http://www.domaine.com/site/', 'Nom de votre site')">Ajoutez
                à vos favoris</a> ::.</b></strong></font></td>
              </tr>
            </table>
            </center></div></td>
          </tr>
        </table>
        </center></div></td>
      </tr>
</TBODY>
    </table>
    </center></div><div align="center"><center><table borderColor="#111111" cellSpacing="0"
    cellPadding="0" width="100%" border="0">
<TBODY>
      <tr>
        <td width="100%" align="center"><img src="spacer.gif" border="0" width="285" height="15"></td>
      </tr>
</TBODY>
    </table>
    </center></div><div align="center"><center><table borderColor="#111111" height="100%"
    cellSpacing="0" cellPadding="0" width="100%" border="0">
<TBODY>
      <tr>
        <td vAlign="top" align="middle" width="199" height="115"><div align="center"><center><table
        border="0" width="100%" height="100%" style="border: 3px dotted rgb(188,57,93)"
        cellspacing="0" cellpadding="0" bgcolor="#FEFEFE">
          <tr>
            <td width="100%" align="center" style="border: 2px solid rgb(188,57,93)"><div
            align="center"><center><table border="0" width="100%" height="100%" cellspacing="0"
            cellpadding="5">
              <tr>
                <td width="100%" height="95" background="hautdescolonnes.jpg"><img src="spacer.gif"
                border="0" width="180" height="81"></td>
              </tr>
              <tr>
                <td width="100%" height="100%" valign="top" align="center"><strong><font face="Verdana">Menu<br>
                ::::::::::</font></strong><p align="left"><small><font face="Verdana"><strong>::<a
                href="pagevide.htm" target="_blank"> Un lien</a></strong></font></small><br>
                <font face="Verdana"><strong><small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small></strong></font></p>
                <p align="center"><img src="petiteimage.jpg" width="111" height="82"></p>
                <p align="center"> </p>
                <p><strong><font face="Verdana">Menu<br>
                ::::::::::</font></strong></p>
                <p align="left"><small><font face="Verdana"><strong>::<a href="pagevide.htm"
                target="_blank"> Un lien</a></strong></font></small><br>
                <font face="Verdana"><strong><small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small></strong></font></p>
                <p align="center"><img src="petiteimage.jpg" width="111" height="82"></p>
                <p align="center"> </p>
                <p><strong><font face="Verdana">Menu<br>
                ::::::::::</font></strong></p>
                <p align="left"><small><font face="Verdana"><strong>::<a href="pagevide.htm"
                target="_blank"> Un lien</a></strong></font></small><br>
                <font face="Verdana"><strong><small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small></strong></font></p>
                <p align="center"><img src="petiteimage.jpg" width="111" height="82"></p>
                <p align="center"> </p>
                <p><strong><font face="Verdana">Menu<br>
                ::::::::::</font></strong></p>
                <p align="left"><small><font face="Verdana"><strong>::<a href="pagevide.htm"
                target="_blank"> Un lien</a></strong></font></small><br>
                <font face="Verdana"><strong><small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small></strong></font></p>
                <p align="center"><img src="petiteimage.jpg" width="111" height="82"></p>
                <p align="center"> </p>
                <p><strong><font face="Verdana">Menu<br>
                ::::::::::</font></strong></p>
                <p align="left"><small><font face="Verdana"><strong>::<a href="pagevide.htm"
                target="_blank"> Un lien</a></strong></font></small><br>
                <font face="Verdana"><strong><small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small></strong></font></p>
                <p align="center"><img src="petiteimage.jpg" width="111" height="82"></p>
                <p align="center">&nbsp;</p>
                <p><strong><font face="Verdana">Menu<br>
                ::::::::::</font></strong></p>
                <p align="left"><small><font face="Verdana"><strong>::<a href="pagevide.htm"
                target="_blank"> Un lien</a></strong></font></small><br>
                <font face="Verdana"><strong><small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small></strong></font></p>
                <p align="center"><img src="petiteimage.jpg" width="111" height="82"></p>
                <p align="center"></td>
              </tr>
            </table>
            </center></div></td>
          </tr>
        </table>
        </center></div></td>
        <td align="middle" width="10"><img src="spacer.gif" border="0" width="15" height="300"></td>
        <td vAlign="top" align="center" width="100%" height="100%"><div align="center"><center><table
        border="0" width="100%" height="100%" style="border: 3px dotted rgb(188,57,93)"
        cellspacing="0" cellpadding="0" bgcolor="#FEFEFE">
          <tr>
            <td width="100%" align="center" style="border: 2px solid rgb(188,57,93)"><div
            align="center"><center><table border="0" width="100%" height="100%" cellspacing="0"
            cellpadding="5">
              <tr>
                <td width="100%" height="95" background="hautdescolonnes.jpg"><img src="spacer.gif"
                border="0" width="291" height="81"></td>
              </tr>
              <tr>
                <td width="100%" height="100%" valign="top" align="center"><img src="bienvenue.gif"
                width="205" height="90"><br>
                <strong><font face="Verdana"><br>
                <a href="3colset088.zip"><small>Téléchargez ce webset en fichier zip en cliquant ici.</small></a><br>
                </font></strong><br>
                <strong><font face="Verdana"><small>Dans le fichier zip, vous trouverez, cette page ainsi
                que la page vide qui l'accompagne et tous les graphismes.</small><br>
                </font></strong><p><script language="Javascript"
                src="http://www.kissdesign.net/horloge/048/calendrier.js">
</script><br>
                <br>
                <small><strong><font face="Verdana">La police utilisée est <em>Pristina</em> dans la
                couleur : </font></strong></small>#BC395D<br>
                <small><strong><font face="Verdana">Elle est jointe au fichier zip mais si vous voulez
                faire des titres avec, faites le dans votre programme image.</font></strong></small><br>
                <br>
                <small><strong><font face="Verdana">Pour utiliser cet ensemble graphique, vous devez
                ouvrir cette page dans votre éditeur HTML et l'enregistrer sous une autre nom pour en
                garder une copie. </font></strong></small></p>
                <p><strong><font face="Verdana"><small>Ensuite, vous supprimerez les liens qui sont en
                trop et vous modifierez le texte à votre convenance.</small><br>
                <br>
                <small>Faites bien attention à ne pas supprimer l'image transparente (spacer.gif) qui
                sert à maintenir un espace constant entre les différents tableaux et n'oubliez pas de
                l'envoyer aussi sur votre serveur.</small><br>
                </font></strong><br>
                <img src="petiteimage.jpg" width="111" height="82"><br>
                <strong><font face="Verdana"><br>
                <small>Pour changer la musique, il vous suffit de choisir un fichier midi dans votre
                collection, de le renommer <font color="#800000">yoursong.mid</font> et de le
                "copier-coller" le dans le dossier où se trouve déjà votre page, il viendra
                écraser celui qui s'y trouve actuellement.</small></font></strong><br>
                <br>
                <br>
                <img src="petiteimage.jpg" width="111" height="82"><br>
                <br>
                <br>
                <strong><small><font face="Verdana">Actuellement tous les liens pointent vers une page
                vide que vous remplacerez donc par les différentes pages de votre site.</font></small></strong></p>
                <h4 align="center"><font face="Verdana"><small>Remarquez que tous les liens s'ouvrent dans
                une nouvelle fenêtre...</small><br>
                <small>De cette façon, votre sommaire restera toujours à l'arrière-plan et votre
                visiteur pourra donc facilement le retrouver après avoir consulté les différentes
                rubriques.</small><br>
                <small><br>
                </small></font><img src="petiteimage.jpg" width="111" height="82"><br>
                <br>
                <font face="Verdana"><small>*** Si vous utilisez le lien "Ajoutez à vos
                favoris" en haut de la page n'oubliez pas de mettre les bons paramètres de votre
                site dans le code source de la page.</small><br>
               

21Code pour image qui tombe Empty Re: Code pour image qui tombe 22/11/2008, 20:42

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
Désolé j'ai du couper en deux, trop grande

Code:

<small><br>
                </small></font><img src="petiteimage.jpg" width="111" height="82"><br>
                <br>
                <strong><font face="Verdana"><small>Le lien de copyright au bas du set est obligatoire,
                vous ne devez donc rien y changer.</small></font></strong><br>
                <br>
                <img src="petiteimage.jpg" width="111" height="82"><br>
                <br>
                <br>
                </h4>
                <div align="center"><center><table cellSpacing="0" borderColorDark="#4D4D4D"
                cellPadding="0" borderColorLight="#EEEEEE" border="1" height="16">
<TBODY>
                  <tr>
                    <td align="middle" height="14"><embed align="baseline" src="yoursong.mid" width="70"
                    height="26" type="audio/mid" border="0" controls="playbutton" autostart="true" loop="-1"></td>
                  </tr>
</TBODY>
                </table>
                </center></div><p align="center"><br>
                <img src="petiteimage.jpg" width="111" height="82"><br>
                <br>
                <a href="http://www.stockstash.com" target="_blank"><font face="Verdana" size="1"><strong>The
                photograph used in this webset was<br>
                offered by StockCash</strong></font><br>
                </a><br>
                <a href="http://www.kissdesign.net/"><img src="copyright.gif"
                alt="Webset  by © KissDesign Website" border="0" width="131" height="61"></a><script
                language="Javascript1.2">

//Autumn leaves- by Kurt Grigg (kurt.grigg@virgin.net)
//Modified by Dynamic Drive for NS6 functionality
//visit http://www.dynamicdrive.com for this script

//Pre-load your image below!
grphcs=new Array(6)
Image0=new Image();
Image0.src=grphcs[0]="flake.gif";
Image1=new Image();
Image1.src=grphcs[1]="flake.gif"
Image2=new Image();
Image2.src=grphcs[2]="flake.gif"
Image3=new Image();
Image3.src=grphcs[3]="flake.gif"
Image4=new Image();
Image4.src=grphcs[4]="flake.gif"
Image5=new Image();
Image5.src=grphcs[5]="flake.gif"

Amount=4; //Smoothness depends on image file size, the smaller the size the more you can use!
Ypos=new Array();
Xpos=new Array();
Speed=new Array();
Step=new Array();
Cstep=new Array();
ns=(document.layers)?1:0;
ns6=(document.getElementById&&!document.all)?1:0;

if (ns){
for (i = 0; i < Amount; i++){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];
document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>");
}
}
else{
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i = 0; i < Amount; i++){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];
document.write('<img id="si'+i+'" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">');
}
document.write('</div></div>');
}
WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
for (i=0; i < Amount; i++){                                                               
 Ypos[i] = Math.round(Math.random()*WinHeight);
 Xpos[i] = Math.round(Math.random()*WinWidth);
 Speed[i]= Math.random()*5+3;
 Cstep[i]=0;
 Step[i]=Math.random()*0.1+0.05;
}
function fall(){
var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;
var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft;
for (i=0; i < Amount; i++){
sy = Speed[i]*Math.sin(90*Math.PI/180);
sx = Speed[i]*Math.cos(Cstep[i]);
Ypos[i]+=sy;
Xpos[i]+=sx;
if (Ypos[i] > WinHeight){
Ypos[i]=-60;
Xpos[i]=Math.round(Math.random()*WinWidth);
Speed[i]=Math.random()*5+3;
}
if (ns){
document.layers['sn'+i].left=Xpos[i];
document.layers['sn'+i].top=Ypos[i]+hscrll;
}
else if (ns6){
document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i]);
document.getElementById("si"+i).style.top=Ypos[i]+hscrll;
}
else{
eval("document.all.si"+i).style.left=Xpos[i];
eval("document.all.si"+i).style.top=Ypos[i]+hscrll;
}
Cstep[i]+=Step[i];
}
setTimeout('fall()',20);
}

window.onload=fall
//-->
</script></td>
              </tr>
            </table>
            </center></div></td>
          </tr>
        </table>
        </center></div></td>
        <td align="middle" width="10"><img src="spacer.gif" border="0" width="15" height="300"></td>
        <td vAlign="top" align="center" width="290"><div align="center"><center><table border="0"
        width="100%" style="border: 3px dotted rgb(188,57,93)" cellspacing="0" cellpadding="0"
        bgcolor="#FEFEFE" height="100%">
          <tr>
            <td width="100%" align="center" style="border: 2px solid rgb(188,57,93)"><div
            align="center"><center><table border="0" width="100%" height="100%" cellspacing="0"
            cellpadding="5">
              <tr>
                <td width="100%" height="95" background="hautdescolonnes.jpg"><img src="spacer.gif"
                border="0" width="180" height="81"></td>
              </tr>
              <tr>
                <td width="100%" height="100%" valign="top" align="center"><strong><font face="Verdana">Menu<br>
                ::::::::::</font></strong><p align="left"><small><font face="Verdana"><strong>::<a
                href="pagevide.htm" target="_blank"> Un lien</a></strong></font></small><br>
                <font face="Verdana"><strong><small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small></strong></font></p>
                <p align="center"><img src="petiteimage.jpg" width="111" height="82"></p>
                <p align="center"> </p>
                <p><strong><font face="Verdana">Menu<br>
                ::::::::::</font></strong></p>
                <p align="left"><small><font face="Verdana"><strong>::<a href="pagevide.htm"
                target="_blank"> Un lien</a></strong></font></small><br>
                <font face="Verdana"><strong><small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small></strong></font></p>
                <p align="center"><img src="petiteimage.jpg" width="111" height="82"></p>
                <p align="center"> </p>
                <p><strong><font face="Verdana">Menu<br>
                ::::::::::</font></strong></p>
                <p align="left"><small><font face="Verdana"><strong>::<a href="pagevide.htm"
                target="_blank"> Un lien</a></strong></font></small><br>
                <font face="Verdana"><strong><small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small></strong></font></p>
                <p align="center"><img src="petiteimage.jpg" width="111" height="82"></p>
                <p align="center"> </p>
                <p><strong><font face="Verdana">Menu<br>
                ::::::::::</font></strong></p>
                <p align="left"><small><font face="Verdana"><strong>::<a href="pagevide.htm"
                target="_blank"> Un lien</a></strong></font></small><br>
                <font face="Verdana"><strong><small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small></strong></font></p>
                <p align="center"><img src="petiteimage.jpg" width="111" height="82"></p>
                <p align="center"> </p>
                <p><strong><font face="Verdana">Menu<br>
                ::::::::::</font></strong></p>
                <p align="left"><small><font face="Verdana"><strong>::<a href="pagevide.htm"
                target="_blank"> Un lien</a></strong></font></small><br>
                <font face="Verdana"><strong><small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small></strong></font></p>
                <p align="center"><img src="petiteimage.jpg" width="111" height="82"></p>
                <p align="center"> </p>
                <p><strong><font face="Verdana">Menu<br>
                ::::::::::</font></strong></p>
                <p align="left"><small><font face="Verdana"><strong>::<a href="pagevide.htm"
                target="_blank"> Un lien</a></strong></font></small><br>
                <font face="Verdana"><strong><small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small><br>
                <small>::<a href="pagevide.htm" target="_blank"> Un lien</a></small></strong></font></p>
                <p align="center"><img src="petiteimage.jpg" width="111" height="82"></p>
                <p align="center"></td>
              </tr>
            </table>
            </center></div></td>
          </tr>
        </table>
        </center></div></td>
      </tr>
      <tr>
        <td align="center" width="199" height="19">  <p><strong><font face="Verdana"
        size="2">Emplacement pour ajouter de petits logos, compteurs etc...</font></strong><br>
        <br>
        </td>
        <td align="middle" width="12" height="19"></td>
        <td align="center" width="100%" height="100%"> <p align="center"><strong><font
        face="Verdana" size="2">Emplacement pour ajouter de petits logos, compteurs etc...</font></strong></td>
        <td align="middle" width="12" height="19"></td>
        <td align="center" width="290">&nbsp;<p><strong><font face="Verdana" size="2">Emplacement pour
        ajouter de petits logos, compteurs etc...</font></strong><br>
        <br>
        </td>
      </tr>
</TBODY>
    </table>
    </center></div></td>
  </tr>
</TBODY>
</table>
</center></div>
</body>
</html>

22Code pour image qui tombe Empty Re: Code pour image qui tombe 23/11/2008, 00:11

Zeco
Zeco
Administrateur absent
http://digs.forumactif.com/forum
Le script ne semble pas pouvoir fonctionner correctement sans une base de données... je crois qu'à moins de l'inscruter entièrement, ce soit difficile...
Il n'y a pas un guide avec ?

23Code pour image qui tombe Empty Re: Code pour image qui tombe 23/11/2008, 11:41

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
Non pas de guide c'est livrée tel quel

24Code pour image qui tombe Empty Re: Code pour image qui tombe 23/11/2008, 12:10

Zeco
Zeco
Administrateur absent
http://digs.forumactif.com/forum
Re...
Est ce que tu peux me passer l'adresse des images des feuilles ?
Et me dire en quelles proportions je dois les mettre par rapport au nombre d'images (1/5, 2/5, 3/5, 4/5, 5/5).

25Code pour image qui tombe Empty Re: Code pour image qui tombe 23/11/2008, 12:29

Solitude
Solitude
(Membre)
http://tokyo.jdrforum.com/index.htm
0 :
http://www.hebergima.com/images/t70v1r0whaqdul9ke7gq.png
1 :
http://www.hebergima.com/images/05lz93qjadvphn0psc.png
2 :
http://www.hebergima.com/images/gy5g1qd204pc6lbi6d2.png
3 :
http://www.hebergima.com/images/8fa5d0xqct3rdgxz3yy.png
4 :
http://www.hebergima.com/images/t70v1r0whaqdul9ke7gq.png
5 :
http://www.hebergima.com/images/8fa5d0xqct3rdgxz3yy.png


Contenu sponsorisé

Voir le sujet précédent Voir le sujet suivant Revenir en haut  Message [Page 1 sur 2]

Aller à la page : 1, 2  Suivant

Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum

 
  •  

Créer un forum | ©phpBB | Forum gratuit d'entraide | Signaler un abus | Forum gratuit

Ne ratez plus aucun deal !
Abonnez-vous pour recevoir par notification une sélection des meilleurs deals chaque jour.
IgnorerAutoriser