Search the blog

I recently had to trigger a scroll event using jQuery to make a parallax plugin work after some images had loaded and none of the following worked:

$('html, body').tigger('scroll');

It turns out you need to call scroll() and not trigger():

Tim Bennett is a freelance web designer from Leeds. He has a First Class Honours degree in Computing from Leeds Metropolitan University and currently runs his own one-man web design company, Texelate.