Posts tagged as:

jquery

On 21st of June, the jQuery drag event plugin with iPhone (iOS) touch support was released. It has helped to add touch-based drag functionality to many existing web applications using the jQuery drag plugin. A minor update is released for this plugin that fixes the possibility of lack of touch-drag functionality on certain touch devices.

Continue reading

{ 0 comments }

For quite a while this week, we were trying to work on dragging JavaScript elements on iPad and other devices with touch input. For our case, we already had jQuery included in our codes, hence we were tempted to use the touchmove event and depend on native jQuery to do the rest.

Things turned out to be a bit trickier. After implementation, it struck us that with jQuery bound events, event.pageX and other related mouse coordinate attributes would not work. Add to that, we were using the jQuery.event.drag plugin by ThreeDubsmedia to seal of the dirty job of drag-related coding.

Armed with the above two problems, we started to do what we thought would be the fastest solution – modify the jQuery.event.drag plugin for a graceful upscale!

Continue reading

{ 0 comments }

Making FusionCharts Occupy 100% Width and Height of Container

FusionCharts

Under certain circumstances, one may want FusionCharts to occupy 100% (or a certain percentage) width and height of the container element. This can be achieved using two methods using the jQuery Plugin for FusionCharts.

March 30, 2010 6 comments

Convert HTML Tables to Animated Charts

FusionCharts

Most of us already have data on our web-pages in form of tables. With the release of the jQuery Plugin for FusionCharts, giving life to tabular data couldn’t have been easier. With just one line of code, one can convert HTML tables into animated FusionCharts.

March 23, 2010 2 comments

jQuery Plugin for FusionCharts 1.0 Beta Released

FusionCharts

Yesterday, jQuery Plugin for FusionCharts Free was released as a beta release candidate. With it’s release, FusionCharts has bridged certain parts of the gap that lay between FusionCharts and popular JavaScript libraries.

March 21, 2010 3 comments

Transpose An Array In JavaScript and jQuery

Technical Publications

This JavaScript code adds the functionality to transpose a two-dimensional JavaScript array (array within array). Transposing, in simple terms, is to interchange rows and columns of a matrix (two-dimensional array).

It also extends jQuery to allow transposing of arrays using common jQuery syntax.

February 24, 2010 1 comment

Executing jQuery Within FusionCharts Link Attribute

FusionCharts

FusionCharts Flash charting suite has an amazing integration with JavaScript. It allows charts to be created using JavaScript, raises appropriate JavaScript events, allows charts to be updated using its simple JavaScript API and a lot more. There is a blog post on FusionCharts blog, describing the same.

February 14, 2010 3 comments

Analytics jQuery Plugin 2.0 Supports Full Tracking API

Project Updates
Google Analytics jQuery Plugin

Updated Google Analytics jQuery plugin to version 2.0 and it now is the only jQuery plugin that supports full tracking API of Google. Apart from enhanced loading of ga.js file, there is a lot more that users can now do with this plugin.

August 24, 2009 0 comments

Load jQuery Plugins Only When Required (Runtime)

Technical Publications

I have often observed that websites that are template-driven (like blogs, cms, etc), tend to load all the required scripts and css in every page. One such example would be WordPress blogs with plugins for various types of content processing (overlay, tooltip, animation, etc.) Every page of such a WordPress driven site loads the relevant plugin stylesheets and javascripts, even though it might not be required for that particular page.

Here is a jQuery code I wrote in order to load prettyPhoto jQuery plugin (prettyPhoto homepage) only when required. This process can also be applied to other plugins by analyzing the plugin triggers from within the rest of the page content.

July 16, 2009 2 comments