jQuery Rotate Image Not On Center

I'm having a bit of an issue trying to rotate an image on a particular point.

I've been using http://jsfiddle.net/YKj5D/ as an example; which works perfectly when wanting to rotate an image from its center point.

However, using the example above, i wanted to rotate the image around the letter G, how could this be achieved?

Current code:

function rotateGearStick()
var rotation = function (){

Where gear-stick is the ID of my image.

I'm attempting to create an rev counter dial.



    padding-left:170px; /* <----- */

Need Your Help

Rectangle overlap with PDFPTable

java pdf itext

I'm creating a program that generates a PDF file using Java and iText.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.