jquery - On Mouseover need div to slide-up -


i'm trying have div in top barely visible (image #1), on mouseover slides have copy in (image #2). on mouseout / leave div returns #1 position.

any appreciated

link img of i'm trying accomplish

everything work fine, 2 little change , on go!

first when use stop, put write : stop(true); div stop flickering.

then, able see little red line, have play height of .default note if change in css, have change in animate() too!

i set 15px testing , it's value, see : http://jsfiddle.net/daj9s/14/

note way doing animation not responsive. in other word, if text have 2 lines, not work well. code totally acceptable "dont along" jquery. pointing out problem may face later!

edit: ringo said in answer, use .hover() instead of .mouseover() , mouseout()!


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -