Ver Mensaje Individual
  #14 (permalink)  
Antiguo 24/12/2010, 05:12
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 que seguís utilizando $ cuando deberías utilizar jQuery.

Código Javascript:
Ver original
  1. //Prototype no tiene ready tiene loaded sino recuerdo mal
  2. //y se dispara bastante mas tarde, vamos a probar dejarlo dentro del ready de jQuery
  3. jQuery.noConflict();
  4. jQuery(document).ready(function() {
  5.     jQuery('#mycarousel').jcarousel({
  6.         vertical: true,
  7.         scroll: 2
  8.     });
  9.   //Speed of the slideshow
  10.     var speed = 3500;
  11.     .....
  12. });

Con respecto al menu tenes dos soluciones o cambias los $ por jQuery o haces algo asi:

Código Javascript:
Ver original
  1. (function($){
  2.     //aqui el $ es el de jQuery
  3.     function mainmenu(){
  4.         var nav = $("#nav ul ");
  5.         nav.css({display: "none"}); // Opera Fix
  6.         nav.hover(function(){
  7.             $(this).find('ul:first').css(
  8.                          {visibility: "visible",display: "none"}).show(400);
  9.         },function(){
  10.             $(this).find('ul:first').css({visibility: "hidden"});
  11.         });
  12.     }
  13.     $(document).ready(function(){
  14.         mainmenu();
  15.     });    
  16. })(jQuery);

Probalo y nos comentas.