better zoom in/out cursors
Closed this issue · 1 comments
numist commented
WebKit and Gecko both provide their own, using -webkit-zoom-in/out and -moz-zoom-in/out, but you can't set them both in the same css line, so applying them correctly will have to take the form of:
$("#zoom-in").css('cursor', function() {
if (jQuery.browser.mozilla) {
return '-moz-zoom-in';
}
else if (jQuery.browser.webkit) {
return '-webkit-zoom-in';
}
else {
return cursor_zoom_in;
}
});