From 651d8b00801bd6a95437e66d3a3bf1b46ea09ef6 Mon Sep 17 00:00:00 2001 From: Thomas J Bradley Date: Sun, 26 Feb 2012 15:10:56 -0500 Subject: [PATCH] Updated cursor code to be more compatible. --- build/jquery.signaturepad.css | 14 +++++++++++++- build/pen.cur | Bin 0 -> 4286 bytes build/pen.png | Bin 219 -> 0 bytes pen.psd | Bin 30548 -> 26548 bytes 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 build/pen.cur delete mode 100644 build/pen.png diff --git a/build/jquery.signaturepad.css b/build/jquery.signaturepad.css index ccb0ac1..ff5e348 100644 --- a/build/jquery.signaturepad.css +++ b/build/jquery.signaturepad.css @@ -165,7 +165,19 @@ } .current .pad { - cursor: url("pen.png") 8 8, crosshair; + /** + * For cross browser compatibility, this should be an absolute URL + * In IE the cursor is relative to the HTML document + * In all other browsers the cursor is relative to the CSS file + * + * http://www.useragentman.com/blog/2011/12/21/cross-browser-css-cursor-images-in-depth/ + */ + cursor: url("../build/pen.cur"), crosshair; + /** + * IE will ignore this line because of the hotspot position + * Unfortunately we need this twice, because some browsers ignore the hotspot inside the .cur + */ + cursor: url("pen.cur") 16 16, crosshair; } .typed { diff --git a/build/pen.cur b/build/pen.cur new file mode 100644 index 0000000000000000000000000000000000000000..0de84683ba6798b404ec4a5a9b0d28869c03815f GIT binary patch literal 4286 zcmZQzU}9ioP*7lC5CFmz0t^gd3=9k!KnxUOZ~$VUERe(w{{R2aFp5XRU^ESkrh(Bk zF!%5oz-SsE WG7SKgkqG|S|Ns9(9)Ur8G64XA^!%y- literal 0 HcmV?d00001 diff --git a/build/pen.png b/build/pen.png deleted file mode 100644 index 2e2d1e28a99d3323d793a94bd6c53d3f629f45b3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 219 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5XYCT;XLn>}1{rUgjo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