Entries tagged ‘JavaScript’
Advice for Budding Web Developers
The following guide came about after I was tasked with transferring my Web Development expertise into two VB developer colleagues. No mean feat in the one month I have left at my current place of work. Ultimately it’s possibly a futile task, but it’s worth a shot.
Web Development is not just collection of related technologies. [...]
An IE7 Bug That Returns MSIE 6.0 User Agent String
IE7, don’t you just love it? What they gave us with one had in terms of CSS actually sort of working they took away with some of the stupidest niggly little bugs ever. Here’s another potentially large one i’m stumbled right into recently.
If your user agent string is more than 260 characters in length then [...]
jQuery ui.tabs, Themeroller and .ui-tabs-nav-item
There currently an inconsistency between the jQuery UI tabs plugin and the CSS generated by Themeroller
The CSS includes rules for “.ui-tabs-nav-item” but these classes are never added to the list items by the plugin. Because they are unnecessary.
Simply changing the rules to “.ui-tabs-nav li” they way they should be brings it all into line again. [...]
jQuery.getScript() does not cache
It occurred to me today that when using jQuery’s handy little .getScript method that each script request is appended by a timestamp appended to the querystring. This is great. A lot of the time this is exactly what you want as it ensures that no browser will ever serve up it’s own cache in preference [...]
Publish / Subscribe With jQuery
With a view to writing a jQuery UI integrated with the offline functionality of Google Gears i’ve been toying with some code to poll for network connection status using jQuery.
The Network Detection Object
The basic premise is very simple. We create an instance of a network detection object which will poll a URL at regular intervals. [...]
Tips for Using JQuery with ASP.NET Ajax
Dave Ward has put together an excellent and extensive post on his experiences integrating jQuery with ASP.NET
There are the usual number of pitfalls you’d expect when integrating [insert widely-used microsoft technology here] with [insert useful open source technology here]
Want to consume a JSON Web Service with jQuery? Sounds simple. That’s kinda the point of JSON [...]
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 [...]
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()
// [...]

