As Meghan said, add return false to the end of your click handler.
Additionally, I would also use stopPropagation and preventDefault. Your click
handler should look something like:
function(e){
e.preventDefault();
e.stopPropagation();
// Your code
return false;
}
-john
On May 2, 2012, at 3:51 PM, Keith Aric Hall wrote:
> I recommend using the uncompressed version ( jquery.pikachoose.full.js) for
> dev and debugging. Then switch to the compressed version for production.
>
> kah
>
> On May 2, 2012, at 3:11 PM, Lorin Rivers wrote:
>
> Geniuses,
>
> I have a WordPress site that uses a plugin that uses jQuery and Pikachoose
> and some other magic to make some slideshow/carousel objects.
>
> On a page like this one: <http://more.andrewyates.com/photography/location/>
> if the page is partially scrolled down, when you click the bottom thumbnails,
> the page will scroll up when the image loads, almost like there's an anchor
> tag url in play. I can't figure out where this is coming from and my JS
> debugging is not very strong.
>
> Any ideas?
> --
> Lorin Rivers
> Mosasaur: Killer Technical Marketing <http://www.mosasaur.com>
> <mailto:[email protected]>
> 512/203.3198 (m)
>
>
> --
> Our Web site: http://www.RefreshAustin.org/
>
> You received this message because you are subscribed to the Google Groups
> "Refresh Austin" group.
>
> [ Posting ]
> To post to this group, send email to [email protected]
> Job-related postings should follow http://tr.im/refreshaustinjobspolicy
> We do not accept job posts from recruiters.
>
> [ Unsubscribe ]
> To unsubscribe from this group, send email to
> [email protected]
>
> [ More Info ]
> For more options, visit this group at
> http://groups.google.com/group/Refresh-Austin
>
> --
> Our Web site: http://www.RefreshAustin.org/
>
> You received this message because you are subscribed to the Google Groups
> "Refresh Austin" group.
>
> [ Posting ]
> To post to this group, send email to [email protected]
> Job-related postings should follow http://tr.im/refreshaustinjobspolicy
> We do not accept job posts from recruiters.
>
> [ Unsubscribe ]
> To unsubscribe from this group, send email to
> [email protected]
>
> [ More Info ]
> For more options, visit this group at
> http://groups.google.com/group/Refresh-Austin
--
Our Web site: http://www.RefreshAustin.org/
You received this message because you are subscribed to the Google Groups
"Refresh Austin" group.
[ Posting ]
To post to this group, send email to [email protected]
Job-related postings should follow http://tr.im/refreshaustinjobspolicy
We do not accept job posts from recruiters.
[ Unsubscribe ]
To unsubscribe from this group, send email to
[email protected]
[ More Info ]
For more options, visit this group at
http://groups.google.com/group/Refresh-Austin