Ver Mensaje Individual
  #16 (permalink)  
Antiguo 24/12/2010, 07:28
Avatar de masterpuppet
masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 3 meses
Puntos: 845
Respuesta: problema enlazar js

El problema es el mismo, el código afecta a prototype o jQuery?, por como lo estas utilizando entiendo que es jQuery y por lo tanto deberías cambiar los $ por jQuery.

Código Javascript:
Ver original
  1. jQuery(document).ready(function() {
  2.  
  3.     //Speed of the slideshow
  4.     var speed = 3500;
  5.    
  6.     //You have to specify width and height in #slider CSS properties
  7.     //After that, the following script will set the width and height accordingly
  8.     jQuery('#mask-gallery, #gallery li').width(jQuery('#slider').width());    
  9.     jQuery('#gallery').width(jQuery('#slider').width() * jQuery('#gallery li').length);
  10.     jQuery('#mask-gallery, #gallery li, #mask-excerpt, #excerpt li').height(jQuery('#slider').height());
  11.    
  12.     //Assign a timer, so it will run periodically
  13.     var run = setInterval('newsscoller(0)', speed);
  14. });