I did have some inconsistencies after reloading a few times.

 

The second time. all was still well.

Third time.got a "page could not be found error" (could be on my end)

Fourth time.some links I clicked on would take me to the top of a new page

                and sometimes the comments section would open.

 

Got some other stuff running on the page that might be interfering?

 

Rick

 

 

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Matthews
Sent: Thursday, August 30, 2007 11:45 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: What the heck??? Click event intermittently...

 

Try reloading the page a few times, then click on the links again. Like I
said, it works intermittently...

 

  _____  

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Faircloth
Sent: Thursday, August 30, 2007 10:28 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: What the heck??? Click event intermittently...

Worked on every comment link I clicked on the homepage.

 

Rick

 

 

 

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Matthews
Sent: Thursday, August 30, 2007 10:48 AM
To: [jQuery]
Subject: [jQuery] What the heck??? Click event intermittently...

 

On my blog users click the link at the bottom of each section to expand the
comments section for that post:

 

http://www.andyandjaime.com/

 

The problem is that it's working intemittently in IE7 (haven't tested 6
yet). I'll load the page, click the link and it'll work. Next time I load
the page, it WON'T work. It appears to be consistent in FF2...it works every
time. In IE7, sometimes the section expands as desired, sometimes the page
goes to the link in the href tag. It's like it completely ignores my jQuery
click handler.

 

Here's the relevant HTML

<div class="openComments">
    <a href="Teeth!">Comments :4: - View comments</a>
</div>

(I know the link is bogus, but I'm just testing). 

 

Here's the jQuery code:

$('.openComments a').click(function(){
 
$(this).parents('.openComments').next('.comments').slideDown().parent('.comm
entShell').ScrollTo(800);
    return false;
});

 

Please help!

 

 

____________________________________

 

Andy Matthews
Senior ColdFusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249

[EMAIL PROTECTED]
www.dealerskins.com <http://www.dealerskins.com/> 

 

<<image001.png>>

Reply via email to