toorieesogera
New Member
I can't come up with solution to my problem. So I've got cool idea to make fancy looking user panel but can't figure out how to make jquery work right . Here's the thing: \[code\]html:<div id="content"><div id="containerleft"><div id="box1" class="box"></div><div id="box2" class="box"></div><div id="box3" class="box"></div><div id="box4" class="box"></div><div id="box5" class="box"></div><div id="box6" class="box"></div></div></div>JS:$(".box").click(function(){$(this).css({'position' : 'absolute'}).animate({ width: '100%', height : '100%'},300); });\[/code\]Here is how it work with css: http://jsfiddle.net/85mJN/1/What I'm trying to achieve is resize div from his position, to size of parent div, growing effect I would call. As you can see, after .click div is moving to the left top corner, and then its fiting to parent, also its ruing whole thing by moving other guys. I've tried to mess around with .css('z-index': '999') for animated div, but that was a miss. Main goal is to expand div from his original position, above other div's, without moving them. ~ sandman