html code:

<ul class="item">
	<li><a href="#">Menu Item One</a></li>

	<li><a href="#">Menu Item Two</a></li>
	<li><a href="#">Menu Item Three</a></li>
	<li><a href="#">Menu Item Four</a></li>
	<li><a href="#">Menu Item Five</a></li>
</ul>

srcpt code:

$(document).ready(function() {
        $('ul.item a').hover(function() {
                $(this).stop().animate({ left: 20 }, 'fast');
            }, function() {
                $(this).stop().animate({ left: 0 }, 'fast');
            });
    });

pls help me to my project pls pls pls :( . i want to tiger the a link (EACH a, without adding class in li) and do simple animate. my a is inside the ul li tag. how can i do that. pls help me guyssss!!!

what is exactly the effect you want to trigger while hovering over these links?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.