Visualizzazione dei risultati da 1 a 9 su 9

Hybrid View

  1. #1

    Problema funzione animate jQuery

    Ciao devo fare una gallery e volevo che al passaggio del mouse aumentasse la dimensione del div e alla sua uscita diminuisse, ma se passo velocemente da un div all' altro mi si sforma tutto e impazzisce.


    codice:
    $(".thumb ").mouseover (function()
        {   
            $(this).animate({marginLeft: -10,marginTop: -10,height: ($(this).height()+20),width: ($(this).width()+20)}, 300 , "easeOutBounce");
        })
        
        $(".thumb ").mouseout(function()
        {
           $(this).animate({marginLeft: 0,marginTop: 0,height: ($(this).height()-20),width:   ($(this).width()-20)}, 0, "easeOutBounce");
        })
    Immagini allegate Immagini allegate

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.