Take the 2-minute tour ×  I have a grid of div's (we'll call
"#entry"'s). I currently have them where once someone clicks any
one div it will make all the others fade out. However rather
abruptly the selected(clicked on) div will move to the top left
of the part div. How can I get it to "smoothly" transition to
that part of the screen after all the others have faded out?
I'll provide below the code I'm currently using.
$(document).ready(function() {   share|improve this question
Your code implies that you have more than one element with the
ID entry. If so, this is invalid. You should use a class
instead. –  user113716 Dec 21 '10 at 15:27 Thanks! I just
recently asked what the difference between the two were and
haven't broken the bad habit yet. :) –  moopasta Dec 21 '10 at
15:39  6 Answers 6  up vote 1 down vote accepted  First off it
is incorrect to have multiple HTML Elements with the same ID
That being said the parent DIV must have a position:relative
style set.  Using jQuery you can then do         $