Archive for the ‘Web’ Category
jQuery Google Analytics Tracking API Integration (ga.js)
Jason Huck’s gaTracker jQuery plugin allows for unobtrusive integration of the Google Analytics tracker into a page as well as attaching tracking events to each external link, mailto and download. It works seamlessly but it does however currently use the old ‘urchin.js’ which has been superceeded by Google’s new Tracking API (ga.js)
ga.js has all the [...]
jQuery Image Text Replacement: Work In Progress
The JavaScript text replacement on this site is a jQuery Plugin i’ve written as an adaptation of the techniques detailed in Dynamic Text Replacement by Stewart Rosenberger in A List Apart Issue 183. The current source of the plugin can be found here. I’m calling it jitr, and you can’t stop me.
Currently it’s a work [...]
How to Stop Wordpress from Pinging Itself
WordPress by default sends pings to your own site every time you link to other posts on your own blog. This appears as a pingback on the post you have linked to, in the comments section. Some people might see this as a feature, allowing you to leave a trail of related posts. I find [...]
Thickbox 3.1 IE7 Positioning Bug
As previously mentioned in this post Thickbox 3.1 is currently broken in many revisions of Internet Explorer 7. Specifically, those revisions who return the substring “MSIE 6.0″ in the user-agent string.
Update: July 2008
This patch fixes a problem caused when certain installations of IE7 are incorrectly identified as IE6 causing the thickbox window to be positioned [...]
jQuery hide/show Safari Bug
I’ve noticed problems in Safari with the hide/show methods of jQuery on and off for quite a while now. Basically they don’t work. Correct me if i’m wrong. This behaviour also extends to the fadeIn/Out methods.
The problem can be circumvented to applying css rules directly to the element(s) in question.
// This will fail in Safari
$(element).hide()
// [...]
Safari Text Replacement Bug
Credit goes to my homeslice Rick Nunn this afternoon for discovering a fairly major bug in the new JavaScript text replacement I’ve recently developed and implemented on this site.
Of course, had I bothered to test it at all using Safari I might have noticed it myself. But that’s not the point. So, thanks Rickzor.
So, the [...]
jQuery.browser.version Doesn’t Recognise IE7 Anymore
Recently i’ve noticed that jQuery.browser.version seems to be returning 6 for most copies of IE7. This seems to be due to the fact that the user-agent string now contains the substring “MSIE 6.0″. So, thanks for that Microsoft.
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; [...]
jQuery “Access Keys” Plugin Beta 1
Today I completed the first Beta of an Access Keys jQuery Plugin. The basic premise is that it allows you to have access keys automatically assigned to a selection of anchors. Each corresponding anchor will be assigned an access key corresponding to the first available letter not assigned to another anchor of it’s innerHTML. The [...]

