Notorious_Creed Notorious_Creed - 1 year ago 90
jQuery Question

Increase width from 0 to a 100% with css or jquery

i want to increase my width from 0 to a 100.

I've tried this:

<script type="text/javascript">
$("#underline").animate({width: '250px'});

To make it increase it's width but it won't work. I've also done some research too see if it's possible with css, but i keep ending up with tutorials on hover effects.

I would really appreciate if someone could help me with the problem.

Answer Source

Syntax error: Closing bracket missing for document.ready


        $("#underline").animate({width: '250px'});

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download