Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/11/2012, 13:19
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 17 años, 7 meses
Puntos: 1567
Respuesta: el script no se jecuta

No creo que sea spam @zerokilled
Si, en realidad tiene varios problemas, la mayoría relacionados con la forma caótica en que se invocan las scripts. hay funciones que llaman a funciones y al parecer no todas cargan al cargar la página. La solución puntual no te la puedo decir´. Pero empezá probando con esto, todo este fragmento


Código Javascript:
Ver original
  1. <script>
  2. document.onload="llama()";
  3.  
  4. function abreImagen(img){
  5.     var parrafo = document.getElementById("respuesta");
  6.     var nodoContenido = document.createTextNode(document.images[img].title);
  7.     parrafo.replaceChild(nodoContenido,parrafo.childNodes[0]);
  8. //  parrafo.appendChild();
  9.     //document.body.appendChild(parrafo);
  10.     var cPath = "cPath=" + (document.images[img].id).substring(2);
  11. //  document.write('id=' + document.images[img].id);
  12.     window.open("index.php?" + cPath,"_self");
  13. }  
  14.  
  15. </script>  
  16.  
  17.  <script type="text/javascript">
  18. var color = 0;
  19. var suma = 1;
  20. function llama(){
  21.      if (color<=0){
  22.        aparecer();
  23.      }
  24. }    
  25. function aparecer(){
  26.     var obj = document.getElementById('escaparate');
  27.     obj.style.display = "block";
  28.     color += suma;
  29.     if (!(color>=110)){
  30.     obj.style.filter = 'alpha(opacity='+color+')';
  31.                  obj.style.opacity = color /100;
  32.                  obj.style.MozOpacity = color /100;
  33.                  obj.style.KHTMLOpacity = color /100;
  34.             window.setTimeout("aparecer();", 10);
  35.     }
  36. }</script>
  37. <script>
  38. $(document).ready(function(){
  39.                            
  40.     // This initialises carousels on the container elements specified, in this case, carousel1.
  41.     $("#carousel1").CloudCarousel(     
  42.         {          
  43.             xPos: 400,
  44.             yPos: 50,
  45.             buttonLeft: $("#left-but"),
  46.             buttonRight: $("#right-but"),
  47.             altBox: $("#alt-text"),
  48.             titleBox: $("#title-text"),
  49. //          bringToFront: true,
  50. //          autoRotate: "left",
  51.             autoRotateDelay: 2000,
  52.             yRadius:50,
  53.             xRadius:300,
  54.             speed:0.5,
  55.             reflHeight:70,
  56.             reflGap:5,
  57.             minScale:0.3
  58.         }
  59.     );
  60. });
  61. </script>

Ponelo antes del cierre del body, y no por fuera del html como esta ahora, y la primer linea
Código Javascript:
Ver original
  1. document.onload="llama()";
reemplazala por
Código Javascript:
Ver original
  1. window.onload=llama;

a lo mejor tenés suerte y se arregla.

y no estaría demás que limpies tu html
Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.