Without seeing any code, my guess is you're missing either

return false;

-or-

event.preventDefault();

at the end of the click handler/callback. Either of these will keep the link
href (which I'm guessing is a hash?) from being followed.

- Richard

On Tue, Jun 24, 2008 at 3:05 PM, Handsome Homeless <[EMAIL PROTECTED]>
wrote:

>
> I am having a problem with a fadein()/fadeout() animation that is tied
> to an anchor. The expanding div is set in the middle of the page, and
> when the user clicks the anchor tag (which is placed at the top of the
> expanding div) the animation occurs, but the page scrolls back up to
> the top of the page. This makes the animation pointless since it isn't
> seen. Anybody have any ideas for a solution.
>
> PS - I'm only using the core library.
>

Reply via email to