Tema: efecto raro
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 10/11/2009, 14:06
Avatar de destor77
destor77
 
Fecha de Ingreso: noviembre-2004
Ubicación: Gálvez, Santa Fe, Argentina
Mensajes: 2.654
Antigüedad: 19 años, 6 meses
Puntos: 43
Respuesta: efecto raro

hola he probado así como dices tu mayid (pongo todo mi js a lo mejor es por eso)
Código javascript:
Ver original
  1. $(function() {
  2.     $('#legal').click(function(){
  3.         $('#dialog').dialog('open');
  4.         return false;
  5.  
  6.     });
  7.     $("#dialog").dialog({
  8.         autoOpen: false,
  9.         width: 500,
  10.         bgiframe: true,
  11.         height: 340,
  12.         modal: true
  13.     });
  14.  
  15.  
  16.     $('#mensaje').click(function(){
  17.         $("#mensaje").slideUp();
  18.     });
  19.  
  20.     //slider
  21.     $('#rotador').cycle({
  22.         fx:     'fade',
  23.         speed:    5000,
  24.         timeout:  3000,
  25.         height:   207
  26.     });
  27.  
  28.     //acordeon
  29.     $("#accordion").accordion({ active: -1 });
  30.     $("#accordion1").accordion({ active: -1 });
  31.     $("#accordion2").accordion({ active: -1 });
  32.     $("#accordion3").accordion({ active: -1 });
  33.     $("#accordion4").accordion({ active: -1 });
  34.     $("#accordion5").accordion({ active: -1 });
  35.     $("#accordion6").accordion({ active: -1 });
  36.  
  37.     //portfolio
  38.     /*
  39.     $(".thumb a").click(function(){
  40.     var imgHref = $(this).attr('title');  //get the src of the thumbnail
  41.     $(".thumb a").removeClass("selected");  //remove .selected class from all other links
  42.     $(this).addClass("selected");  //add .selected class to current link
  43.     $(".big").stop();
  44.     $(".big").stop().fadeTo(700, 0, function() {  //fade image out
  45.     $('.big').attr('src', imgHref );  //give new image a src attribute
  46.  
  47.     }).fadeTo("slow", 1);  //fade the image in
  48.     },$(".thumb a").mouseout = function(){    //for onmouseout not used here
  49.     });*/
  50.     $(".thumb a").click(function(){
  51.         var imgHref = $(this).attr('title');  //get the src of the thumbnail
  52.         $(".thumb a").removeClass("selected");  //remove .selected class from all other links
  53.         $(this).addClass("selected");  //add .selected class to current link
  54.         $(".big").stop();
  55.         $(".big").stop().fadeTo(700, 0, function() {  //fade image out
  56.             $('.big').attr('src', imgHref );  //give new image a src attribute
  57.             $('.bighref').attr('href', 'big/' + imgHref );
  58.  
  59.         }).fadeTo("slow", 1);  //fade the image in
  60.     },$(".thumb a").mouseout = function(){    //for onmouseout not used here
  61.  
  62.     });
  63.    
  64.     $(".thumb2 a").click(function(){
  65.         var imgHref = $(this).attr('title');  //get the src of the thumbnail
  66.         $(".thumb2 a").removeClass("selected");  //remove .selected class from all other links
  67.         $(this).addClass("selected");  //add .selected class to current link
  68.         $(".big2").stop();
  69.         $(".big2").stop().fadeTo(700, 0, function() {  //fade image out
  70.             $('.big2').attr('src', imgHref );  //give new image a src attribute
  71.             $('.bighref2').attr('href', 'big/' + imgHref );
  72.  
  73.         }).fadeTo("slow", 1);  //fade the image in
  74.     },$(".thumb2 a").mouseout = function(){    //for onmouseout not used here
  75.    
  76.     return false;
  77.     });
  78.  
  79.    
  80.     /*$("#slider").easySlider({
  81.         auto: false,
  82.         continuous: false,
  83.         numeric: true
  84.     });*/
  85.  
  86.  
  87.  
  88.  
  89.     $("a[rel^='prettyPhoto']").prettyPhoto();
  90. });

y no funciona :S