css3 - jQuery bottom position or transition reverse? -



css3 - jQuery bottom position or transition reverse? -

i have problem can't find solution to.

i have 4 icons in div so:

<div class="icons"> <img id="planung" src="assets/images/charts/ablauf/planung.png" /> <img id="machbarkeit" src="assets/images/charts/ablauf/machbarkeit.png" /> <img src="assets/images/charts/ablauf/entwicklung.png" /> <img src="assets/images/charts/ablauf/innovation.png" /> </div>

now have text boxes above, have height , width of 0 so:

<div class="ablauftext" id="planungtext"> asd </div> <div class="ablauftext" id="machbarkeittext"> asd </div>

the text boxes animated on icons. illustration "planungtext" aligned on top left of icon "planung". icons div has width of 80% , icons themself positioned via justify. i'm using jquery position of every icon. problem is, offset gets top , left positions. when set these positions , add together negative margin of height, positioned on top of icon. problem now, transition when click icon "planung" top left bottom right. ofcourse is, set top value.

now 2 things create work:

a) there way bottom position of icon, rather top, or b) there way reverse transition?

my illustration might not reply this: reformat html icon , text in same containing div

<div class="icons"> <div class="icon"> <img id="planung" src="assets/images/charts/ablauf/planung.png" /> <div class="ablauftext" id="planungtext"> asd </div> </div> <div class="icon"> <img id="machbarkeit" src="assets/images/charts/ablauf/machbarkeit.png" /> <div class="ablauftext" id="machbarkeittext"> asd </div> </div> <div class="icon"> <img src="assets/images/charts/ablauf/entwicklung.png" /> </div> <div class="icon"> <img src="assets/images/charts/ablauf/innovation.png" /> </div> </div>

now, instead of using jquery .position() find position, can cutting part out , show , hide text div. position:absolute images , text within of .icon class.

leave comment if need more info. if need more info, might need more info you.

jquery css3

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -