i have serious problem about my script.
i'm triying to make a point in the pointActions tag and sliden this point according to my mouse movement on the menu div.i wrote a script but it will go only when i hover on the link.
$(function() {
var $el, leftPos, newWidth;
$mainNav2 = $("#point");
$mainNav2.append("<li id='greypoint'></li>");
var $magicLineTwo = $("#greypoint");
$magicLineTwo
.width($("#greypoint").width())
.height($("greypoint").height())
.css("left", $("#current_page_item_two a").position().left)
.data("origLeft", $magicLineTwo.position().left)
.data("origWidth", $magicLineTwo.width())
.data("origColor", $(".menuItem a").attr("rel"));
$("#example-two li ").find("a").hover(function() {
$el = $(this);
leftPos = $el.position().left;
$magicLineTwo.stop().animate({
left: leftPos,
width: newWidth
},1000);
}, function() {
$magicLineTwo.stop().animate({
left: $magicLineTwo.data("origLeft"),
width: $magicLineTwo.data("origWidth")
},2000);
});
$("#current_page_item_two a").mouseenter();
});