Ver Mensaje Individual
  #15 (permalink)  
Antiguo 24/12/2010, 07:18
motorinapronto
 
Fecha de Ingreso: noviembre-2010
Mensajes: 101
Antigüedad: 13 años, 5 meses
Puntos: 0
Respuesta: problema enlazar js

he puesto el codigo q me indicas y sustituido el $ por jquery como me indicas (eso ya no me da error) y me funciona sólo lightbox y carousel (lo demas nada...)

Ahora me aparece este error nuevo:

$("#mask-gallery, #gallery li") is null
$('#mask-gallery, #gallery li').width($('#slider').width());

y dice que es aqui:

Código PHP:

jQuery
(document).ready(function() {

    
//Speed of the slideshow
    
var speed 3500;
    
    
//You have to specify width and height in #slider CSS properties
    //After that, the following script will set the width and height accordingly
    
$('#mask-gallery, #gallery li').width($('#slider').width());    
    $(
'#gallery').width($('#slider').width() * $('#gallery li').length);
    $(
'#mask-gallery, #gallery li, #mask-excerpt, #excerpt li').height($('#slider').height());
    
    
//Assign a timer, so it will run periodically
    
var run setInterval('newsscoller(0)'speed); 
pero eso no deberia ser problema porque es el codigo del plugin...


gracias por tu ayuda