The first and easiest thing I can think of is add a return false; to
the end of the anchor's click javascript.
$('#anchor').click(function(){
$('#div').fadeIn();
return false;
});
On Jun 24, 2:05 pm, Handsome Homeless <[EMAIL PROTECTED]> wrote:
> I am having a problem with a fadein()/fade
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 Home
2 matches
Mail list logo