View Full Version : width changing and second div sliding

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

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

02-02-2010, 10:48 PM
thanks a lot