PDA

View Full Version : width changing and second div sliding


indianleo
02-02-2010, 10:10 PM
hello friends i got a
<a href="#">click me</a>
<div>
<div style="width:100%; float:left"></div>
<div style="width:30%; float:left; display:none;"></div>
</div>

now i want when i click on click me the 100% width div changes to width:70% and 30% div to be visible with sliding effect from right to left


pls help me out in doing this

domedia
02-02-2010, 11:27 PM
Look into jQuery and some sliding effects there.
That markup won't work for this I think.

indianleo
02-02-2010, 11:48 PM
thanks a lot