begin process at 2008 08 28 21:37:19
1 233 393 membres
485 nouveaux aujourd'hui
14 291 membres club

Vous ne trouvez pas de réponse à votre problème ? Alors posez la question dans le forum.
Souvenez-vous qu'il n'y a jamais de question bête, mais rester dans l'ignorance parce que l'on n'ose pas poser une question, ça c'est une erreur !

COULEUR DE FOND ALEATOIRE + TITRE ALEATOIRE *UPDATED*


Information sur la source

Catégorie :Effets Niveau : Débutant Date de création : 01/08/2003 Date de mise à jour : 07/08/2003 02:24:49 Vu : 5 052

Note :
Aucune note

Commentaire sur cette source (0)
Ajouter un commentaire et/ou une note


Description

C'est un script qui choisi une couleur de fond aleatoire.

*UPDATES*
06/08/03 - Titre aléatoire

Source

  • couleur de fond aleatoire
  • ********************
  • <script>
  • //ici, vous mettez les codes de couleurs ou leur noms.
  • var bgcolorlist=new Array("#DFDFFF", "#FFFFBF", "#80FF80", "#EAEAFF", "#C9FFA8", "#F7F7F7", "#FFFFFF", "#DDDD00")
  • document.bgColor=bgcolorlist[Math.floor(Math.random()*bgcolorlist.length)]
  • </script>
  • titre aleatoire
  • ***********
  • <script language="Javascript">
  • rand = new Array
  • rand[0] = "<title>::Bienvenue::</title>"
  • rand[1] = "<title>::Allez-vous en!::</title>"
  • rand[2] = "<title>::Allez faire un tour sur JavaScriptFR.COM::</title>"
  • rand[3] = "<title>::Allez faire un tour sur le forum::</title>"
  • rand[4] = "<title>::Allez faire un tour sur la boutique::</title>"
  • rand[5] = "<title>::Allez nulpart::</title>"
  • rand[6] = "<title>::C'est plate...::</title>"
  • rand[7] = "<title>::Allez faire un tour sur le chat::</title>"
  • rand[8] = "<title>::Allez faire un tour sur le site::</title>"
  • rand[9] = "<title>::Veuillez m'envoyer 1000$ comptant par email::</title>"
  • var a = Math.random() + "" ;
  • var rand1 = a.charAt(5) ;
  • document.write( rand[rand1] )
  • </script>
couleur de fond aleatoire
********************
<script>
//ici, vous mettez les codes de couleurs ou leur noms.
var bgcolorlist=new Array("#DFDFFF", "#FFFFBF", "#80FF80", "#EAEAFF", "#C9FFA8", "#F7F7F7", "#FFFFFF", "#DDDD00")

document.bgColor=bgcolorlist[Math.floor(Math.random()*bgcolorlist.length)]
</script>


titre aleatoire
***********
<script language="Javascript">
rand = new Array
rand[0] = "<title>::Bienvenue::</title>"
rand[1] = "<title>::Allez-vous en!::</title>"
rand[2] = "<title>::Allez faire un tour sur JavaScriptFR.COM::</title>"
rand[3] = "<title>::Allez faire un tour sur le forum::</title>"
rand[4] = "<title>::Allez faire un tour sur la boutique::</title>"
rand[5] = "<title>::Allez nulpart::</title>"
rand[6] = "<title>::C'est plate...::</title>"
rand[7] = "<title>::Allez faire un tour sur le chat::</title>"
rand[8] = "<title>::Allez faire un tour sur le site::</title>"
rand[9] = "<title>::Veuillez m'envoyer 1000$ comptant par email::</title>"

var a = Math.random() + "" ;
var rand1 = a.charAt(5) ;
document.write( rand[rand1] )
</script> 

Conclusion

merci de m'aviser s'il y a des bugs.



bob3000
http://www.netdude.tk
    Aucun commentaire pour le moment.

Ajouter un commentaire

Pub



Appels d'offres

Recherche developpeur ...
Budget : 700€
SITE MARCHAND LOCATION...
Budget : 3 000€
SITE MARCHAND POUR HOTEL
Budget : 4 000€

CalendriCode

Août 2008
LMMJVSD
    123
45678910
11121314151617
18192021222324
25262728293031

VS Express FR Gratuit !

VS Express en français et 100% gratuit !

Boutique

Boutique de goodies CodeS-SourceS