Preview hidden options on web sites
Posted
by
veili_13
on Programmers
See other posts from Programmers
or by veili_13
Published on 2014-08-25T15:00:29Z
Indexed on
2014/08/25
16:27 UTC
Read the original article
Hit count: 1682
I want to have hidden options on my web site and be previewed only when the user chooses. I want to animate them from left and right (about 15%). At the moment I have them visible in my html but with width set at 0 and animate it at 15%.
In these containers are many options which should disappear to the left/right (with slide effect). But I am not so sure that having all of this in my HTML so I am thinking to create them with jQuery, with 0 width and animating it to it's should be width and setting the other elements to 0 width.
Is this approach good, or should I create them and hide the overflow so I would animate position. Or is there a better approach ??
© Programmers or respective owner