Accueil   Accueil    Forum   Forum    Download   Download    Livre d'or   Livre d'or    Contact   Contact    Liens Web   Liens Web

JavaScript qui ne fonctionne plus sous 1.3 - CMS KwsPHP - Le site clés en main

Colonne de gauche

Espace membre

Privé Masquer le formulaire de connexion


Se souvenir de moi ?


Mot de passe oublié

Menu

Forum

Sujets Importants

fleche basForum : Masquer l’entête

Accès rapide :

 

Effectuer une Recherche avancée OU


fleche bas[Résolu] JavaScript qui ne fonctionne plus sous 1.3  [3 réponses]

fleche bas

Imprimer Permalien jeudi 13 décembre 2007 à 09:13  
Sujet déplacé le vendredi 25 avril 2008 : 22:21

Suite au passage en version 1.3 le code suivant ne fonctionne plus:

Code PHP :
Pour copier le contenu exact du code,
Veuillez citer le message
  1. <?php  
  2. #####!!!#####
  3.  
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  5. <html>
  6. <head>
  7.   <meta content="text/html; charset=ISO-8859-1"
  8.  http-equiv="content-type">
  9.   <title>Clowns Pour De Rire</title>
  10. <!-- DEBUT DU SCRIPT SLIDESHOW-->
  11.   <script>
  12. // (C) 2000 www.CodeLifter.com
  13. // http://www.codelifter.com
  14. // Free for all users, but leave in this header
  15. // NS4-6,IE4-6
  16. // Fade effect only in IE; degrades gracefully
  17. // =======================================
  18. // Changer les variables suivantes
  19. // =======================================
  20. // Set slideShowSpeed (milliseconds)
  21. var slideShowSpeed = 1000
  22. // Duration of crossfade (seconds)
  23. var crossFadeDuration = 10
  24. // Specify the image files
  25. var Pic = new Array() // don't touch this
  26. // to add more images, just continue
  27. // the pattern, adding to the array below
  28. Pic[0] = 'http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2007/Cazeres/thumbnail/tn-PhotosC%20017.jpg'
  29. Pic[1] = 'http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2007/Eaunes/thumbnail/tn-img_1792.jpg'
  30. Pic[2] = 'http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2006/Alternalys/thumbnail/tn-DSC04635.jpg'
  31. Pic[3] = 'http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2006/SteFoy/thumbnail/tn-DSC04162.jpg'
  32. Pic[4] = 'http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2006/SteFoy/thumbnail/tn-DSC04216.jpg'
  33. Pic[5] = 'http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2006/SteFoy/thumbnail/tn-DSC04149.jpg'
  34. Pic[6]='http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2005/Montesquieu/thumbnail/tn-DSC03982.jpg'
  35. Pic[7]='http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2005/Loubens/thumbnail/tn-DSC03560.jpg'
  36. Pic[8]='http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2005/Loubens/thumbnail/tn-DSC03544.jpg'
  37. Pic[9]='http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2005/Loubens/thumbnail/tn-DSC03559.jpg'
  38. Pic[10]='http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2005/Loubens/thumbnail/tn-DSC03587.jpg'
  39. Pic[11]='http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2005/Occitanes/thumbnail/tn-DSC03531.jpg'
  40. // =======================================
  41. // Ne rien éditer au-dessous de cette ligne
  42. // =======================================
  43. var t
  44. var j = 0
  45. var p = Pic.length
  46. var preLoad = new Array()
  47. for (i = 0; i < p; i++){
  48. preLoad[i] = new Image()
  49. preLoad[i].src = Pic[i]
  50. }
  51. function runSlideShow(){
  52. if (document.all){
  53. document.images.SlideShow.style.filter="blendTrans(duration=2)"
  54. document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
  55. document.images.SlideShow.filters.blendTrans.Apply()
  56. }
  57. document.images.SlideShow.src = preLoad[j].src
  58. if (document.all){
  59. document.images.SlideShow.filters.blendTrans.Play()
  60. }
  61. j = j + 1
  62. if (j > (p-1)) j=0
  63. t = setTimeout('runSlideShow()', slideShowSpeed)
  64. }
  65.   </script><!-- FIN DU SCRIPT SLIDESHOW-->
  66. </head>
  67. <body onload="runSlideShow()">
  68. <div style="text-align: center;"><big
  69.  style="font-family: FuturaA Bk BT;"><big><big><span
  70.  style="font-family: FuturaA Bk BT; font-weight: bold;"><br>
  71. Troupe
  72. de</span></big></big></big><big
  73.  style="font-family: FuturaA Bk BT;"><big><big><span
  74.  style="font-family: FuturaA Bk BT; font-weight: bold;">
  75. Clown
  76. Théâtre</span></big></big></big><br>
  77. </div>
  78. <!-- DEBUT DU SCRIPT SLIDESHOW-->
  79. <p align="center"><img
  80.  src="http://phibrunet.free.fr/ClownsPourDeRire/modules/mg3/albums/interventions/2007/Cazeres/thumbnail/tn-PhotosC%20017.jpg"
  81.  name="SlideShow" height="90" width="120"><img
  82.  alt=""
  83.  src="http://phibrunet.free.fr/ClownsPourDeRire/ClownsPourDeRire/themes/coffee/graph/clown.jpeg"
  84.  border="0"></p>
  85. <p align="center"><big><span
  86.  style="font-family: FuturaA Bk BT;"><span
  87.  style="font-weight: bold; color: rgb(0, 0, 0); font-family: FuturaA Bk BT;">Déambulations
  88. clownesques</span></span></big></p>
  89. <p align="center"><big><span
  90.  style="font-family: FuturaA Bk BT;"><span
  91.  style="font-weight: bold; color: rgb(0, 0, 0); font-family: FuturaA Bk BT;">Animations
  92. de rue</span></span></big></p>
  93. <p align="center"><big><span
  94.  style="font-family: FuturaA Bk BT;"><span
  95.  style="font-weight: bold; color: rgb(0, 0, 0); font-family: FuturaA Bk BT;">Scènes
  96. improvisées</span></span></big></p>
  97. <p align="center"><big><span
  98.  style="font-family: FuturaA Bk BT;"><span
  99.  style="font-weight: bold; color: rgb(0, 0, 0); font-family: FuturaA Bk BT;">Stages</span></span></big></p>
  100. <p align="center"><span
  101.  style="font-family: FuturaA Bk BT;"><span
  102.  style="font-weight: bold; color: rgb(0, 0, 0); font-family: FuturaA Bk BT;"></span></span><img
  103.  style="width: 13px; height: 13px;" alt=""
  104.  src="http://phibrunet.free.fr/ClownsPourDeRire/modules/page/images/pointRouge.png"><br>
  105. </p>
  106. <p align="center"><span
  107.  style="font-family: FuturaA Bk BT;">Nous contacter: </span><a
  108.  style="font-weight: bold; color: rgb(0, 0, 0); font-family: FuturaA Bk BT;"
  109.  href="mailto:email anti-spam">clownspourderire@free.fr</a><span
  110.  style="font-weight: bold; font-family: FuturaA Bk BT;"> </span><span
  111.  style="font-family: FuturaA Bk BT;">ou</span><span
  112.  style="font-weight: bold; font-family: FuturaA Bk BT;"> </span><span
  113.  style="font-weight: bold; color: rgb(0, 0, 0); font-family: FuturaA Bk BT;">08
  114. 73 60 68 91</span><span style="font-family: FuturaA Bk BT;">
  115. ou <span
  116.  style="font-weight: bold; color: rgb(0, 0, 0); font-family: FuturaA Bk BT;">06
  117. 28 20 80 27</span></span></p><br>
  118. <center><a target="_blank" href="http://spectable.com" target="_blank"><img src="http://spectable.com/picto/spectable_2.jpeg" width=77 height=21 alt="spectable.com : annuaire culturel - agenda - petites annonces" border="0" /></a></center>
  119. </body>
  120. </html>
  121.  
  122. #####!!!#####
  123. ?>

J'avais des images qui défilaient en java script. Ca ne fonctionne plus.
Quelqu'un à une idée d'où ça peut venir?

En fait ça fonctionne. Problème de cache!


Edité Jeudi 13 décembre 2007 :10:31 par phibru


Infos CMS KwsPHP


Informations : Avant de poster un sujet sur le forum

Veuillez avant tout vérifiez la comparaison de vos fichiers sur votre site
Mon compte / Outils / Comparaison


La recherche avancée du forum (en ciblant au mieux les options de la recherche)
La Faq - La documentation - La documentation en vidéo - Le sujet "Install et Mise à jour"
Vous devez lire en priorité le topic de la 1.6 pour en découvrir ses fonctionnalités


Afficher



scoubi
starsj6.png
Dieu


avatar
Hors ligne

Nombre de posts: 1773 (0.24/Jour)
Inscrit(e) le: 24 juin 2006
Visiter son site
Imprimer Permalien jeudi 13 décembre 2007 à 10:29  
c'es bizarre, par ailleurs il y a une autre erreur dans l'édito à la fin, sur le lien de l'url qui n'est pas correcte

ha ben oui, je vois que tu as trouvé la solution

tant mieux (résolu ?) c'était quoi à part l'erreur de syntaxe, ou le probléme de l'url ?

scoubi
vive le soleil


Imprimer Permalien jeudi 13 décembre 2007 à 11:10  
En fait j'en sais rien. C'est tombé en marche tout seul!!! smiley sg3agrolleyesg3ag.gif


σGarveur
starsj7.png
Dieu Supreme


avatar
Hors ligne

Nombre de posts: 3238 (0.46/Jour)
Inscrit(e) le: 17 juillet 2007
Visiter son site
Imprimer Permalien jeudi 13 décembre 2007 à 11:13  
Bonjour,

Je ne dirais pas ça !!!!!

Disons que certaine variable ont du arrivé en limite de vie et rechargé correctement ta page !!!


A+

Avoir l'air coñ n'est qu'une question de point de vue....


fleche bas[Résolu] JavaScript qui ne fonctionne plus sous 1.3  [3 réponses]