jquery.onScreenKeyboard.js
/**
		 * Fixes the width of the keyboard in browsers which round down part-pixel
		 * values (all except Firefox). Most browsers which do this return CSS
		 * margins in pixels rather than percent, so this is used to determine
		 * whether or not to use this function. Opera does not however, so for now
		 * this function does not work in that browser.
		 */
Fixes the width of the keyboard in browsers which round down part-pixel
values (all except Firefox). Most browsers which do this return CSS
margins in pixels rather than percent, so this is used to determine
whether or not to use this function. Opera does not however, so for now
this function does not work in that browser.
Fixes the width of the keyboard in browsers which round down part - pixel values ( all except Firefox ) . Most browsers which do this return CSS margins in pixels rather than percent so this is used to determine whether or not to use this function . Opera does not however so for now this function does not work in that browser .
function fixWidths() {
			var $key = $(),
				keyboardWidth = $keyboard.width(),
				totalKeysWidth = 0,
				difference;
			if (browserInPercent) {
				$keys.each(function () {
					$key = $(this);
					if (!$key.hasClass('osk-dragger') && !$key.hasClass('osk-space')) {
						totalKeysWidth += $key.width() + Math.floor((parseFloat($key.css('marginRight')) / 100) * keyboardWidth);
						if ($key.hasClass('osk-last-item')) {
							difference = keyboardWidth - totalKeysWidth;
							if (difference > 0) {
								$key.width($key.width() + difference);
							}
							difference = 0;
							totalKeysWidth = 0;
						}
					}
				});
			}
		}
function fixWidths ( ) { var $key = $ ( ) , keyboardWidth = $keyboard . width ( ) , totalKeysWidth = 0 , difference ; if ( browserInPercent ) { $keys . each ( function ( ) { $key = $ ( this ) ; if ( ! $key . hasClass ( 'osk-dragger' ) && ! $key . hasClass ( 'osk-space' ) ) { totalKeysWidth += $key . width ( ) + Math . floor ( ( parseFloat ( $key . css ( 'marginRight' ) ) / 100 ) * keyboardWidth ) ; if ( $key . hasClass ( 'osk-last-item' ) ) { difference = keyboardWidth - totalKeysWidth ; if ( difference > 0 ) { $key . width ( $key . width ( ) + difference ) ; } difference = 0 ; totalKeysWidth = 0 ; } } } ) ; } }
Fixes the width of the keyboard in browsers which round down part-pixel
 values (all except Firefox).
Fixes the width of the keyboard in browsers which round down part - pixel values ( all except Firefox ) .