William Duffy

Glasgow Based C# ASP.NET Web Developer

Post archive for ‘jQuery’

Tracking Google Goals With No URL Using jQuery

Google Goals make it extremely easy to track successful interaction with your website by setting a goal based on the serving of a URL to the client. However, what if a goal is a user clicking on a mailto email link, or clicking download to receive a pdf of your brochure? Neither of these resources [...]

Keep element in view while scrolling using jQuery


Warning: file_get_contents(http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&SearchIndex=Books&AWSAccessKeyId=AKIAIURLEAHNL34T2NWA&Operation=ItemSearch&AssociateTag=wduffy-21&ResponseGroup=Medium&Number=3&Keywords=learning%20jquery&Timestamp=2017-10-24T03:46:25.000Z&Signature=qvnWHUrQoLKhe1xA03vTKCegts5UKuYmnRWiTsghqUM%3D) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in D:\sites\w\wduffy.co.uk\www\blog\wp-content\plugins\keralpatel.php on line 74

I’ve just completed an interesting project; an online application form that calculated a quote dynamically using Javascript as the user specified their choices. ===================================================================== UPDATE APRIL 2011 – Due to the overwhelming feedback on this blog post I have created the jScroll plugin which you can download here. You can also fork and contribute to [...]